XQUERY3 seems to work, gow for it!!
This commit is contained in:
parent
bdb858de5a
commit
55eb7c1fc0
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ namespace duck {
|
||||||
xercesc::MemBufInputSource input_buf(reinterpret_cast<const XMLByte*>(parXML.c_str()), parXML.size(), "n/a", false);
|
xercesc::MemBufInputSource input_buf(reinterpret_cast<const XMLByte*>(parXML.c_str()), parXML.size(), "n/a", false);
|
||||||
BatchResults retval;
|
BatchResults retval;
|
||||||
try {
|
try {
|
||||||
AutoDelete<DynamicContext> context(xqilla.createContext(XQilla::XQUERY_UPDATE, &xconfig));
|
AutoDelete<DynamicContext> context(xqilla.createContext(XQilla::XQUERY3_UPDATE, &xconfig));
|
||||||
//see http://xqilla.sourceforge.net/docs/simple-api/classStaticContext.html#adc869a84712459fa49db67fe837c9b01
|
//see http://xqilla.sourceforge.net/docs/simple-api/classStaticContext.html#adc869a84712459fa49db67fe837c9b01
|
||||||
context->setDefaultElementAndTypeNS(u"http://www.w3.org/1999/xhtml");
|
context->setDefaultElementAndTypeNS(u"http://www.w3.org/1999/xhtml");
|
||||||
Node::Ptr ptr = context->parseDocument(input_buf);
|
Node::Ptr ptr = context->parseDocument(input_buf);
|
||||||
|
|
Loading…
Add table
Reference in a new issue