[Gllug] Open Source for charities?
Ryan Cartwright
ryan at crimperman.org
Fri May 5 10:39:24 UTC 2006
t.clarke wrote:
> I bet the XML document contains 5 million bytes of tags and a few hundred of
> actual data !haha
Actually it's not that bad but still quite entertaining.
You get 32 lines of Adobe comment/advert at the top (which in this case
doubled the length of the file) then there's sections which contain the
data within tags for each question. So it's <Section><address>123 High
Street etc.</address><name>Name<.name></Section>.
It all seems quite simple but the real wonder in the one I saved was
that each tag had line breaks within the tag construct. Add to that the
DOS carriage returns at the end of each "question" and what you see (in
vim for example) is..
<P1
>^M
<address
>123 High Street</address
>^M
</P1
>^M
which of course, for 11 questions, is so much easier to manage that a
simple formmail result. :o)
Of course the XML formatting is not NCC's problem but forcing us to use
Acrobat for something like this is.
Ryan
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list