Subject: Re: [xsl] XPath for variable search anywhere From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Thu, 22 Jan 2004 08:43:45 -0500 |
I have a variable in my XSL (call it myVar) and I wish to search the entire node hierarchy for nodes which share it's name.
<xsl:copy-of select="//$myVar">
causes my processor (4suite) to generate an XsltException. Does anybody know the syntax I need to look at all levels of the hierarchy for nodes that have the name (or attribute) "myVar"?
-- Public courses: sign up for one or both soon to reserve your seat! Each week: Monday-Wednesday: XSLT/XPath; Thursday-Friday: XSL-FO Washington, DC: 2004-03-15 San Francisco, CA: 2004-03-22 Hong Kong, China: 2004-05-17 Bremen, Germany: 2004-05-24 World-wide on-site corporate, government & user group XML training
G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XPath for variable search any, Andrew Maclean | Thread | RE: [xsl] XPath for variable search, Jarno . Elovirta |
RE: RE: [xsl] remove <b> and <br>+m, G. Ken Holman | Date | [xsl] Parsing date, Mark Williams |
Month |