[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Getting the text node

Subject: RE: Getting the text node
From: JBryant@xxxxxxxxx
Date: Thu, 13 Oct 2005 15:56:34 -0500
xml bold node text change
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.