|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Using attributes and elements and text
I have never see a conclusive definition on when using attributes
instead of elements (besides one that says by using attributes one is
sure that it is a leaf of the tree), and also using text values in
nodes uith childs. Let me put it this way; what are the functional
diferences between these constructs?
<XHoras>
<Assuntos>
<Assunto K="123">
As armas e os barues assinalados
<Detalhes>
<Tipo>0</Tipo>
<Detalhe/>
</Detalhes>
</Assunto>
</Assuntos>
</XHoras>
<XHoras>
<Assuntos>
<Assunto>
<K>123</K>
As armas e os barues assinalados
<Detalhes>
<Tipo>0</Tipo>
<Detalhe/>
</Detalhes>
</Assunto>
</Assuntos>
</XHoras>
<XHoras>
<Assuntos>
<Assunto>
<K>123</K>
<Desc>
As armas e os barues assinalados
</Desc>
<Detalhes>
<Tipo>0</Tipo>
<Detalhe/>
</Detalhes>
</Assunto>
</Assuntos>
</XHoras>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








