Re: [xsl] Value-of, copy-of

Subject: Re: [xsl] Value-of, copy-of
From: Mike Ferrando <mikeferrando@xxxxxxxxx>
Date: Wed, 27 Feb 2002 13:00:17 -0800 (PST)
Mike et al.,
thanks for your help.

I would like to exclude some elements from my copy-of output. I am
trying to use a template with xsl:copy but I am still not finding the
correct syntax for not().

<xsl:copy-of select="C1001/node()[not(child::C1007) and
not(child::C1010)]"/>

any suggestions?

Mike F.

--- Mike Brown <mike@xxxxxxxx> wrote:
> Mike Ferrando wrote:
> > I am having the same problem. I want to use the copy-of to get
> all my
> > coding from a node, but I don't want the node in my output.
> > [...]
> > <TR><TD><xsl:copy-of select="./C1001"/></TD></TR>
> 
> <TR><TD><xsl:copy-of select="C1001/node()"/></TD></TR>
> 
>    - Mike
>
____________________________________________________________________________
>   mike j. brown, fourthought.com  |  xml/xslt: http://skew.org/xml/
>   denver/boulder, colorado, usa   |  personal:
> http://hyperreal.org/~mike/
> 
>  XSL-List info and archive: 
> http://www.mulberrytech.com/xsl/xsl-list
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread