Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] Prepending remote url to tei image input

From: Syd Bauman <Syd_Bauman@--------->
To:
Date: 10/2/2008 12:06:00 PM
> The remote source tei is like this :-
>     <figure rend="somepic" url="/images/image.jpg"/>

Not that it changes your XSLT problem, but this is inappropriate TEI
encoding of the information. If "somepic" is a description of the
image, it belongs in a <figDesc> child of <figure>:
              <figure url="/images/image.jpg">
                <figDesc>somepic</figDesc>
              </figure>
(Also the url= attribute is not part of vanilla TEI P4, but extension
of TEI to put this attribute on <figure> is almost ubiquitous.)


> However, the image is remote to the document so the image will
> still not appear. I need to be able to detect and prepend the
> www.example.com address to the src, the prepending is easy, but how
> to capture the remote www address has got me.

Where is this remote host information? Since TEI P4 doesn't have an
xml:base= attribute, I doubt it is there. Where is it stored, or how
is it handed to your XSLT?


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent