|
Subject: How can I declare node sets explicitly? From: "Matthias O. Will" <m.o.will@xxxxxx> Date: Fri, 13 Oct 2000 16:13:26 +0200 |
Kay Michael wrote:
> The select attribute of xsl:apply-templates must be a node-set, not a string.
>
I would like to specify a node set explicity and declare it in a
variable. For the moment, I am doing something like,
<xsl:apply-templates="(field1)|(field2)|(field3)"/>
but in order to provide easier extensibility, I would like to declare
this elsewhere. However, as you pointed out,
<xsl:variable name="local_field">
(field1)|(field2)|field3)
</xsl:variable>
won't work because then $local_field is a string and not a node set.
Do you have any suggestion for me?
Thanks for your help and best regards,
Matthias
--
Matthias O. Will (m.o.will@xxxxxx) <><
Institute of Computer Science, University of Freiburg
Georges-Koehler-Allee, Bldg. 51, D-79110 Freiburg, Germany
Phone: +49-761-203-8170 Fax: +49-761-203-8162
URL: http://ad.informatik.uni-freiburg.de/~will
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: NEWBY QUESTION : multiple html , sara . mitchell | Thread | Re: How can I declare node sets exp, Eric van der Vlist |
| NEWBY QUESTION : multiple html outp, Benjamin DEXHEIMER | Date | Stripping all whitespace and carria, Matthias O. Will |
| Month |