XSLT Query

Subject: XSLT Query
From: "Mallikarjuna Sangappa" <malliks@xxxxxxxxxxx>
Date: Thu, 15 Jul 1999 12:25:46 PDT
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