I got some sensible xml data I’d like to parse with Xerces (generated by CodeSynthesis).
On disc it is crypted so I load it, uncrypt it and … I’m stuck as Xerces only takes files as input.
I have thought about overloading one of the ‘readers’ (ie. std::istream or xercesc::InputSource) and fake the disc reading but it seems as quirky as inelegant.
Are there any simpler and neater way to do this?
Thanks!
You can use the
MemBufInputSourceclass:instead of