On Fri, Jun 6, 2008 at 1:42 PM, Adam Flinton <adam.flinton at nhs.net> wrote:
> Greg Caulton wrote: > >> If you are familiar with Maven, the best way is to check out the latest > >> version from the trunk and build from source. You could also download > jars > >> from the continuous integration server from here > >> http://openehr.cambiosys.org/continuum. Just click the component and > follow > >> the link "working copy" and pick up the jar files form the sub-directory > >> "target". > >> > >> Cheers, > >> Rong > >> > > > > Awesome, one jar and one line of code and I have the Archetype object > > from the source ADL - sweet. I'll thank you in person next week :-) > > > > > >> Greg - I think this question would be better on the implementers list - > >> to avoid causing too many heart attacks among the readers of this list > >> on seeing actual code ;-) > >> > >> - thomas beale > >> > > > > Don't worry, I won't show the one line of code :-) > > > > thanks! > > > > > > > > A) Given an ADL how long does it take to create an object from the ADL? > B) Is there anyway within that code to then write out the XML ? > C) Has there been any forwards movement on starting with an XML & > getting to the same object (& possibly then writing out the ADL)? > Hi Adam, Parsing ADL into AOM is already supported by the adl-parser from the Java project. Serializing AOM into XML is also supported. The code for parsing XML into AOM is donated by Zilics and will be merged with the components on the Trunk. So we are not far away from the round trip goals between ADL and XML. What's left is to map AOM classes and the XML binding classes generated from the schema. Cheers, Rong > > i.e. at some point I'd like to be able to test round tripping i.e. load > an ADL, generate XML, load this XML & gen the ADL, then compare the 2 ADL. > > & be able to do this starting with the XML form i.e. load an XML, > generate ADL, load this ADL & gen the XML, then compare the 2 XML. > > Adam > > > > > > ********************************************************************** > This message may contain confidential and privileged information. > If you are not the intended recipient please accept our apologies. > Please do not disclose, copy or distribute information in this e-mail > or take any action in reliance on its contents: to do so is strictly > prohibited and may be unlawful. Please inform us that this message has > gone astray before deleting it. Thank you for your co-operation. > > NHSmail is used daily by over 100,000 staff in the NHS. Over a million > messages are sent every day by the system. To find out why more and > more NHS personnel are switching to this NHS Connecting for Health > system please visit www.connectingforhealth.nhs.uk/nhsmail > ********************************************************************** > > _______________________________________________ > openEHR-technical mailing list > openEHR-technical at openehr.org > http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20080607/5dbc27e1/attachment.html>

