From: Dan M. <dan...@gm...> - 2011-05-12 14:14:03
|
Hello David, Thanks looking into getting XMLSH to run on eXist. I am looking forward to being a beta tester! I have been a big fan of the concept of building libraries of small reusable components of XML filters that can work together like UNIX pipes for a long time. I frequently need a small XQuery "node filters" that can be chained together to cleanup incoming XML data. This is similar to the goals of XProc project and has been something that many people could use. So your work on an eXist version XMLSH seems like a great step in this direction. If you are looking for samples of XQuery functions that we could chain-together from a command-line I hope we look at the "Node Filters" Wikibook article here: http://en.wikibooks.org/wiki/XQuery/Filtering_Nodes These XQuery functions could provide the basis for a small series of shell-like commands for filtering XML using XQuery. Let me know when you need help beta testing! - Dan On Thu, May 12, 2011 at 8:44 AM, David Lee <dl...@ca...> wrote: > ( new subject to start new thread) > > > > Thanks for all the great feedback. I had no idea the Exist community was > so responsive, or that anyone was using xmlsh or wanted to with Exist. > Thanks ! > > From reading the messages and more studying the exist docs I'm going with > the following approach for now > > > > Use the REST interface for everyting (put/get , invoke etc). > > Like the MarkLogic sample I'll implement in native java code just the core > components > > Put a file (set of files) .. > > Get file (set of files) > > Invoke ad-hoc query > > Invoke stored query > > > > > > From those building blocks I should be able to easily (and efficiently) > script anything else such as admin commands and make them available as > normal commands. (this is what I do with marklogic, for example the "dir" > command invokes an ad-hoc query then is post-processed). > > > > In fact I could script the entire set using the xmlsh http command > > http://www.xmlsh.org/CommandHttp > > > > It would be nearly as efficient as rewriting it in pure java ... but I > think I'll write the core REST code in java so I can have finer control over > the HTTP session and avoid some inefficiency by using lower level code to > construct the URLs and payload. > > > > I couldn't find it but I presume the REST interface works with https as > well (should be no reason it wont). > > > > I dont have any ETA .,.. its "time permitting" as I already have > significant 'day job' commitments ... but I'll keep the list posted. I'd > love to expose a beta of this to interested developers before an official > release so I can get feedback. > > > > > > After this (maybe WAY after) I'd like to tackle the other end. > Integrating xmlsh as a xquery command within exist. > > But first things first. > > > > Thanks again for the great information ! > > > > -David > > > > > > ---------------------------------------- > > David A. Lee > > dl...@ca... > > http://www.xmlsh.org > > > > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > > -- Dan McCreary Semantic Solutions Architect office: (952) 931-9198 cell: (612) 986-1552 |