Sign In/My Account | View Cart  
advertisement

Article:
 Automated Tree Drawing: XSLT and SVG
Subject: Example trouble
Date: 2004-09-22 11:16:57
From: Motivus
Response to: Example trouble

You wrote in the article that you "decided to implement (my:closingParenPos) as an EXSLT function because a regularly named template would be too verbose". I am not perfectly XML-literate, but this would seem to imply that one can still accomplish the objective of your article without using EXSLT. As I am most interested in using XSLT and SVG to dynamically draw tree diagrams, can you tell us what changes to make in order to run the example straight-up in IE6?

No Previous Message Previous Message Move up to Parent Message Up Next Message No Next Message


Titles Only Titles Only Newest First
  • Example trouble
    2004-10-20 08:48:40 Jirka Kosek [Reply]

    Sorry for a long delay, but I didn't received notification e-mail about new post under my article.


    I prepared demo for IE6 (MSXML) + Adobe SVG Viewer. Just download


    http://www.kosek.cz/temp/hedge2svg-msxml.zip


    and open page.xml in IE. Included XSLT stylesheet uses named templates instead of EXSLT extension function.

    • Example trouble
      2005-05-31 11:28:05 GrosMinet [Reply]

      Hello every one,


      The link to hedge2svg-msxml.zip is dead, can someone give me a new link or send me the file by email (bilel@linuxmail.org) please ? I need to draw flow diagram trees from dynamic xml data and I need this exemple


      Thank in advance!

    • Example trouble
      2004-11-02 05:00:24 Teflon [Reply]

      >>Error during XSLT transformation: An unknown XPath extension function was called.


      Still not working....


      Have you been able to get this to work for anyone, Im going to give it a try with server-side transforms but would be nice to do client-side....

      • Example trouble
        2004-11-02 05:05:57 Teflon [Reply]

        PHP didnt transform it either...php5 using xsltprocessor...just as I normally do.


        Warning: xmlXPathCompOpEval: function node-set not found in c:\Inetpub\wwwroot\hedge2svg-msxml\convertxsl.php on line 19


        Warning: XPath error Unregistered function in exsl:node-set($tree)/node in c:\Inetpub\wwwroot\hedge2svg-msxml\convertxsl.php on line 19
        line 19: fwrite($file_handle, $proc->transformToXML($xml));

        • Example trouble
          2004-11-02 05:08:37 Jirka Kosek [Reply]

          Example posted in discussion is customized for use with MSXML 3.0 (part of IE) as someone requested.


          PHP5 uses xsltproc, original code posted in article should work with xsltproc.

      • Example trouble
        2004-11-02 05:03:53 Jirka Kosek [Reply]

        And what XSLT processor you are using? MSXML 3.0 or other?

        • Example trouble
          2004-11-02 05:07:47 Teflon [Reply]

          It should be using MSXML 4.0 SP2 Parser and SDK, as this is the only one installed.

          • Example trouble
            2004-11-02 05:12:15 Jirka Kosek [Reply]

            Well, on my machine it works both in MSXML 3.0 and 4.0, I tested it using msxsl utility from MS.


            What happens if you open page.xml in Internet Explorer?




            • Example trouble
              2004-11-02 05:27:19 Teflon [Reply]

              Sorry for being a pain in the butt, I thought I opened it in IE but in fact was opening it in Firefox, it does work well in IE.


              Again sorry for the confusion and my idiocy!


Sponsored By: