cknell(_at_)onebox(_dot_)com wrote:
So, are you saying that with these elements:
currentX=<xsl:value-of select="regex-group(2)"/>f;
currentY=<xsl:value-of select="regex-group(5)"/>f;
you wish to extract the two numbers to the right of 'M'?
Yes, and it extracts them. Then extracts the pair after the L's too
and causes the currentX and currentY to be set again and again without
the code in between resulting in the last available pair being the
current x and y. But the path needs the commands M L z etc. to give
meaning to the points.
--~------------------------------------------------------------------
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>
--~--