|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Examples of XSLT/XPath
I said:
<xsl:element name="grandTotal" select="sum(/doc/num)"/>
This was rather dumb of me. I can't have a select attribute on an
xsl:element.
I meant to say:
<xsl:element name="grandTotal">
<xsl:value-of select="sum(/doc/num)"/>
</xsl:element>
Although the other example,
<grandTotal><xsl:value-of select="sum(/doc/num)"/></grandTotal>
is probably the better of the two.
Sorry about that.
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








