| Subject: Re: [xsl] RE: From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 29 Jul 2003 16:16:02 -0400 | 
> <xsl:variable name="myxml" select="document('somefile.xml')"/> > > you would then perform transformations on it by refering to the variable > > e.g. > <xsl:value select="$myxml//test"/> > > would output the value of a <test/> element.
I thought this thing was not working with XSL 1.0 since the variable would only contain text, and not a node-set.
<xsl:variable name="myxml">
  <xsl:copy-of select="document('somefile.xml')"/>
</xsl:variable>> btw you will have to understand about RTF and using the common node-set extension function if you want to get any further doing stuff with this. >
Could you please elaborate a little bit more on that point. Just reading the EXSLT doc was not enough for me to understand the use of the new node-set function.
<xsl:variable name="myRTF">
  <xsl:apply-templates select="document('somefile.xml')"/>
</xsl:variable>Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] RE:, Simon Bretin | Thread | [xsl] RE:, Rod Humphris - FLPTN | 
| RE: [xsl] Can I suppress entity sub, Wendell Piez | Date | [xsl] passing external parameter to, Adriaan Woerléé | 
| Month |