From: Loren C. <lor...@gm...> - 2010-04-21 03:10:54
|
Dan pointed me to: http://en.wikibooks.org/wiki/Apache_Ant/XQuery On Apr 20, 2010, at 09:36 PM, Joe Wicentowski wrote: > Hi Dmitriy, > > Thanks for your response. But, to clarify, Loren was asking how to > extract info from an XML file stored on the *file system* (not a file > stored in the database) using an ant task. > > Joe > > > On Tue, Apr 20, 2010 at 10:30 PM, Dmitriy Shabanov <sha...@gm...> wrote: >> Only app-info.xml(s) should have xrx:app-info, IMHO. That will solve a >> lot of problems for you, why you need xrx:app-info at others files? >> >> Well, you can check it by /xrx:app-info/parent:document()[some eq >> "app-info.xml"]/xrx:app-info/xrx:classifier/ (that is idea, it will not >> run as it) >> >> We did something like this several days ago, but I can't remember what >> exactly did we write. >> >> Hope, it will help. >> >> On Tue, 2010-04-20 at 17:36 -0500, Loren Cahlander wrote: >>> Hello all, >>> >>> >>> I am wanting to do a query of n XML files that are >>> in ../db/cms/apps/app/app-info.xml for /xrx:app-info/xrx:classifier >>> where the classifier text is a certain value. >>> >>> >>> I know that I do not have the advantage of the files being resources >>> in an eXist database. Does anyone have a suggestion for an ant task >>> to perform this query on all on the app-info.xml files >>> under ../db/cms/apps? >>> >>> >>> This will simplify the maintenance on my build scripts for populating >>> the eXist server. >> >> -- >> Cheers, >> >> Dmitriy Shabanov >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Exist-development mailing list >> Exi...@li... >> https://lists.sourceforge.net/lists/listinfo/exist-development >> >> |