This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Value-of, copy-of


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@skew.org> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]