This is the mail archive of the mailing list .

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Carrying Namespaces through a XSL to XSL Transformation

> From:
> []On Behalf Of Evan Lenz
> Sent: Friday, December 29, 2000 5:31 AM
> To:
> Subject: RE: [xsl] Carrying Namespaces through a XSL to XSL
> Transformation
> I agree that disable-output-escaping should not be used in this case.  The
> only defensible use of disable-output-escaping that I remember
> seeing is the
> rendering of non-well-formed HTML in a browser (where the HTML markup is
> actually content, not markup).
> But there still is a problem here.  Namespace nodes found only in
> the source
> tree are only copied to the result tree when nodes from the
> source tree are
> copied.  If the stylesheet you're generating doesn't copy those nodes from
> the source tree, the namespace nodes won't be copied either.  (When
> namespace nodes are copied, you apparently can trust the
> resulting declared
> prefixes to be the same as that of the source --

Thanks for the lengthy explanation.

If I understand correctly, this is basically caused by the fact that, in the
desired generated XSLT, the namespace declaration is only required because
the prefix appears in XPath expressions, but not in a literal result

Seems to me that this is a hole that should be closed in XSLT 1.1... (or is


 XSL-List info and archive:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]