From: Marcus S. <lam...@ya...> - 2006-11-23 17:01:22
|
Hi, I would like to transform a simple xml Document including numbers into a SVG chart. Therefore I have build my own xsl stylesheet. Then I start the transform process with the eXist transform function, but the result misses these first lines of code: <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> I already wrote some code in my stylesheet to pass these lines to the svg document as you can see here: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/2000/svg" version="1.0"> <xsl:output method="xml" encoding="iso-8859-1" doctype-public="-//W3C//DTD SVG 1.0//EN" doctype-system="http://www.w3.org/TR/2001/REC-SVG- 20010904/DTD/svg10.dtd"/> <xsl:template match="YRes"> <svg> ... So I don't understand why it doesn't work. I hope someone faced a similar problem and could help me! Thanks in advance Yours Marcus |