xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jenny.bou...@nl.ibm.com
Subject Leaving elements with values open
Date Wed, 18 Apr 2001 13:51:30 GMT



Hi,

I have a basic question about XML format.  It has probably already been
dealt with but I cannot access the archive at the moment.

The question is, is it okay to leave an element that contains a value,
open, to be closed a few lines later?   ie does the value now contain a new
line character or is this new line considered to be whitespace which is
ignored by XML parsers.

example:

<HW_UPGRADES>
<HU_FROM_MODEL>250
<HU_TO_MODEL>270</HU_TO_MODEL>
<HU_TO_MODEL>280</HU_TO_MODEL>
</HU_FROM_MODEL>
</HW_UPGRADES>

thanks
Jenny



---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


Mime
View raw message