You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Barbara Post <ba...@ifrance.com> on 2002/07/26 17:06:29 UTC
remove namespaces from final html output ?
Hello, my stylesheet header is the following, right before I use
<map:serialize type="html"/> :
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:collection="http://apache.org/cocoon/xmldb/1.0"
xmlns:javamydate="baepp.MyDate">
<xsl:import href="resources.xsl"/>
<xsl:output method="html" encoding="iso-8859-1"
omit-xml-declaration="true"/>
The html tag :
<html xmlns:javamydate="baepp.MyDate"
xmlns:collection="http://apache.org/cocoon/xmldb/1.0">
how can I remove xmlns declaration ? the page does not display in IE 5.0 :-(
Thanks !
Barbara
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: remove namespaces from final html output ?
Posted by Joerg Heinicke <jo...@gmx.de>.
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:collection="http://apache.org/cocoon/xmldb/1.0"
xmlns:javamydate="baepp.MyDate"
exclude-result-prefixes="javamydate collection">
Regards,
Joerg
Barbara Post wrote:
> Hello, my stylesheet header is the following, right before I use
> <map:serialize type="html"/> :
>
> <?xml version="1.0" encoding="UTF-8"?>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> xmlns:collection="http://apache.org/cocoon/xmldb/1.0"
> xmlns:javamydate="baepp.MyDate">
> <xsl:import href="resources.xsl"/>
> <xsl:output method="html" encoding="iso-8859-1"
> omit-xml-declaration="true"/>
>
> The html tag :
>
> <html xmlns:javamydate="baepp.MyDate"
> xmlns:collection="http://apache.org/cocoon/xmldb/1.0">
>
> how can I remove xmlns declaration ? the page does not display in IE 5.0 :-(
>
> Thanks !
>
> Barbara
--
System Development
VIRBUS AG
Fon +49(0)341-979-7419
Fax +49(0)341-979-7409
joerg.heinicke@virbus.de
www.virbus.de
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>