Re: [xsl] Adding Missing Element

Subject: Re: [xsl] Adding Missing Element
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 23 Jan 2008 23:44:39 GMT
> One question, though: currently, all added nodes from the template seem
> to have an xmlns:n attribute added to the element. Where can I switch
> off the functionality that does this? (and yes, <A> belongs to the
> namespace n).

XSLT will not add namespace declarations to the output if that namespace
binding is already in scope from an ancestor element. So barring a bug
in your system, the output is probably not quite as this description
would indicate, can you post a small example.


The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 

Current Thread