Subject: Re: [xsl] Prepending remote url to tei image input From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx> Date: Thu, 02 Oct 2008 05:52:39 +0100 |
>>>>> "Gavin" == Gavin <gavin@xxxxxxxxxxxxxxxx> writes: Gavin> The remote source tei is like this :- Gavin> <figure rend="somepic" url="/images/image.jpg"/> Gavin> However, the image is remote to the document so the image Gavin> will still not appear. I need to be able to detect and Gavin> prepend the www.example.com address to the src, the Gavin> prepending is easy, but how to capture the remote www Gavin> address has got me. Gavin> Any clues? Probably you want to resolve @url relative the the base URI of the figure element. Are you using XSLT 2.0? If so, then this is easy, as there are built-in XPath functions to do it. -- Colin Adams Preston Lancashire
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Prepending remote url to tei , Gavin | Thread | RE: [xsl] Prepending remote url to , Gavin |
[xsl] Prepending remote url to tei , Gavin | Date | Re: [xsl] xslt2: Retrieving a direc, Mukul Gandhi |
Month |