[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Element Declaration Problem

Subject: Re: Element Declaration Problem
From: "Ragulf Pickaxe" <jawxml@xxxxxxxxxxx>
Date: Thu, 20 Nov 2003 16:39:23 +0000
element declaration
Hi Philip,

Not long ago, I was told to seek answers of that kind at the following mailing list:
xmlschema-dev@xxxxxx


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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.