With a compression algorithm, the difference may be negligible. Heath's first example is smaller than the second when zipped due to the repeated strings.
Of course, the result may be quite different for a larger sample where "value=" is repeated. regards, Colin > -----Original Message----- > From: openehr-technical-bounces at openehr.org > [mailto:openehr-technical-bounces at openehr.org] On Behalf Of > Peter Gummer > Sent: Monday, 21 April 2008 12:17 PM > To: For openEHR technical discussions > Subject: Re: Archetype documentation using XML + XSLT > > > Adam Flinton wrote: > > >> I have already noted how using text children of an element to use a > >> value vs a std "value" attribute in the archetype xml > inflates the file > >> sizes. > >> > >> <A> > >> Some value > >> </A> > >> > >> & > >> <A value=""Some value"/> > > > And Heath Frankel replied: > > > Your example here is contrary to your statement, example 1, > 17 characters, > > example 2, 23 characters. Not sure how you get a 1/3 size > reduction. > > > <WellHeathIfYourTagsAreReallyReallyLongAndYourDataValuesAreRea > llyReallyShortThenYouWouldGetAtLeastAOneThirdSizeReduction> > ok? > </WellHeathIfYourTagsAreReallyReallyLongAndYourDataValuesAreRe > allyReallyShortThenYouWouldGetAtLeastAOneThirdSizeReduction> > > > <WellHeathIfYourTagsAreReallyReallyLongAndYourDataValuesAreRea > llyReallyShortThenYouWouldGetAtLeastAOneThirdSizeReduction > value="ok?"/> > > > - Peter > > > _______________________________________________ > openEHR-technical mailing list > openEHR-technical at openehr.org > http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical > ##################################################################################### This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal ##################################################################################### #################################################################################################################### IMPORTANT NOTICE: This e-mail and any attachment to it are intended only to be read or used by the named addressee. It is confidential and may contain legally privileged information. No confidentiality or privilege is waived or lost by any mistaken transmission to you. The CTC is not responsible for any unauthorised alterations to this e-mail or attachment to it. Views expressed in this message are those of the individual sender, and are not necessarily the views of the CTC. If you receive this e-mail in error, please immediately delete it and notify the sender. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. #####################################################################################################################

