Jump to content

alpman

Members
  • Content Count

    3
  • Joined

  • Last visited

Everything posted by alpman

  1. Thanks for your answers. After playing around a little more I think I understood it now.
  2. Thanks for your answer but why this: Why isn't it enough to write <xsl:apply-templates select="svg:rect"/> since I try to match the root node in the first template?
  3. I'm trying to transform a SVG-file into another XML-file using XSLT and the C# class XslCompiledTransform. This is my SVG <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events" version="1.1" baseProfile="full" width="800mm" height="600mm"><rect x="10" y="10" width="90" height="40" /></svg> This is my C#-Code static void Main(string[] args) { string
×
×
  • Create New...