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

acccessing and changing result tree nodes

Subject: acccessing and changing result tree nodes
From: alan m <highmarkz@xxxxxxxxx>
Date: Mon, 8 Nov 2004 16:49:44 -0800 (PST)
xsl access result tree
How do I access result tree nodes and change the value
based upon some conditions?
Normally all match or test attributes point to source
tree.
 
I have a situation where in the same xsl file, an
attribute is being generated somewhere deep in the
result tree. This attribute is also being copied from
source tree to result in some other places in the
tree. After all this processing is complete, I now
must recheck the value of this attribute in the result
tree (no matter where in the tree it occurs) and  if
it is emtpy, make it equal to the value of another
attribute that is also present in the same element and
may have itself be generated anew or copied from
source to result tree.
 
I know one way is to split the process into 2 stages
and create a second xsl file but I am looking for
above solution for performance reasones.
 
Thanks,
Alan

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
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.