Re: [xsl] XSLT result tree fragment, with XSLT 3.0 and xsl:variable

Subject: Re: [xsl] XSLT result tree fragment, with XSLT 3.0 and xsl:variable
From: "Mukul Gandhi mukulg@xxxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 10 Apr 2023 12:44:28 -0000
Hi Ken,

On Mon, Apr 10, 2023 at 6:02b/PM G. Ken Holman g.ken.holman@xxxxxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> So when you say:
>
>  > It seems to me that, XSLT 1.0's "result tree fragment" (before
>  > being serialized to the output XML) is a well-formed XML fragment.
>
> ... I don't agree it is a well-formed XML fragment.


I agree with you. An XSLT 1.0 "result tree fragment" can be a sequence of
XML element nodes that don't have an outer XML element. In this case, the
"result tree fragment" is not a well-formed XML fragment. But its possible
that, a "result tree fragment" can be a proper well-formed XML fragment.

I think, it'll be better, if we call simply as XSLT 1.0 "result tree
fragment", which before its serialized is just an XML fragment which when
made available into the final serialized XML is actually is useful to the
user.

My actual point though, for this thread was, distinction between XSLT 1.0's
"result tree fragment" and XSLT 3.0's equivalent sequence constructor.


--
Regards,
Mukul Gandhi

Current Thread