Hello
there,
Maybe
somebody is interested: I found a solution for my own question...
pretty
easy: you just have to add the svg Namespace to the XSL document
(xmlns:svg="...") and then you have to quote all svg-elements with the "svg:"
prefix. For instance:
<xsl:template match="svg:text"/>
instead of
<xsl:template match="text"/>
Michael.
-----Urspr�ngliche Nachricht-----
Von: Michael H�ndel [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 4. Februar 2003 18:27
An: Batik
Betreff: XSLT Transformation not working ...Hi there,I'm not sure if this is a Batik or a Xalan question/problem...I want to transform the SVG-file from my JSVGCanvas into an XML-file using an XSL-stylesheet and the Xalan-Transformer...If I perform the transformation from the command line with Xalan, I receive weird results until I change (or remove) the "xmlns"-attribute in the SVG root element...but: it's not possible to remove or change the "xmlns" attribute from within my java-app cause it has a fixed value. (So I get an error or a new attribute with the same name is created...)Does anybody know a workaround this or an example-app which creates an xml-file from an svg?!?thanks in advance,Michael H�ndel.
