W3C home > Mailing lists > Public > www-svg@w3.org > January 2005

wrote it shorter

From: Alexander Vipach <mailinglisten@dark-sun.org>
Date: Fri, 14 Jan 2005 23:58:30 +0100
Message-Id: <6.1.2.0.2.20050114235754.026c39c0@127.0.0.1>
To: www-svg@w3.org

Hello,

can anyone help me to write the following shorter?

<g id="texte">
    <text>
      <textPath startOffset="50%" text-anchor="middle" baseline-shift="-4"
       xlink:href="#strz1" style="&textPathH;">Dudenstr.</textPath>
    </text>
    <text>
      <textPath startOffset="50%" text-anchor="middle" baseline-shift="-4"
       xlink:href="#strz2" style="&textPathN;">Methfesselstr.</textPath>
    </text>
    <text>
      <textPath startOffset="50%" text-anchor="middle" baseline-shift="-4"
       xlink:href="#strz3" style="&textPathHH;">Mehringdamm</textPath>
    </text>
    <text>
      <textPath startOffset="50%" text-anchor="middle" baseline-shift="-4"
       xlink:href="#strz4" style="&textPathH;">Katzbachstr.</textPath>
    </text>
    <text>
      <textPath startOffset="50%" text-anchor="middle" baseline-shift="-4"
       xlink:href="#strz7" style="&textPathHH;">Yorckstr.</textPath>
    </text>
    <text>
      <textPath startOffset="50%" text-anchor="middle" baseline-shift="-4"
       xlink:href="#strz8" style="&textPathN;">Monumentenstr.</textPath>
    </text>
    <text>
      <textPath startOffset="50%" text-anchor="middle" baseline-shift="-4"
       xlink:href="#strz9" style="&textPathHH;">Gneisenaustr.</textPath>
    </text>
    <text>
      <textPath startOffset="50%" text-anchor="middle" baseline-shift="-4"
       xlink:href="#strz10" style="&textPathN;">Mittenwalder Str.</textPath>
    </text>
</g>

If I write:

<g id="texte" startOffset="50%" text-anchor="middle" baseline-shift="-4">
    <text>
      <textPath xlink:href="#strz1" style="&textPathH;">Dudenstr.</textPath>
    </text>
    <text>
      <textPath xlink:href="#strz2"
style="&textPathN;">Methfesselstr.</textPath>
    </text>
    <text>
      <textPath xlink:href="#strz3" style="&textPathHH;">Mehringdamm</textPath>
    </text>
    <text>
      <textPath xlink:href="#strz4" style="&textPathH;">Katzbachstr.</textPath>
    </text>
    <text>
      <textPath xlink:href="#strz7" style="&textPathHH;">Yorckstr.</textPath>
    </text>
    <text>
      <textPath xlink:href="#strz8"
style="&textPathN;">Monumentenstr.</textPath>
    </text>
    <text>
      <textPath xlink:href="#strz9"
style="&textPathHH;">Gneisenaustr.</textPath>
    </text>
    <text>
      <textPath xlink:href="#strz10" style="&textPathN;">Mittenwalder
Str.</textPath>
    </text>
</g>

The Adobe SVG-Viewer is not interested at the startOffset,
text-anchor and baseline-shift attribute.

If anyone could help me, i would greatly appreciate it.

Ciao

    Alex
Received on Sunday, 16 January 2005 04:47:39 GMT

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