[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Using attributes and elements and text

Subject: Using attributes and elements and text
From: António Mota <amsmota@xxxxxxxxx>
Date: Thu, 24 Feb 2005 17:38:04 +0000
what is xhoras
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>

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.