Category "xquery"

Escape special characters in XQuery or XSLT

I have an xml that has uname and pwd. The pwd has special characters like ‘&’. I am using a XQuery or XSLT to transform it.. the output generate

How to identify common values in two collections in MarkLogic

I have two XML documents like below and they are in two collections <Person> <Name>A</Name> <Age>23</Age> </Person> ano

XQuery "Cannot conver to xs:double"

Im new to learning XQuery and im not sure why i get the error "Cannot conver to xs:double" for the following code: for $element in db:open("data", "restaurants_

MarkLogic matches function with regular expression

I am new to XQuery so could you please help me to understand what is &#xA7; and &#xA7;.*$ in below MarkLogic XQuery: if (matches($cite, '&#xA7;'))

Understanding of SVC and it's impact [closed]

I would like to know about "SVC" error keyword in marklogic. What is SVC? What is it's impact? Is it a critical error or not? At what level

Ignore sub sup elements in search

In continuation from the link- (Ignore elements in cts:search) I have for eg 3 scenarios for phrase search- 1. CO<sub>2</sub> lasers 2. <sup>2

XQuery get data with response Microstrategy

I've script for this. When i runned report, i can take the returns. Token, Auth Type,Expire Time and scope. With Microstrategy and XQuery language, i want to ge