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

XSLT Query

Subject: XSLT Query
From: "Mallikarjuna Sangappa" <malliks@xxxxxxxxxxx>
Date: Thu, 15 Jul 1999 12:25:46 PDT
xslt query
Hi,

I'm using XT for converting XML Document to flat file. I have a EMPTY element with FIXED attribute in the DTD and in the XML Document, the element is used without the attribute being defined. So in the XSLT file, if I access the attribute value, should I get the fixed value or blank value?

In XML DTD:

<!ELEMENT FILE EMPTY>
<!ATTLIST FILE FILE_VERSION CDATA #FIXED "1.0">

In XML Document :

<FILE></FILE>

In XSLT stylesheet :

<xsl:value-of select="FILE/@FILE_VERSION"/>

Thanks in advance.

CU,

Malliks


______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com


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.