One solution for this kind of namespaces manipulation in XSLT is to use the
"exclude-result-prefixes" attribute of the "<stylesheet>" element.
The value of this attribute consists of one or more space-separated prefix
names. The namespace declarations related to those prefix names are not
copied to the output.
Laurent
-----Message d'origine-----
De : Martin Kavalar [mailto:[EMAIL PROTECTED]]
Envoyé : samedi 8 septembre 2001 14:04
À : Cocoon Mailing List
Objet : Namespaces
Is there a way to remove the namespaces during an xslt? We are doing
XML->XML (XHTML) and the namespaces that appear in the root (<html>)
element is the only thing that keeps our document from validating as
xhtml 1.0
thanks for your help
martin
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>