You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by "John Robert Gardner, Architect" <jo...@sun.com> on 2001/08/02 03:52:46 UTC
Re: SVG manipulation with java and batik
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: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
--
--------------------------
John Robert Gardner
Deconstruction Architect
IT Technology Office
Sun Microsystems, Inc.
Burlington, MA 01803
#2-0692 / WFH 781-592-7217
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org
Re: SVG manipulation with java and batik
Posted by "John Robert Gardner, Architect" <jo...@sun.com>.
sorry, forgot to mention bundling it with the XSLTC compiler as a translet -
"John Robert Gardner, Architect" wrote:
> 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: batik-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: batik-users-help@xml.apache.org
>
> --
>
> --------------------------
> John Robert Gardner
> Deconstruction Architect
> IT Technology Office
> Sun Microsystems, Inc.
> Burlington, MA 01803
> #2-0692 / WFH 781-592-7217
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
--
--------------------------
John Robert Gardner
Deconstruction Architect
IT Technology Office
Sun Microsystems, Inc.
Burlington, MA 01803
#2-0692 / WFH 781-592-7217
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org