|
Subject: Re: New XT release From: Eric van der Vlist <vdv@xxxxxxxxxxxx> Date: Fri, 05 Nov 1999 14:09:05 +0100 |
You're right, I should have read the WD more carefully :=(
Thanks for the clarification.
Eric
Kay Michael wrote:
>
> > Using the August release of XT, I have noticed that these restrictions
> > do not seem to apply when you use the document XPath function...
> >
> > If you assign the content of a document to a variable :
> > <xsl:variable name="tarifdef" select="document('tarif.xml')/tarif"/>
> >
> > you can then use it without the restrictions on the tree fragments...
>
> In this example tarifdef is not a result tree fragment, it is a nodeset. It
> would be a result tree fragment if you wrote:
>
> <xsl:variable name="tarifdef">
> <xsl:copy-of select="document('tarif.xml')/tarif"/>
> </xsl:variable>
>
> Result tree fragments only ever result from using xsl:variable with no
> select expression.
>
> Mike Kay
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
--
------------------------------------------------------------------------
Eric van der Vlist Dyomedea
http://www.dyomedea.com http://www.ducotede.com
------------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: New XT release, Kay Michael | Thread | Dependency Sorting, first of kind, Paul Prescod |
| Calling a template from within an t, Tony Fabian | Date | RE: Stylesheet to view XML code in , Dylan Walsh |
| Month |