Subject: Re: [xsl] Using copy-of to grab child nodes From: David Carlisle <davidc@xxxxxxxxx> Date: Mon, 20 Nov 2006 22:02:12 GMT |
<xsl:copy-of select="text[child::*]" /> that selects the text element, if it has an element child. you want the element children of text so that's <xsl:copy-of select="text/child::*" /> or more simply <xsl:copy-of select="text/*" /> if <text> may have text as well as element children you may want to replace * by node() in either of the above forms. David
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Using copy-of to grab child n, Austin, Darrel | Thread | RE: [xsl] Using copy-of to grab chi, Brian Martinez |
Re: [xsl] sort by xsl:if and then s, David Carlisle | Date | [xsl] naive identity transform ques, Jon Crump |
Month |