|
[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message] querying an xml file with namespacesMichaël Michaud michael.michaud at free.frWed Jan 11 23:17:44 PST 2006
Hello, I try to query an xml file with nux XQueryUtil. First time, i get messages such as "Prefix md has not been declared" I could get the result by adding something like "declare namespace md="http://www.isotc211.org/2005/gmd";" in front of my query string. Now I try to read the namespaces first with another query XQueryUtil.xquery(node, "//namespace::*") to automatically add the namespaces in front of my main query, but I get the message : "The namespace axis is not available in XQuery" Question : what is the simple method to query an xml file using namespaces ? Thanks a lot. Michaël
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






