Hi,

I’ve got an XQuery question more than a BaseX question.

I need to output a JSON object with HTML content without a parent element. 
Weird idea I grant you, but required by the people I work with.

Working from a map, in the map value, the content should not appear in a parent 
element. Instead of :

```
map { 
    ‘key' : ‘value’,
    ‘content’ : <span>this is some <hi>content</hi> etc</span>
}
```

I would like to output something like

```
map { 
    ‘key' : ‘value’,
    ‘content’ : 'this is some <hi>content</hi> etc'
}
```

Is there a way to output some HTML content without the parent element in XQuery 
?


Thanks a lot for your help,
Best regards,

Emmanuel

Reply via email to