Why is this marked as invalid?
The query below:
let $sp := <serialization-parameters xmlns="http://www.w3.org/2010/xslt-xquery-serialization"> <use-character-maps> <character-map character="#" map-string="123"/> </use-character-maps> </serialization-parameters> return fn:serialize(<my>#abc</my>, $sp)
issues the result:
<my>#abc</my>
Shouldn't this be:
<my>123abc</my>
?
Why is this marked as invalid?
The query below:
let $sp := n-parameters www.w3. org/2010/ xslt-xquery- serialization"> character- maps> character- map character="#" map-string="123"/> character- maps> on-parameters> <my>#abc< /my>, $sp)
<serializatio
xmlns="http://
<use-
<
</use-
</serializati
return
fn:serialize(
issues the result:
<my& gt;#abc& lt;/my& gt;
Shouldn't this be:
<my& gt;123abc& lt;/my& gt;
?