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

Element Declaration Problem

Subject: Element Declaration Problem
From: philip.mathew@xxxxxxxxx
Date: Thu, 20 Nov 2003 14:07:03 +0530
philip mathew
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






*****************************************************************
The addressee's email address has changed to
firstname.lastname@ sgcib.com. You may want to update your
personal address book. Please see http://www.sgcib.com for more
information.

This message and any attachments (the "message") are confidential
and intended solely for the addressee(s). Any unauthorised use or
dissemination is prohibited.E-mails are susceptible to alteration.
Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates
shall be liable for the message if altered, changed or falsified.
*****************************************************************


 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.