|
Subject: [xsl] How to pass an XPath as a param and evaluate it? From: Richard Fozzard <Richard.Fozzard@xxxxxxxx> Date: Tue, 28 Jun 2011 17:13:16 -0600 |
<library>
<book>
<title>Bob</title>
</book>
</library><xsl:output method="xml" indent="yes"/> <xsl:param name="xpath"/> <!-- passed on command line as a param -->
<xsl:template match="/">
<xsl:copy-of select="$xpath"/>
</xsl:template><book>
<title>Bob</title>
</book>Thanks so much for any help! --Rich
Richard Fozzard, Computer Scientist Geospatial Metadata at NGDC: http://www.ngdc.noaa.gov/metadata
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Grouping data at multiple, Wendell Piez | Thread | Re: [xsl] How to pass an XPath as a, Hank Ratzesberger |
| Re: [xsl] Grouping data at multiple, Wendell Piez | Date | Re: [xsl] Grouping data at multiple, Senthilukvelaan |
| Month |