Re: how to ask analyze-string for only one match?
The stylesheet is called svg2Java2D.xsl and is at
I don't have any holdups at the moment but optimization and better techniques are always appreciated.
The svg spec is at http://www.w3.org/TR/SVG11/
Use of the stylesheet is in a netbeans svg module multi xml view
It produces Java2D based classes on the order of 1.2 to 2 times the original svg document size. Transforms, compiles and renders fast the first time. After the class is made and the svg is not altered, the speed to rendering is quick; exactly what the JVM is looking for:-)
Same thing for x3d to Java3D.
This stylesheet does what you asked. Of course, I can't see the rest of the stylesheet to see if there are any other issues, but this should be the seed you need.
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format