xsl-list
[Top] [All Lists]

Re: taking a literal or a attribute value

2003-05-27 08:16:26
At 04:55 PM 5/26/2003, David wrote:
<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.

Cheers,
Wendell


___&&__&_&___&_&__&&&__&_&__&__&&____&&_&___&__&_&&_____&__&__&&_____&_&&_
    "Thus I make my own use of the telegraph, without consulting
     the directors, like the sparrows, which I perceive use it
     extensively for a perch." -- Thoreau


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>