I'd say they are both correct, one is less to type, the other is easier to
add children to.

Ade

-----Original Message-----
From: Douglas McKenzie [mailto:[EMAIL PROTECTED]]
Sent: 20 November 2002 13:23
To: CF-Dev
Subject: [ cf-dev ] well formed XML


Just a quickie. Which format is correctly formed XML for an element that has
no children:

<SubCategory SubCatID="#####" SubCatDesc="#####"></SubCatID>

OR

<SubCategory SubCatID="#####" SubCatDesc="#####" />

Or are they both equally OK?

Cheers,
Douglas McKenzie


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to