XML: Using wildcard with required attribute of type xs:QName
My XML schema has the rule:
<xs:attribute name="A"开发者_如何学JAVA type="xs:QName" use="required"/>
I want to be able to provide a wildcard to my XML rule file for this tag e.g.
<Element A="<wildcard_character>" Operation="doStuff">
Normally the value of the attribute is a regular qualified string name but I'd like to be able to provide a wildcard character as well in some cases. Is there such a character for the type xs:QName? I've tried * with no luck. Alternatively, is there a type which would allow wildcards?
No luck with google so I'd be grateful for any suggestions.
A QName is a "qualified name". "*" is not a name of any kind. Sorry.
Perhaps you can use _ (underscore), as in operator like in sql ?
精彩评论