Peter Gummer wrote:
> sam.heard signatureSam Heard wrote:
>
>   
>> What we need is an XSL Script that consumes XML archetypes ...
>>     
>
>
> Hi Sam,
>
> XSLT is ok in small doses, but it becomes unmaintainable for anything 
> complex. Other approaches share the advantages claimed at 
> http://www.openehr.org/wiki/display/dev/Archetype+to+HTML: "It can be used 
> anywhere and on any platform and should easily allow localisation. Many 
> people know how to tweak and maintain XSL."
>
> Just about any language these days has XML parsing libraries. Almost any 
> language would be more maintainable than XSLT (even something as grotty as 
> Perl). The transforms for XML archetypes would become quite complex, I 
> imagine, especially with the localisation requirement.
>
> My own experience with XSLT is summarised by the second-last paragraph of 
> http://lists.xml.org/archives/xml-dev/200103/msg00647.html: '... developers 
> whom I know are going over the same path with  XSLT : "It is cool and 
> simple - It is cool and complex - It is complex and it does not look cool 
> for me".'
>
>
> But why generate the HTML from XML archetypes rather than ADL? There's 
> already a solid, cross-platform ADL parser. Why not use that?
>
>   

What happens if/when XML archetypes become the norm? Are you seriously 
considering going XML > ADL > HTML?

Adam

> - Peter 
>
>
> _______________________________________________
> openEHR-technical mailing list
> openEHR-technical at openehr.org
> http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical
>   


**********************************************************************
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
**********************************************************************


Reply via email to