Subject: [xsl] Dynamic XPath expression (I know it doesnt work in XSLT1.0) From: Matt Dittbenner <mbditt@xxxxxxxxxxxxxxxxx> Date: Thu, 26 Aug 2004 12:38:47 -0500 |
=================================== doc.xml <tag2>Data I want...</tag2>
template.xhtml <p> <getContent path="tag2/text()"/> </p>
stylesheet.xsl <xsl:variable name="path" select="/p/getContent/@path" /> <xsl:value-of select="document('doc.xml')/$path"/> ===================================
Thanks in advance, Matt Dittbenner
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] How to calculate rowspan?, anton | Thread | RE: [xsl] Dynamic XPath expression , Michael Kay |
RE: [xsl] How to calculate rowspan?, anton | Date | Re: [xsl] Urgent help required Node, Josh Canfield |
Month |