Hi Gareth, Gareth Western <gar...@garethwestern.com> wrote on 02/04/2009 03:27:02 PM:
> Oh, I spoke too soon. From [1]: "XOM supports XInclude including the > XPointer element() scheme and bare name XPointers. It does not support > the XPointer xpointer() scheme." Which I guess means it's in the same > boat as Xerces with respect to what's supported. I thought XOM supported more than that. Oh well... :-\ > Perhaps I'm going about this the wrong way. Am I actually using > XInclude correctly (based on my original example, with several files > each containing a <function-set> and multiple <function> children and > trying to use xinclude to compose a single file / <function-set> with > all <function>s in it)? What you're trying to do looks perfectly reasonable, though unfortunately seems like it's not widely supported. Apache Cocoon [1] apparently also has built-in XInclude support. You might have better luck with that. > Right now it looks like XSLT may have to be the way to go after all... =\ > > On Wed, Feb 4, 2009 at 10:54 AM, Gareth Western > <gar...@garethwestern.com> wrote: > > Michael: XOM looks like it might be what I'm looking for. I originally > > tried to use the old XIncluder project from sourceforge[1] until I > > realised I'd probably need to use XPointers (which XIncluder does not > > support either). > > > > Joseph: I had considered that, but the situation is already complex > > enough as it is so I'd rather not introduce XSLT to what we're doing > > if it can be avoided (sure, XSLT isn't _that_ complicated, but it > > would add yet another ingredient to the recipe ;-)) > > > > Thank you both for your replies! > > > > Gareth > > > > [1] http://xincluder.sourceforge.net/ > > > > On Tue, Feb 3, 2009 at 10:28 PM, <kesh...@us.ibm.com> wrote: > >> > >>> If you need support for other kinds of XPointers then you may want to > >>> take a look on the net at some of the other XInclude processors that > >>> are available. e.g. perhaps XOM [4] supports what you're looking for. > >> > >> Another quick idea: It's possible to implement an XInclude subsetas an XSLT > >> stylesheet. If that approach works for you, you can use Xalan to > process it. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org > For additional commands, e-mail: j-users-h...@xerces.apache.org [1] http://cocoon.apache.org/2.2/core-modules/core/2.2/985_1_1.html Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: mrgla...@ca.ibm.com E-mail: mrgla...@apache.org