[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Question on file references

Subject: Re: Question on file references
From: "Felix Geller" <fgeller@xxxxxxxxx>
Date: Thu, 24 Apr 2008 15:32:51 +0200
Re:  Question on file references

  I think xml:base [1] would be a possible option.


[1] http://www.w3.org/TR/xmlbase/

On Thu, Apr 24, 2008 at 3:21 PM, Arian Hojat <armyofda12mnkeys@xxxxxxxxx> wrote:
> Not sure if this is best forum for my question,
>  but here goes.
>  I have an xml file in one directory and an xml file in another directory.
>  Both are the same html-like language. In this language u can do an
>  'include' that gets the another xml file to create a merged document.
>  A merge xsl transformation is first run on a file to see if it has
>  other files to pull in.
>  From this stage, another xsl is used to translate the merged xml file
>  with FOP to xslfo/pdf.
>  But for image references I have to manually copy over to the directory
>  with the merged file. Otherwise since the 2nd xml file's image
>  references are relative to its directory, the merged file doesnt know
>  where it is. Anyone have an elegant solution to this?
>  The xsl that creates the merged copy, should change the url to the
>  image to be relative to it and also it would be nice to copy the image
>  also to the new file's images directory.
>  Thanks,
>  Ari

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.