|Think about Loose Coupling|
Re^2: How to encode apostrophe and quote using XML::Writer?by jeffa (Bishop)
|on Feb 10, 2016 at 20:02 UTC||Need Help??|
"... and it outputs an XML file with the apostrophes and quotation marks intact."But the OP wanted the apostrophes and quotation marks encoded into " and &pos; however.
The source for XML::Writer has this routine defined:
But i am very unclear on how it is being called, if at all.
Here is the code that i used:
And the results:
As you can see, the double quote probably should have been encoded but not the single quote. XML::Writer seems very limited in this regard, at the very least, the documentation is unclear on how to customize your usage of the interface (and the code itself is hard to follow).
I would recommend using another XML module, perhaps even recommend using JSON instead if possible.
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)