- From: Hyunju Shim <hshim@cise.ufl.edu>
- Date: Sun, 8 Dec 2002 16:13:10 -0500
- To: <www-svg@w3.org>
Received on Sunday, 8 December 2002 16:07:43 UTC
I have a SVG drawing tool Mayura, which generate following code.
<rect style="stroke:#000000;stroke-width:0.5;fill:#c9c9ff" x="10" y="10" width="10" height="10"/>
However, I can not access the attribute via setAttribute to change any of stroke, stroke-width, and fill.
So I need to change the node into following:
<rect stroke="#000000" stroke-width="0.5" fill="#c9c9ff" x="10" y="10" width="10" height="10"/>
Can I make this transformatin with XSLT?
If so how?
It seems 'style' is one automic attribute so that there is no way to access a single element in it.
Do I need to parse the document instead of XSL transformation?
Can somebody help me?
Received on Sunday, 8 December 2002 16:07:43 UTC