Click here to Skip to main content
15,908,274 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: question about libxml Pin
storein19-Jan-03 14:49
storein19-Jan-03 14:49 
Generalreading attributes Pin
karanba15-Jan-03 4:01
karanba15-Jan-03 4:01 
GeneralRe: reading attributes Pin
Stephane Rodriguez.15-Jan-03 6:41
Stephane Rodriguez.15-Jan-03 6:41 
Generalattribute vs. node Pin
Marc Clifton14-Jan-03 1:19
mvaMarc Clifton14-Jan-03 1:19 
GeneralRe: attribute vs. node Pin
Michael A. Barnhart14-Jan-03 1:36
Michael A. Barnhart14-Jan-03 1:36 
GeneralRe: attribute vs. node Pin
Michael A. Barnhart14-Jan-03 1:38
Michael A. Barnhart14-Jan-03 1:38 
GeneralRe: attribute vs. node Pin
Marc Clifton14-Jan-03 1:45
mvaMarc Clifton14-Jan-03 1:45 
GeneralRe: attribute vs. node Pin
Stephane Rodriguez.14-Jan-03 1:54
Stephane Rodriguez.14-Jan-03 1:54 
ISBN is a property of the book, and there is a single instance, so it can be an attribute, or an element.

For properties or children that have more than one occurence, relying on elements is necessary. (To be honest, not really too, one could concatenate all element content within a single line, adding a separator in much the same way than CSV files).

All in all, you can think of attributes as a facultative tool to preserve size.
The use of Xml elements increase the overall size of Xml streams, even when they have no children, and that's because of the markers : <, >, /.

After all, everything in Xml could be made available as elements, and only elements.

The trouble is those people from the W3C have messed the thing up about Xml by introducing attributes, headers like ?xml, doctype, ... which are not written using the Xml syntax, and of course that stinking DTD format, which is not expressed in Xml either.



GeneralRe: attribute vs. node Pin
Michael A. Barnhart14-Jan-03 1:59
Michael A. Barnhart14-Jan-03 1:59 
GeneralRe: attribute vs. node Pin
Michael Dunn15-Jan-03 18:08
sitebuilderMichael Dunn15-Jan-03 18:08 
GeneralRe: attribute vs. node Pin
Michael A. Barnhart15-Jan-03 23:26
Michael A. Barnhart15-Jan-03 23:26 
GeneralRe: attribute vs. node Pin
Michael Dunn16-Jan-03 9:48
sitebuilderMichael Dunn16-Jan-03 9:48 
GeneralRe: attribute vs. node Pin
Christian Graus15-Jan-03 18:22
protectorChristian Graus15-Jan-03 18:22 
GeneralRe: attribute vs. node Pin
Stephane Rodriguez.16-Jan-03 2:07
Stephane Rodriguez.16-Jan-03 2:07 
GeneralRe: attribute vs. node Pin
Christian Graus16-Jan-03 10:17
protectorChristian Graus16-Jan-03 10:17 
GeneralSome questions about XML Pin
Marc Clifton12-Jan-03 10:52
mvaMarc Clifton12-Jan-03 10:52 
GeneralRe: Some questions about XML Pin
Christian Graus12-Jan-03 11:06
protectorChristian Graus12-Jan-03 11:06 
GeneralRe: Some questions about XML Pin
Marc Clifton12-Jan-03 14:29
mvaMarc Clifton12-Jan-03 14:29 
GeneralRe: Some questions about XML Pin
Michael A. Barnhart12-Jan-03 14:43
Michael A. Barnhart12-Jan-03 14:43 
GeneralRe: Some questions about XML Pin
Stephane Rodriguez.14-Jan-03 4:08
Stephane Rodriguez.14-Jan-03 4:08 
GeneralRe: Some questions about XML Pin
Taka Muraoka12-Jan-03 11:58
Taka Muraoka12-Jan-03 11:58 
GeneralRe: Some questions about XML Pin
Marc Clifton12-Jan-03 14:34
mvaMarc Clifton12-Jan-03 14:34 
GeneralRe: Some questions about XML Pin
me12-Jan-03 13:14
me12-Jan-03 13:14 
GeneralRe: Some questions about XML Pin
Marc Clifton12-Jan-03 14:35
mvaMarc Clifton12-Jan-03 14:35 
GeneralRe: Some questions about XML Pin
me12-Jan-03 16:03
me12-Jan-03 16:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.