Hi,
I am a freelance software architect and NLP Researcher - 15+ years of rich experience, expertise in NLP, UML / OOAD, XML and Java.
I have very good experience in both XML-schemas, converting XML-schema to set of classes, on the one hand and text-parsers and parser generators (AntLR), on the other.
I can develop a Java solution that meets your needs. If necessaary, the functionality can be exposed as a set of RESTFul services that can be invoked by your other application components (in Delphi) using the HTTP protocol. If this is acceptable to you, pl get in touch.
Thanks,
Satya