From: Olivier M. <om...@ti...> - 2004-08-31 21:06:14
|
Jim Starkey wrote: > What are your thoughs about the relative merits of > > <column name='"HERRING" value="RED"/> > > and > > <column name='"HERRING">RED</column> Both are incorrect. The opening single quote is a typo, I suppose. ;-) On an XML point of view, the second one is more logical. The 'column' element is meant to represent a column value, it has an attribute (its name) which qualifies it, and the 'value' comes naturally in the element text body. It imposes some more escapes ('<' for instance), that's all. Oh btw, '&' has to be escaped, both in an attribute value and in the element text. '&' is common for such escape. -- Olivier Mascia |