I am dealing with some JSON-LD data in MarkLogic and have trouble using XPath on property names with "@" symbol. For example:

```
{
  "@type": "News",
  "title": "some title",
  "description": "some description"
}

```

My goal is to retrieve the title if the type is "News". I understand "@" is reserved to represent attribute in XPath, so something below should not work.

```js
doc.xpath('.[@type="News"]/title')

```

With the `xdmp.encodeForNCName` function, I see the "@" symbol is represented as `_40_` in the JSON representation. But it still doesn't work.

```js
doc.xpath('.[_40_type="News"]/title')

```