OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
xml: how do you write it?
This page's ID:
10748
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Either way works, I'd use child elements though, like: [code]<person sex="female"> [b]<firstname>Mary</firstname>[/b] <lasname>Johnson</lastname> </person>[/code] Here's what I grabbed from [url=http://www.w3schools.com/]W3Schools[/url]: [quote]There are no rules about when to use attributes, and when to use child elements. My experience is that attributes are handy in HTML, but in XML you should try to avoid them. Use child elements if the information feels like data[/quote] [img]http://some.scudly.com/exp/mary_cube.gif[/img] [This message has been edited by synax (edited 06-05-2002).]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »