[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: how to ask analyze-string for only one match?
cknell@xxxxxxxxxx wrote:
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. I'll push it to open source cvs at a sourceforge project for interest sake. It will take up to four hours to appear there. The svg path spec is much more complicated so many more cases need to be considered http://www.w3.org/TR/SVG11/paths.html#PathData The M can repeat and there may or may not be spaces. Or negative sign. Or decimal point. What I am doing is translating svg to Java2D, compiling to class and instantiating to render the vector graphics. Works surprisingly well. Many images will render faster than bringing up a whole rendering engine. And after the class is made, it can be redisplayed even faster. And can have a very small foot print. I do it for x3d to Java3D and lg3d as well. The stylesheet(s) will be at http://cvs.sourceforge.net/viewcvs.py/mathml-x/mathml-x/stylesheets/ (takes time to perculate thru). What Micheal showed, changes the direction and approach toward the better. I had replied but haven't seen it show up on the list yet.
|
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
|