cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Yates <ceya...@stanford.edu>
Subject Re: HTML serializer namespace problem
Date Thu, 22 May 2003 01:02:28 GMT
     My guess is what you are seeing is correct behavior of your 
stylesheets.  One of the most difficult parts of XSLT is namespace 
stuff.   If you post default.xsl I _might_ be able to tell you what the 
problem is.

Alexander Schatten wrote:

> I use htmlreader to read html documents, convert them to xhtml, then 
> the documents are processed using xslt transformer, then html 
> serializer like this:
>
> <map:match pattern="**.html">
>  <map:generate src="html/{1}.html" type="html"/>
>   <map:transform src="style/default.xsl" type="xslt" />
>   <map:serialize type="html" />
> </map:match>
>
> so this should be clear and straightforward. unfortunately the 
> generated documents are full of statements like this
>
> <p xmlns="http://www.w3.org/1999/xhtml" ...
>
>
>
> This is obviously not correct as the html serializer should not 
> generate xhtml namespaces, and if available, it should remove it. 
> (Additionally in the stylesheet the <xsl:out> defines html as method...)
>
> Can there be done something against this?
>
>
> thank you again!!
>
>
> Alex
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message