Another question: how to go about if I would like to add a svg shape along with every sentence (so in every loop a shape at a new position)?
I found out working with variables is rather troublesome, for values cannot be changed once the are set. However, during every loop values must change to...
Yeeh, thanks a million! I did not know the text and tspan where necessary!
The text output is quite boring; but is needs to go into a pop later on.
Thanks for you help anyway; I suppose I will get into some more troubles along the way: do I dare contact you again?
Cheers
Robert
Adding the xsl:output does not seem to work either. If I leave the svg tags out, output is generated, if it's in I get nothing. Nevertheless, my parser does not seem to complain.
This is the output without svg (robdeb.freehostia.com/class.xml).
Firefox shows correct output; opera says it seems...
Thanks for your reply,
Indeed, the root-element in the actual XML doc reeds:
<TimeML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="TimeML1.1.xsd" >
I changed the stylesheet to:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:transform version="1.0"...
Dear all,
I am not all that familiar with svg; nevertheless I wish to include a svg element in a xsl stylesheet.
If I run the following code I get my required output:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:transform version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.