An invalid replacement string was supplied to fn:replace. The error is usually one of these cases:
The replacement string contains a "$" character that is not immediately followed by a digit 0-9 and not immediately preceded by a "\".The replacement string contains a "\" character that is not part of a "\\" pair and not immediately followed by a "$" character.
Response
Correct your code.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.