Re: [xsl] Supressing entity expansion during XSLT transform

Subject: Re: [xsl] Supressing entity expansion during XSLT transform
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Sat, 12 Jan 2008 15:57:48 +0100 (CET)
Colin Paul Adams wrote:

  Hi

> In that case, Jesper, I can't emulate the usage you are making
> of saxon:serialize (using the serialization parameters of the
> unnamed output definition).

  Yes.  The XSLT serializer can't obvisouly not access output
definitions.  But in the meanwhile, I wonder if this usage is the
correct one in the identity transformation.  Shouldn't use instead:

    <xsl:variable name="format" as="element()">
       <xsl:output/>
    </xsl:variable>
    <xsl:sequence select="saxon:serialize(..., $format)"/>

?

  Regards,

--drkm
























      _____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr

Current Thread