|
Subject: Re: [xsl] Identity Transform xml for variable From: Karl Stubsjoen <kstubs@xxxxxxxxx> Date: Fri, 1 Apr 2005 15:57:41 -0700 |
So, in XSLT 2.0 do you get a usable node-set or a result tree fragment?
On Apr 1, 2005 2:05 PM, Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> wrote:
> Karl,
>
> At 03:12 PM 4/1/2005, you wrote:
> >I'm interested in doing an identity transform on an external XML
> >source when I load up a variable with it. The idea is, simplify the
> >XML for later use.
>
> A good idea -- for XSLT 2.0.
>
> >However, not too useful if I am back to xxxx:node-set() on my variable.
> >Is this going to be the case? Is this always going to be the case if
> >you don't use the select argument off of the variable decleration?
>
> Yes it is.
>
> XSLT 1.0 was deliberately designed like this, for reasons that were (it was
> eventually decided) not as compelling as the reasons people eventually
> demonstrated for wanting to process result trees ("temporary trees") in a
> single stylesheet run. That's why it's changing, and why you nevertheless
> have to use xxx:node-set() if you absolutely need the functionality in XSLT
> 1.0.
>
> 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] Identity Transform xml fo, Wendell Piez | Thread | Re: [xsl] Identity Transform xml fo, David Carlisle |
| RE: [xsl] Combining two node Sets i, Williamson, Chris | Date | Re: [xsl] Identity Transform xml fo, David Carlisle |
| Month |