cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Hermann <>
Subject Re: SVG > SVG via xslt
Date Tue, 30 Aug 2005 14:01:09 GMT
Lincoln Mitchell schrieb:


> I am trying to generate an SVG file from an Adobe illustrator SVG file
> via XSLT/Cocoon.

> If I delete the DOCTYPE (and the xmlns’ on the svg tag) then all works
> fine – but I want the file to stay intact – so that’s not an option.

How about stripping the namespaces with an additional xsl file? This way
your first file remains intact?

<xsl:stylesheet xmlns:xsl=""
<xsl:strip-space elements="*"/>

<xsl:template match="/">
	<xsl:apply-templates mode="copy"/>

<xsl:template match="*" priority="-1" mode="copy">
	<xsl:element name="{name()}">
		<xsl:copy-of select="@*"/>
		<xsl:apply-templates mode="copy"/>


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message