does this select anything?
<xsl:for-each select="id(@xrefid)">
If your figure does not have an attribute of type ID that is referenced
by the xrefid attribute then id() will return no nodes.
As I said in my first reply, if this is the case use a key instead.
If you are still stuck, show us some of your input file, (any DOCTYPE at
the top, and a sample figure and sample reference)
David
--
http://www.dcarlisle.demon.co.uk/matthew
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list