[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Matching namespaces on source documents
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|