W3C home > Mailing lists > Public > www-svg@w3.org > August 2000

XML to SVG... more info

From: Torres, Libo <Libo.Torres@primark.com>
Date: Thu, 24 Aug 2000 12:56:53 +0100
Message-ID: <2BB454EEFAF4D311A12000C0F04BB76AE3C6C1@pmkgbis8.datastream.com>
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-stylesheet href="D:\TEMP\convertsvg1.xsl" type="text/xsl"?>


	<?xml version="1.0" standalone="no"?>

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

<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">&lt;!DOCTYPE svg PUBLIC
"-//W3C//DTD SVG 20000802//EN" 

<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'/>   
		<rect x="2cm" y="1cm" width="6cm" height="3cm"/>


-----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

  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

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:49 UTC