I have used this node-replace statement on other types of records and it works fine, but it doesn't work for these, and it doesn't return an error. Any idea what silly error have I made?
xquery version "1.0-ml"; declare namespace ec = "http://www.alm.com/event-calendar"; xdmp:node-replace(doc("/data-sources/editorial-calendar/TheDrivetoThrive:CRECinderellaStories6321741.xml")/calendar/approval_status, <approval_status>true</approval_status>); >> your query returned an empty sequence record node example: <calendar source="local" xmlns="http://www.alm.com/event-calendar"> <ContentTitle>The Drive to Thrive: CRE Cinderella Stories</ContentTitle> <doc-uri>/data-sources/editorial-calendar/TheDrivetoThrive:CRECinderellaStories6321741.xml</doc-uri> <approval_status>false</approval_status> ... et cetera...
_______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
