W3C home > Mailing lists > Public > www-svg@w3.org > March 2000

Re: What is wrong with SVG?

From: Jonathan Borden <jborden@mediaone.net>
Date: Mon, 6 Mar 2000 18:29:37 -0500
Message-ID: <034001bf87c3$d7a72090$0b2e249b@Synapse>
To: "Arnold, Curt" <Curt.Arnold@hyprotech.com>, <xml-dev@xml.org>
Cc: <www-svg@w3.org>
Arnold, Curt wrote:


> Jon, Thanks for the reply to xml-dev.  Could you address any reasons why:
>
>   <path d="M 100 100 L 200 200"/>
>
> Could not be represented as:
>
>   <path><d>M 100 100 L 200 200</d></path>
>
> at least as an alternative format.  This form would
> be much easier to generate from XSLT since xsl:text
> can be used to append to text content, but there is
> no current capability to append to an attribute.
>

How about something like:

<xsl:template match="path">
    <path><xsl:attribute name="d"><xsl:value-of select-"@d /> L 300
300</xsl:attribute></path>
</xsl:template>

Jonathan Borden
Received on Monday, 6 March 2000 18:35:29 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:18 GMT