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

replacing an output block

Subject: replacing an output block
From: Rahil <qamar_rahil@xxxxxxxxxxx>
Date: Mon, 27 Jun 2005 11:22:45 +0100
replacing html output
Hi

I want to replace a block of an HTML TABLE output in case better results are obtained later. So I have the result in 'first.html' of some processing in 'first.xsl'.

first.html -- output

<HTML><BODY>
   <TABLE>
         <TR>
               <TD>Want to replace this block with new output</TD>
               <TD>Some other results from first.xsl</TD>
          </TR>
   </TABLE>
</BODY></HTML>

The block shown above has been copied as such in second.xsl using <xsl:copy> and <xsl:copy-of>.

However as a result of processin some other block a better match is obtained for the TR/TD[1] above and I would like to replace this new finding with the old one. Given that I can easily locate the position where this TR/TD[1] occurs, how do I overwrite the earlier output ?

Would appreciate any help or suggestions.

Thanks
Rahil

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.