
On 5/11/09 9:05 AM, "Karen Schneider" <kgs@esilibrary.com> wrote:
where all hrefs are in the same subdirectory it's easy to see how to do this. I'm trying to clarify how to make this happen in Docbook using oXygen (and -- where this becomes an oXygen question -- get them to validate). In the xi:include statements, do I use a pattern of file:///directory/filename.xml ...?
You should be using relative paths as long as all the files are reliably relative to each other, even if not in the same directory. If you're managing the source in something like SVN then you should be able to ensure that the files as authored on any machine are always in the right relative place. Given that, then your URLs for the XIncludes can be: href="../somedir/anotherdir/filename.xml" With no need for either "file://" or a leading "/" (which makes the URL absolute). The operating system shouldn't matter as long as you use URL syntax (and not Windows filename syntax) and avoid spaces or other "might need escaping" characters in your URLs. Cheers, Eliot ---- Eliot Kimber | Senior Solutions Architect | Really Strategies, Inc. email: ekimber@reallysi.com <mailto:ekimber@reallysi.com> office: 610.631.6770 | cell: 512.554.9368 2570 Boulevard of the Generals | Suite 213 | Audubon, PA 19403 www.reallysi.com <http://www.reallysi.com> | http://blog.reallysi.com <http://blog.reallysi.com> | www.rsuitecms.com <http://www.rsuitecms.com>