Jump to content

Search the Community

Showing results for tags 'complex type'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 1 result

  1. Hi there, last time I tried to use xpath unique simple type elements. In this case it works fine. <?xml version="1.0" encoding="UTF-8"?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:complexType name="root"> <xs:choice minOccurs="1" maxOccurs="3"> <xs:element name="node1" type="xs:string"/> <xs:element name="node2" type="xs:string"/> <xs:element name="node3" type="xs:string"/> </xs:choice></xs:complexType><xs:element name="root" type="root"> <xs:unique name="choiceID"> <xs:selector xpath="."/> <xs:field xpath="node1"/> <xs:field xpath="node2"/> <xs:field xpath="node2"/> </xs:unique></xs:element></xs:schema> But is it also possible to use this functionality with elements which have a complex type?
×
×
  • Create New...