Hi,
 
I have a xquery code in 0.9-ml that works fine. However, i can not find how to 
write in 1.0
 
xquery version '0.9-ml'
xdmp:node-insert-child(doc('/resources/lists/editions.xml')/Root, <Item 
Name={<![CDATA[zz]]>}/>)
 
Ok
 
xquery version '1.0-ml';
xdmp:node-insert-child(doc('/resources/lists/editions.xml')/Root, <Item 
Name={<![CDATA[zz]]>}/>)
 
[1.0-ml] XDMP-UNEXPECTED: (err:XPST0003) Unexpected token syntax error, 
unexpected Junk_, expecting TagQName_


 
 
Regards,
 
Mariano Grau
mgrau @ grupojoly.com
Dpto. Sistemas
Grupo Joly
 
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to