|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] anyAttribute
Hello: Per http://www.w3.org/2001/XMLSchema.xsd, it appears that <anyAttribute> is valid for most parts of the schema. I've created a schema for an application of XML; I'd like to refer to my own special-use attribute directly within my schema, rather than define the attribute to be a child of an element defined by the schema. That is, in the .xsd <element name="E" classifier="blah" ...> rather than <element name="E" ...> <complexType> ... <attribute name="classifier" ...> Doing so allows the attribute to appear in the .xsd where it makes more sense for the application, rather than in an instance document. My validator tool is complaining; I've tried introducing this attribute at various locations in the schema, including <complexType> and <element>. Have I mis-interpreted the schema schema? Thanks. Brad
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
Purchase Stylus Studio Online Today!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||






