Skip to content
Advertisement

Tag: marklogic

Querying MarkLogic merged collection

I’m trying to write a query to get the unique values of an attribute from the final merged collection(sm-Survey-merged). Something like: I get a tree-cache error with the below equivalent JS query. Can someone help me with a better query? Answer If there are a lot of documents, and you attempt to read them all in a single query, then

xslt node replace then ingest with javascript

I replace in memory XML node based on specific path before ingestion into NoSQL (marklogic) database. Input: /doc1.xml I replace the /before:image/before:DE/before:before value to a parameter value Xsl: Expected output: I try to parameterize my xsl, but got the error: Answer Why! Shouldn’t it have been

Advertisement