RE: xpointers in use statements

Here is an update.  The syntax was wrong in teh previous email, but Amaya
doesn't seem to support the correct syntax either.  I was able to get the
following r-composite to display correctly in Batik.  

If anyone can verify for me that this is indeed valid, yet not supported by
Amaya, I would appreciate it.

r.svg
------------------------
<?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>
------------------------

r-composite.svg
------------------------
<?xml version="1.0" encoding="iso-8859-1"?>
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" width="17" height="21">
	<use width="16" height="20"
xlink:href="/login/brendav/svg/r.svg#r"/>
</svg>
------------------------



Thanks,
Brenda


-----Original Message-----
From: Vanveldhuisen, Brenda L 
Sent: Thursday, February 14, 2002 11:37 AM
To: www-amaya@w3.org
Subject: xpointers in use statements


Questions:
1. Can an "xlink:href" inside a "use" refer to another document according to
the SVG spec?
2. If so, is my syntax below a valid representation?
3. Also if so, does Amaya currently support this feature?

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 Thursday, 14 February 2002 17:15:32 UTC