<[email protected]>Hi,

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:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
  xmlns:dia="http://www.lysator.liu.se/~alla/dia/";
  version="1.0">
  <xsl:output method="xml" indent="yes"/>

  <xsl:template match="/">
    <xsl:element name="dia-uml">
      <xsl:apply-templates select="**dia:obje...@type='UML - State']**"/>
    </xsl:element>
  </xsl:template>

  <xsl:template match="dia:obje...@type='UML - State']">
    <xsl:element name="state">
    </xsl:element>
  </xsl:template>*

My template *dia:obje...@type='UML - State'] *doesn't work and I'don't know
why. I've tried different things ( " or ' ....) but without changes.

An idea?

Thanks, David.
_______________________________________________
dia-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia

Reply via email to