|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XPath weirdness!!
<xsl:for-each select="//Point">
<POINT>
<xsl:attribute name="x">
<xsl:value-of select="//@x"/> <!--
THIS GIVES ME THE "X" values -->
No, it doesnt. It gives you the first x attribute in the document
ie the same value for every Point.
<xsl:value-of select="/@y"/> <!-- HER
That would give you the y attribute of the rot node, which can never
exist.
<xsl:value-of select="/@y"/> <!-- HERE IF I USE
"//@y" I GET THE "
&x#3c" ERROR -->
Then your parser is broken. Reprort a bug to teh maker, not here.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
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
|

Cart








