Gerard Freriks wrote:
> My question:
>
> - What is your justification for your statement?

a) Safety
b) Efficiency
c) Best practice
>
> "
>> /| Microsoft uses a lot of XML documents in its products and many of 
>> them use/
>>> /elements to contain values.  In fact if you go to W3Cschools you 
>>> will see
>>> /
>>> /the majority of examples using element values, and this is a resource
>>> /
>>> /teaching the basics of XML.
>>> /
>>> /
>>> /
>>> /
>>> /
>> /For instructional documents aimed at those learning XML it is nice 
>> and simple. //If however you are looking to create a bullet proof 
>> serialization in XML /
> /where the values matter then it is a poor design."/
>
>
> In my opinion things can equally expressed in attributes and the 
> 'elements', as this is subject to (local) agreements.
> Although CEN/tc251 has published a report (CEN/tc251 TS 15211) some 
> years ago where they proposed to express data values as an attribute, 
> I have my doubts.
> I think it is more correct to reserve attributes to express meta-data 
> about the date value in the 'XML-element'.
> Attributes to express: language, coding system, precision, etc.
   <definition 
archetype_id="openEHR-EHR-EVALUATION.check_list-condition-third_party.v1" 
xsi:type="EVALUATION">
       <Rule name="Has anyone in your family had:" 
path="/data[at0001]/items[at0004]"/>
       <Rule name="Diabetes" path="/data[at0001]/items[at0004 and 
name/value='Question group']/items[at0002]"/>
   </definition>

????

 From an OpenEHR Template.

Is this wrong? I would argue this is much better XML than that found in 
the XML serialization of an Archetype.

Adam


>
> Gerard Freriks
>
>
> -- <private> --
> Gerard Freriks, MD
> Huigsloterdijk 378
> 2158 LR Buitenkaag
> The Netherlands
>
> T: +31 252544896
> M: +31 620347088
> E:     gfrer at luna.nl <mailto:gfrer at luna.nl>
>
>
> Those who would give up essential Liberty, to purchase a little 
> temporary Safety, deserve neither Liberty nor Safety. Benjamin 
> Franklin 11 Nov 1755
>
>
>
>
>
>
> On Nov 30, 2007, at 4:15 PM, Adam Flinton wrote:
>



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