[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Jonathan Borden" <jborden@m...>
  • To: "Arnold, Curt" <Curt.Arnold@h...>, <xml-dev@x...>
  • Date: Mon, 6 Mar 2000 18:29:37 -0500

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



***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member