logo       

An XML Design Possibility Question: msg#00091

windows.devel.dotnet.web

Subject: An XML Design Possibility Question

Hello Folks,

I was pondering a possibility for consideration and wondered if this isn't
that reasonable of an approach to this problem. First consider the following
XML Structure:

<data>
<book index="1">
<title>data</title>
<author>data</author>
<isbn>data</isbn>
<category>data</category>
<description>data</description>
<link>M</link>
</book>
. . .
<book index="200">
<title>data</title>
<author>data</author>
<isbn>data</isbn>
<category>data</category>
<description>data</description>
<link>M</link>
</book>
</data>

Here's what I am pondering, to store a book list in an XML file then reading
it into say an Array and building a list based on <DL> list markup. My question
is it feasible to sort the order of the data by a number of factors say
Category, or Alphabetically by Author or perhaps Title. Given the number of
items this won't display on just one page but would have to create a series of
panels to display say 10 or 20 at a time via selectable links say "1-10",
"11-20", etc.

I know I can do this with a RDBMS easily. The question is what is a decent
approach to doing this with an XML file. This is just a pondering on my part of
having another technique to solve this fairly common problem.

Any comments appreciated.
--
Best regards,
Robert mailto:robert-lists@xxxxxxxxxxxxxx
-------------------------------------------------------------
Today's Random Observation:

Maybe Computer Science should be in the College of Theology. - R. S. Barton

===================================
This list is hosted by DevelopMentor® http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise