Subject: Re: Parameter problem
From: Peter Davis <pdavis152@xxxxxxxxx>
Date: Wed, 13 Mar 2002 12:26:44 -0800
|
On Wednesday 13 March 2002 11:57, Dion Houston wrote:
> Try using <xsl:copy-of select="//INTROMSG/*|//INTROMSG/text()"/>
If you are just trying to copy all of the children of INTROMSG, it would be
simpler to use:
<xsl:copy-of select="//INTROMSG/node()"/>
Using node() matches both "*" and "text()".
Another suggestion: it sounds like there is only one INTROMSG in the
document. In this case, it would be better to tell the processor to only
match the first one to prevent it from searching the entire document for all
of them (this can get hefty if it is a large document). So you should maybe
try also something like:
<xsl:copy-of select="//INTROMSG[1]/node()"/>
Or,
<xsl:copy-of select="/full/path/to/INTROMSG/node()"/>
--
Peter Davis
Marriage is the process of finding out what kind of man your wife would
have preferred.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Re: Parameter problem, (continued)
- Hellstern, Manny - Wed, 13 Mar 2002 14:35:44 -0500 (EST)
- Mike Brown - Wed, 13 Mar 2002 14:55:46 -0500 (EST)
- Dion Houston - Wed, 13 Mar 2002 14:53:29 -0500 (EST)
- Peter Davis - Wed, 13 Mar 2002 15:23:20 -0500 (EST) <=
- Hellstern, Manny - Wed, 13 Mar 2002 15:03:22 -0500 (EST)
- Hellstern, Manny - Wed, 13 Mar 2002 15:39:24 -0500 (EST)
- David N Bertoni/Cambridge/IBM - Wed, 13 Mar 2002 18:29:18 -0500 (EST)
- David N Bertoni/Cambridge/IBM - Wed, 13 Mar 2002 18:49:45 -0500 (EST)
|
|