forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Palmer" <>
Subject Re: Passing value of property to site.xml???
Date Wed, 18 Aug 2004 08:04:42 GMT
Perhaps this could also be dealt with by the XInclude mechanism, described
here: which should allow
flexible text substitution.

Problem is, I wasn't able to make it work myself - can anyone provide a
working example? I am copying here something from an earlier posting of mine
on this subject:

There is an entry here: that says

"Added XInclude capability to the documents. Remember to disable validations
for files with xincludes as the xinclude is not performed during validation.

I added a new file (xi.xml) to the standard forrest seed files (in
src/documentation/content/xdocs/samples/) , with this snippet:

  <xi:include href="test.xml" xmlns:xi="" >
      If you see this, the include has failed.

I also disabled validation in Something of the xi
process is working, because I get the fallback message printed. I've tried a
number of variations in terms of placing test.xml in different places,
referring to it with different hrefs, but no luck.

Would it be possible for somone to correct my sample, and provide a suitable
test.xml file and tell me where to put it, so I can make this example work.


View raw message