Title: RE: remove namespaces from final html output ?

Having a template that matches your html tag in your xsl that you use to serialize will eliminate the xmlns tags in the output

-----Original Message-----
From: Barbara Post [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 26, 2002 10:06 AM
To: [EMAIL PROTECTED]
Subject: 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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to