Subject: RE: [xsl] Getting the text node From: JBryant@xxxxxxxxx Date: Thu, 13 Oct 2005 15:56:34 -0500 |
One way to do that is to write templates such as these: <xsl:template match="b"> <bold><xsl:apply-templates/></bold> </xsl:template> <xsl:template match="it"> <ital><xsl:apply-templates/></ital> </xsl:template> I've followed the rest of this thread only loosly, so you may have to adapt this approach to fit the other things you are already doing in the b and it templates. Jay Bryant Bryant Communication Services (presently consulting at Synergistic Solution Technologies) aaron apigo <aaronjose_apigo2001@xxxxxxxxx> 10/13/2005 03:45 PM Please respond to xsl-list@xxxxxxxxxxxxxxxxxxxxxx To xsl-list@xxxxxxxxxxxxxxxxxxxxxx cc Subject RE: [xsl] Getting the text node hi, >(b) you want to copy elements (such as the bold element) as well as text nodes, and what if i want to change the nodes <b>text here</b> and <it>ital</it> to <bold>text here</bold> and <ital>ital</ital>. regards, aaron __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Getting the text node, aaron apigo | Thread | [xsl] identity transformation with , Charles Ohana |
RE: [xsl] Getting the text node, aaron apigo | Date | Re: [xsl] Trying to find out which , David Carlisle |
Month |