xsl-list
[Top] [All Lists]

Re: [xsl] XML to SVG using XSLT

2006-10-10 05:10:38

but I'm not sure how to append to a variable.
You can't change the value of a variable once it's bound, but you don't
need any variables here.

<svg:path>
 <xsl:attribute  name="d">
  xsl:for-each select="value">
  <xsl:choose>
  <xsl:when test"position()=1">M</xsl:when>
  <xsl:otherwise>L</xsl:otherewise>
  </xsl:choose>
  <xsl:value-of select="@seconds"/>
  <xsl:text> </xsl:text>
  <xsl:value-of select="@LATENCY"/>
 </xsl:for-each>
</xsl:attribute>
</svg:path>

David

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>