This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Removing xmlns attributes from html tags


> Just one small question more though concerning this.
>
> When I inserted the line:
> - exclude-result-prefixes="#default xmlns common style user"
> it didnt remove the default xmlns which was set to:
> - xmlns="http://www.w3.org/TR/REC-html40";
> When I removed this line every xmlns was gone in my html.
>
> So, is there a way to remove this xmlns also ?

You can't remove the declaration of a namespace which your result document
actually uses. If you output elements in the namespace
"http://www.w3.org/TR/REC-html40";, you will always get a namespace
declaration for that namespace.

Mike Kay


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]