Chunlan Ma wrote:
> Dear Adam,
>
> I totally understand the XML issues that you described in your previous
> email. However, this problem doesn't exist if you use oXygen xml
> editor. I
> just downloaded Altova XMLSpy 2008. I opened an archetype XML file using
> XMLSpy 2008 and did pretty-print and then saved it. I don't have any
> issues
> to open the saved xml using Ocean Archetype Editor (Release 1 candidate
> (1241)). Additionally, putting element text value as an attribute value
> would make the xml file looks very ugly when the value is a long string,
> e.g. people can put very long string (100 words or 200 words or even
> more)
> for the purpose, description, and use fields.
>
> Regards,
>
> Chunlan
>
>
A) If you don't care about the layout of the text e.g. the introduction
of line endings & tabs etc then wrt text that is true.
If you do care about the layout then it would be best to have a <text>
</text> child which contains a markup/layout dialect such as XHTML.
B) The ADL is pretty printed & deals with this by in effect using the
same markup as an XML attribute:
e.g.:
["at0002"] = <
description = <"*">
text = <"Procedure started date time">
C) Yes Oxygen can/does do pretty print. It is a std part of XML & has
been since before 1.0.
e.g.
http://www.oxygenxml.com/xml_pretty_print.html
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
**********************************************************************