Hi Philip,
Not long ago, I was told to seek answers of that kind at the following
mailing list:
xmlschema-dev(_at_)w3(_dot_)org
Anyhow, I believe the answer to be that you are missing a type attribute on
your element, for example:
<xs:element name="Vehicle" type="xs:string">
If you want a string.
(I am a newbie myself, so seek help at the above mailing list).
Sincerely,
Ragulf Pickaxe :)
Hi,
For the element given below
<Vehicle type="car">ToyotaCamry</Vehicle>
My Xsl validation fails saying Vehicle is supposed to be a empty tag
my schema is
<xs:element name="Vehicle">
<xs:complexType>
<xs:attribute name="type" type="xs:normalizedString"
use="
required"/>
</xs:complexType>
</xs:element>
What should I change in the schema so that the XSLT works ?
thanks,
Philip
_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list