Mar 9, 2007 #1 vladibo Programmer Sep 14, 2003 161 CA How can I define in XSLT schema that one attribute is required and another is optional? There is no "required" or "minOccurs" parameter here Code: <xs:attribute name="Name" type="xs:string" />
How can I define in XSLT schema that one attribute is required and another is optional? There is no "required" or "minOccurs" parameter here Code: <xs:attribute name="Name" type="xs:string" />
Mar 12, 2007 #2 ddiamond Programmer Apr 22, 2005 918 US By default, attributes are optional. If you want to make one required, use the following syntax: Code: <xs:attribute name="Name" type="xs:string" use="required" /> Upvote 0 Downvote
By default, attributes are optional. If you want to make one required, use the following syntax: Code: <xs:attribute name="Name" type="xs:string" use="required" />