Skip to content
Advertisement

Tag: nosql

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

MongoDb update with ElemMatch

I have a collection that has document structure like following: Mongo PlayGround As you can see, each document has basicDetails object and a tasks array. Each task contains some properties of its own and a subtasks array. I want to update subtasks’s description from ABC to XYZ where root level id is 1, task’id is 10 and subTasks.id =120 How

Advertisement