Re: taking a literal or a attribute value
<foo width="100%"> <xsl:copy-of select="@width"/>
Now that *is* nice....
(I thought someone had something nice for that ... still would like to see a nice XPath ... even an XPath 2.)
The original poster should keep in mind the usual caveats against @width having only whitespace, etc.
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