Hi folks,
Sorry for the basic question, but I'm new to XML. I was just wondering if there was any difference between:
<database>
<table name = 'Sales'>
....
< /table>
< /database>
I mean, I know that the table will only have 1 name, so is it ok to use an attribute there? I've read lots of stuff about HOW to use elements and attributes, and very little on WHEN to use one or the other...
I'd appreciate any help!
Sorry for the basic question, but I'm new to XML. I was just wondering if there was any difference between:
<database>
<table name = 'Sales'>
....
< /table>
< /database>
I mean, I know that the table will only have 1 name, so is it ok to use an attribute there? I've read lots of stuff about HOW to use elements and attributes, and very little on WHEN to use one or the other...
I'd appreciate any help!