Re: [xml] (Hacky) XML includes



Daniel Veillard wrote:
On Wed, Feb 22, 2006 at 09:18:23AM -0800, Rush Manbert wrote:

Jason Viers wrote:

That should stop the technical problem, but it'd definitely be good to look into using real XIncludes that Daniel mentioned.


I'll add 2 cents more. If it is possible in your situation, you might look into doing this with XSLT. I do something like this and it's really not that hard. I apply the XSL stylesheet using the libxslt facilities.


  The initial example provided external entities as well balanced but
multirooted fragments, i.e. they are not XML, so without modification
to the documents, nor XInclude nor XSLT would work since they assume
XML documents and won't work with well-balanced fragments.


True. Only possible if the included document is well formed XML.

<TotalLie>That was part of what I meant by "If it is possible in your situation".</TotalLie> ;-)

- Rush



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]