[Home] [By Thread] [By Date] [Recent Entries]

  • From: Manos Batsis <manos_lists@g...>
  • To: xml-dev@l...
  • Date: Mon, 18 Feb 2008 13:58:23 +0200

Jonathan Ceballos Rodriguez wrote:
> I've a problem. I need to use a single XML which include the content of 
> several XML files.
> But I don't the name of the files. I just only know that they're in a 
> directory ("/XMLs/*.xml").
> I wold like to know if there's a way to import/include into a single XML 
> file several XML files as entities, using wildcards or referencing a 
> directory to include all the files inside it.
> 
> Could anyone help me to achieve my objective?

Maybe I'm over-engineering here, but I'd just write a script or whatever 
to inject xinclude markup in the top-level XML doc while reading the dir 
structure. Would probably take just a few minutes. This approach would 
also work for injecting entities, I just don't like them as much.

Using something like wildcards at any level may present problems if 
order matters.

Cheers,

Manos


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member