Antonio Gallardo wrote:

Upayavira dijo:


Antonio Gallardo wrote:



Hi:

How to get rid of the xmlns that the HTML get? For example:

<html xmlns:xi="http://www.w3.org/2001/XInclude"; lang="es-NI">




In the stylesheet that processes your XInclude output, add
exclude-result-refixes="xi" to the root <xsl:stylesheet> element at the
top of the stylesheet.



Hi Upayavira:


Also woody is sending:

<table xmlns:wi="http://apache.org/cocoon/woody/instance/1.0";...>

Your suggestion does not work in this case. I also added in the html
serializer a param:

<omit-xml-declaration>true</omit-xml-declaration>

But keep sending the xlmns:xi and xlmns:wi

I think the html serializer need to get rid of this xlmns automatically.

WDYT?


I think you need to put

exclude-result-refixes="xi, wi" into your woody-styling.xsl stylesheets. You'll need to ensure that all nodes in these namespaces are consumed by the stylesheet for the prefixes to be excluded.

Upayavira





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to