RE: Matching namespaces on source documents

Subject: RE: Matching namespaces on source documents
From: Mike Brown <mbrown@xxxxxxxxxxxxx>
Date: Tue, 9 Nov 1999 12:04:09 -0700
> my transformation was from an old version of an XSL stylesheet
> to a new one.  The 'source document' declared the xsl prefix
> in its document element (xsl:stylesheet) and gave it a
> different namespace than my transformation sheet did.
>
> [...]
>
> This works with LotusXSL, but XT gives the following error:
> file:in.xsl:1: no such prefix "xmlns".
> 
> I'm not sure whether this is a problem with XT or whether it is
> being correctly rigorous where LotusXSL is not.

Ah, well the namespace issue becomes more complex when you need to have
result elements that need to be in the current XSLT namespace. The current
XSLT PR has some new functionality for namespace aliasing that may solve
your problem. I haven't experimented with it, personally, but it seems
pretty straightforward. http://www.w3.org/TR/xslt#literal-result-element is
the relevant section (starting around the paragraph that begins "A namespace
URI in the stylesheet tree...").


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread