OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Several external entities in an XML

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.



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

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS