Hello BaseX team,

 

I need to insert a node that has an attribute with two double quotes.

 

An example:

let $message:='<Amt Ccy=""GBP"">3.00</Amt>'

return insert nodes fn:parse-xml-fragment($message)

as last into doc('testingdb/testing.xml')

 

The GBP attribute is with two “ so it gives the error:

SAX: file://C:/Program$20Files(86)/BaseX/(Line1): whitespace expected, attribute name found.

 

How can I solve the issue?


P
Respectons ensemble l'environnement. N'imprimez ce message que si nécessaire. Let's respect the environment together. Only print this message if necessary.