Using XSLT -

<xsl:template match="svg">
    <xsl:value-of select="@width" />
    <xsl:apply-templates />
</xsl:template>

jr

- X�r�K��l - wrote:

> hi there,
>
> i'm using Batik classes to develop a web-based application using svg.
> i have a question here and i hope someone can answer my question. :)
> how to open an existing SVG file?
> do i need to parse it in order to extract certain elements from it?
> how do i extract the attribute "width" from the following:
> <svg width="500" height="500">
>
> an example will be most helpful.
>
> -X�r�K��l-
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

--

--------------------------
John Robert Gardner
Deconstruction Architect
IT Technology Office
Sun Microsystems, Inc.
Burlington, MA 01803
#2-0692 / WFH 781-592-7217



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to