Re: DIA export code
- From: david <daav14 gmail com>
- To: discussions about usage and development of dia <dia-list gnome org>
- Subject: Re: DIA export code
- Date: Fri, 17 Apr 2009 15:19:50 +0200
Ok, it works when I used and extern xslt tool. I still don't know why the same xsl file doesn't work with DIA code export.
2009/4/17 david <daav14 gmail com>
I 'll see the tutorial.
I don't use <xsl:value-of .../> because I've simplify my file due to the error. With this xsl file I want that the source file contains <state/> (that would say that
<xsl:template match="dia:object[ type='UML - State']"> works...)
2009/4/17 Maciej Jaros <egil wp pl>
I'm a beginner in DIA, and I'm trying to make my own xsl to convert a
statechart diagram to a nice xml file.
I've read and pick some lines in others xsl file (like dia-uml.xsl) to
have an exemple but I have a problem.
This is my an extract of my xsl file :
<xsl:output method="xml" indent="yes"/>
<xsl:apply-templates select="dia:object[ type='UML -
<xsl:template match="dia:object[ type='UML - State']">
My template dia:object[ type='UML - State'] doesn't work and
I'don't know why. I've tried different things ( " or ' ....) but
Not sure what you want to do, but my guess you should use
<xsl:value-of .../> somewhere. There is a nice tutrial about XSL
on w3schools. For an example of using XSL on DIA files you can use:
(sorry about the commercials - I have to change this host :-/)
Note that that readme is in the package.
dia-list mailing list
dia-list gnome org
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia
] [Thread Prev