logo       

Re: An XML Design Possibility Question: msg#00093

windows.devel.dotnet.web

Subject: Re: An XML Design Possibility Question

Sounds like a job for XSLT. It's very common for XSLT to be used to
convert XML data into HTML.

http://www.peterRitchie.com/

On Mon, 13 Jun 2005 22:44:34 -0700, Robert Dickson <robert-
lists@xxxxxxxxxxxxxx> wrote:

>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.
>

===================================
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