[Home] [By Thread] [By Date] [Recent Entries]
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] |

Cart



