xsl-list
[Top] [All Lists]

Re: [xsl] How to force the XSLT processor to retain a namespace declaration on the root element?

2022-03-24 14:11:22

When I run the XSLT program, I get this output:

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema";>
    ...
</xs:schema>

Notice that the DFDL namespace declaration is gone. 


Unless you have an exclude-result-prefixes attribute somewhere in scope, this 
behaviour is incorrect according to the spec.

Michael Kay
Saxonica
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--


<Prev in Thread] Current Thread [Next in Thread>