Re: [SVG1.0] no tspan allowed inside an anchor?

Tobias Reif wrote:
> Yes, this
> 
> <text><tspan>
> <a xlink:href="foo">
>   whatever text
> </a>
> </tspan>
> </text>
> 
> is valid.

 From a quick skimming of the DTD it would appear that tspan is only 
allowed as a direct child of text and textPath. I do not know the 
motivation here, but if there is one it would seem to indicate that that 
  appeared as a better/simpler way to handle tspans. For instance, it 
may be that for performance reasons it is better to guarantee that the 
reference text or textPath element for any given tspan must always be 
its immediate parent.

-- 
Robin Berjon <robin.berjon@expway.fr>
Research Engineer, Expway

Received on Monday, 19 August 2002 05:54:37 UTC