- From: Torres, Libo <Libo.Torres@primark.com>
- Date: Thu, 24 Aug 2000 12:56:53 +0100
- To: "'www-svg@w3.org'" <www-svg@w3.org>
Hi... again I have received a few e-mails that say that I don't give much information. Sorry about that I'm using Internet explorer v5.0 updated to the last xml .dll from microsoft and using the last software from Microsoft in xml and xsl. I'm also using the last version of the Adobe viewer. I try to do a very simple conversion, just to try to start to walk in the path of SVG... but my lack of knowledge make it an Odyssey!!! After I try to show the transformation of my xml file, my browser screen remains in a terrible white Thanks in advance, ..........Libo here are my .xml and .xsl files .xml <?xml-stylesheet href="D:\TEMP\convertsvg1.xsl" type="text/xsl"?> <Result> <Name>"Paco"</Name> </Result> .xsl <?xml version="1.0" standalone="no"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="xml" indent="yes" media-type="image/svg" /> <xsl:strip-space elements="*"/> <!-- Add DOCTYPE --> <xsl:template match="/"> <xsl:text disable-output-escaping="yes"><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000802//EN" "http://www.w3.org/TR/2000/CR-SVG-20000802/DTD/svg-20000802.dtd"> </xsl:text> <xsl:apply-templates/> </xsl:template> <xsl:template match="*|@*|text()"> <svg width="500" height="500"> <text x="2.5cm" y="1.5cm" style="font-family:Verdana; font-size:16pt; fill:blue"> <xsl:value-of select='Result/Name'/> </text> <rect x="2cm" y="1cm" width="6cm" height="3cm"/> </svg> </xsl:template> </xsl:stylesheet> -----Original Message----- From: Torres, Libo [mailto:Libo.Torres@primark.com] Sent: 24 August 2000 12:13 To: 'www-svg@w3.org' Subject: XML to SVG Hi, I have detected using the Adove SVG viewer that if I change the extension of a .SVG file to .XML I can't see the image that I could see before with the .SVG extension. Is it normal? If is normal... why does it hapen if SVG has XML sintax? And my main problem is that I'm trying to transform a very simple XML file to SVG format using XSL. After the transformation I can't see any image on my screen. Does it have any relation with my first question? thanks, Libo __________________________________________________________ Happiness should justify even the Existence !! (Nietzsche)
Received on Thursday, 24 August 2000 08:02:46 UTC