Re: xpointers in use statements

> Questions:
> 1. Can an "xlink:href" inside a "use" refer to another document according to
> the SVG spec?

Yes. Refer to http://www.w3.org/TR/SVG/struct.html#Head

> 2. If so, is my syntax below a valid representation?
> 3. Also if so, does Amaya currently support this feature?

No. It currently supports only local URI references with the use
element, i.e. the <use> element and the element it references
must be in the same file. There are plans for full support of
URIs in the use element, including non-local URI references.

Vincent.

> In file r.xml, I have....
> <?xml version="1.0" encoding="iso-8859-1"?>
> <svg id ="r"xmlns="http://www.w3.org/2000/svg" width="16" height="20">
> 	<g fill="none" stroke="black" stroke-width="1">
> 		<line x1="3" y1="0" x2="3" y2="6"/>
>                  .........
> 	</g>
> </svg>
> 
> In another document I have
> <?xml version="1.0" encoding="iso-8859-1"?>
> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="20">
> 	<use xlink:href="/login/brendav/svg/r.svg#xpointer(id=r)"/>
> </svg>

Received on Friday, 15 February 2002 06:51:10 UTC