On Mon, 22 Apr 2002, Conal Tuohy wrote: > When you say you've had problems with relative hrefs, do you mean you have > used images in SVG? Or were your href problems in some other context?
Yes, it was with SVG. Here's an example that works for me: <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template name="image-details"> <svg width="{dimension_x}" height="{dimension_y}" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <image x="0" y="0" width="{dimension_x}px" height="{dimension_y}px" xlink:href="http://www.luminas.co.uk/images/object_images/{filename}"/> <text x="10px" y="{dimension_y - 10}px" style="font-family:sans; font-size:8pt; fill:#000000"> Copyright © <xsl:value-of select="repository"/> </text> </svg> </xsl:template> </xsl:stylesheet> Andrew. -- Andrew Savory Email: [EMAIL PROTECTED] Managing Director Tel: +44 (0)870 741 6658 Luminas Internet Applications Fax: +44 (0)870 28 47489 This is not an official statement or order. Web: www.luminas.co.uk --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>