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

msxml4 data islands and "xsl:copy-of"

Subject: msxml4 data islands and "xsl:copy-of"
From: "Hardy Merrill" <HMerrill@xxxxxxxxxxxxxxxx>
Date: Tue, 03 May 2005 10:40:45 -0400
data island parameter
Because of the need for some javascript code, I need a data island.  In
my style sheet, if an xml document(seminar_info) is passed in as a
parameter, I can do this with that parameter to get that document as a
data island:

    <xml id="dsoSeminar"><xsl:copy-of
select="msxsl:node-set($seminar_info)" /></xml>
   </body>
   </html>

   </xsl:template>
   </xsl:stylesheet>

but my question is, if I want to make a data island out of the main
document that is being rendered by the style sheet, how do I do that? 
I've tried these:

   <xml id="dsoSeminar"><xsl:copy-of select="document()" /></xml>
   <xml id="dsoSeminar"><xsl:copy-of select="document('')" /></xml>
   <xml id="dsoSeminar"><xsl:copy-of select="." /></xml>

and none of them work.

TIA.

Hardy Merrill

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.