Hi PJ, There are numerous ways you can do this, one of the ways is using Sedna XML:DB API.
In Sedna XML:DB there is a Module Management Service: http://www.cfoster.net/html/xmldb/javadoc-xmldb-api/net/cfoster/sedna/ModuleManagementService.html This will allow you to add XQuery Modules, like functx as well as remove them. OR, you could perform SednaUpdateService.update(String) passing the argument: LOAD MODULE "http://www.xqueryfunctions.com/xq/functx-1.0-nodoc-2007-01.xq" Regards, Charles > Hi all > > here is my first pack of question : > > 1- is it a way to implement natively all this functions : > http://www.xqueryfunctions.com > to be abble to call it without redeclare it each time ? > Some sample in a FLWOR ? > > 2- will/does Sedna support http://www.w3.org/TR/xquery-update-10/ ? > Some sample in a FLWOR ? > > 3- in a node like <MYNODE><NAME>bob</NAME> ... </MYNODE> > i want to transform it in <MYNODE NAME="bob> ... </MYNODE> > so : > for $a in doc("MYDOC")//MYNODE > return ???? > > tank you very much > > PJ > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Sedna-discussion mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sedna-discussion > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Sedna-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sedna-discussion
