XML Help: How should I structure it?
I’m trying to get all the text in a webpage into an XML file. I’ve decided to break the page into "sections" which can contain "headers" and "bodies" which contain the majority of information. Is this too repetitive? Is there a better way? Thanks.
<text language = "english">
<sections>
<section id="header">
<header>Read</header>
</section>
<section id="select_language">
<header>Select Language:</header>
<bodies>
<body>English</body>
<body>Spanish</body>
<body>Mandarin</body>
<body>Hindi</body>
</bodies>
</section>
</sections>
</text>
My main concern is with the repeating <body> tags and if it’s okay to have a lot of <sections> with different content within each.