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

Re: searching for occurrences of unique string-value a

Subject: Re: searching for occurrences of unique string-value and replacing with string value of another node
From: Julie <julie.newcome@xxxxxxxxx>
Date: Wed, 11 Jun 2008 09:59:34 -0400
Re:  searching for occurrences of unique string-value a
Thank you! I have been wracking my brain trying to figure out why this
wasn't working in my full stylesheet. That would be user error :) I
had non-matching test data in the CuHistoryGuid element. No wonder it
didn't find anything! I have one question, though. I had been trying
to work out how the keys functioned, but I didn't think of adding this
match:

<xsl:template match="@*|node()">
                      <xsl:apply-templates select="@*|node()"/>
  </xsl:template>

Now I want to be sure I understand that correctly. I understand this
much... that match is looking for an attribute (@) and selecting the
contents (*), but is the (node() ) section looking at the value as a
text node? Doesn't xslt already understand that as a text node?

Thanks!

Julie

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.