Click here to Skip to main content
15,898,371 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have following xsd -



<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

<xs:attribute name="code" type="xs:string" value="Hello"/>

<xs:element name="note">
<xs:complexType>
<xs:sequence>
<xs:element name="to" type="xs:string"/>
<xs:element name="from" type="xs:string"/>
<xs:element name="heading" type="xs:string"/>
<xs:element name="body" type="xs:string"/>
</xs:sequence>
<xs:attribute ref="code"/>
</xs:complexType>
</xs:element>

</xs:schema>


I want to know if character with BIG and STRIKETHROUGH, i.e. Value attribute is supported by msxml?
(Also i cant see Value in syntax of attribute in W3C.)

Thanks in advance.
Posted
Updated 11-Nov-13 4:28am
v2

1 solution

By W3 standard, the value of the attribute targeted by the attribute declaration of the schema, should be defined as default or fixed, whichever is appropriate, not as "value". Please see:
http://www.w3.org/TR/xmlschema11-1/#cAttribute_Declarations[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900