Skip to content
Advertisement

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

JavaScript

I replace the /before:image/before:DE/before:before value to a parameter value Xsl:

JavaScript

Expected output:

JavaScript

I try to parameterize my xsl, but got the error:

JavaScript

Advertisement

Answer

Why! Shouldn’t it have been

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement