cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean" <jaka...@wideasleep.com>
Subject Re: Xinclude files from other directories
Date Wed, 14 Feb 2001 04:16:30 GMT
OK, so if I use the following it works:

<xinclude:include parse="xml"
href="http://localhost:8000/website/docs/sections.xml"/>

Now the problems I see with this.

1. You have to embedd the absolute URL into the xinclude.
2. I had to add an xml matcher to the sitemap, this leaved my xml documents
open to
    anyone that knows their names and path.  This seems like a security risk
to me.
3. It seems that xinclude should handle relative paths/urls but I cannot
seem to get it to
    work.

Does anyone have any other ideas on how I can do this? Also, does anyone
know if C2 supports XML Base?

Thanks in advance ...

Sean



Mime
View raw message