Re: [HAPI-devel] XML to HL7

2008-02-20 Thread Marco Montel
Hello Edgard, If your application should only convert XMLHL7 messages into classic HL7 messages you do not need an explicit cast to a special kind or version of message. Just use the ca.uhn.hl7v2.model.Message interface ca.uhn.hl7v2.model.Message msg = xmlParser.parse(xmlMessage);

Re: [HAPI-devel] XML to HL7

2008-02-19 Thread Marco Montel
Hello Edgar, You can try using the MyXMLParser implementation of XMLParser. ca.uhn.hl7v2.parser.XMLParser xmlParser = new ca.uhn.hl7v2.parser.MyXMLParser(); ca.uhn.hl7v2.model.Message msg = xmlParser.parse(xmlMessage); bye, Marco Montel Edgar Magaña Perdomo ha scritto: > Hello

Re: [HAPI-devel] XML to HL7

2008-02-18 Thread Nico Vannieuwenhuyze
Hi Edgar, Can you please explain a bit more in detail ? HAPI can be used to parse incoming vertical bar encoded messages and v2.xml messages. Both formats can also be output (encoded). Hope this helps... Best Regards Nico At 15/02/2008, Edgar Magaña Perdomo wrote: >Hello Folks, > > I am ne

Re: [HAPI-devel] XML to HL7

2008-02-15 Thread Edgar Magaña Perdomo
Hello Folks, I am new working on HAPI and I would like to know if it has implemented the parser from XML to HL7 messages. I know that is implemented the one from HL7 to XML but I am not sure for the other way. Thanks in advance, Edgar --