|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Getting the text node
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: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








