Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   XML (https://www.delphipraxis.net/46-xml/)
-   -   Delphi Beschränkung auf anyType/anySimpleType (https://www.delphipraxis.net/47786-beschraenkung-auf-anytype-anysimpletype.html)

PhilCore 16. Jun 2005 10:56


Beschränkung auf anyType/anySimpleType
 
Kann mir einer sagen, was es für einen Sinn macht, eine Restriktion auf anyType oder anySimpleType zu machen?

hier das besagte Beispiel:

XML-Code:
<complexType name="SourceType">
   <complexContent>
      <restriction base="anyType">
         <attribute name="supplier" type="string"/>
         <attribute name="application" type="string"/>
      </restriction>
   </complexContent>
</complexType>

marabu 16. Jun 2005 11:24

Re: Beschränkung auf anyType/anySimpleType
 
So werden die beiden Attribute ins Spiel gebracht - ohne sich auf einen bestimmten Element-Typ festzulegen.

Grüße vom marabu


Alle Zeitangaben in WEZ +1. Es ist jetzt 11:33 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz