OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xml-dev] RE: Namespaces Best Practice




> On the other hand software such as XSLT processors -usually- read process
> then write, and in such cases namespace normalization is straighforward.

XSLT processors normally need to process entire input documents but XSLT
is designed so the result can be streamed. This accounts for restrictions
in XSLT, most notably that you can't add attribute nodes after you've
added any element.

It's not possible, using XSLT, to arrange that namespace declarations
are at any place at all as that's entirely up to the processor, but they
are most likely to appear as far down the tree as possible.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.