[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSLT Query
At 99/07/15 15:25 -0700, Mallikarjuna Sangappa wrote: >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? According to 4.3 of XSL-19990421 and 5.3 of XPath-19990709: A defaulted attribute is treated the same as a specified attribute. Therefore, you will see the attribute as if its value had been specified in the instance. .............. Ken -- G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995) Website: XSL/XML/DSSSL/SGML services, training, libraries, products. Publications: Introduction to XSLT (3rd Edition) ISBN 1-894049-00-4 Next instructor-led training: MS'99 1999-08-16 MT'99 1999-12-05/06 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|