473,500 Members | 1,661 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating, saving pages showing xml docs in various sort orders automatically

I can see from
http://72.14.203.104/search?q=cache:...s&ct=clnk&cd=3
how XML is transformed by XSL into a sorted HTML table. That is, the
XSL turns the XML, which is not alphabetically ordered by name, into a
presentation that is alphabetically ordered by name.

What I would like to do, is to write code that would automatically
create and save to disk, several different ordered lists pages, each
page containing the given xml sorted by a different column, one page
for each possible columnar sort.

Also, through the code I write, I want to be able to automatically
force the created pages, to cross link to each other, so that clicking
on a column header produces in the browser the XML in question sorted
according to the order in the column titled by the clicked on column
header.

Which software/programming language would be the best to use to
accomplish the goals I have in mind?

Mar 21 '06 #1
4 1393
Hi,
Which software/programming language would be the best to use to
accomplish the goals I have in mind?


Well, since you're posting in this News Group, I would say, use .NET
with VB or C# !!

Regards,

Cerebrus.

Mar 21 '06 #2
vi*******@rcn.com wrote:
Which software/programming language would be the best to use to
accomplish the goals I have in mind?


Anything that runs on your available platforms (desktop or server), has
access to a rudimentary XML DOM and XSLT transform engine, and ideally
is a language you already know.

Python or Ruby could do it easily if you want to be fashionable. Perl
for the diehards. Java if you're already using Java, but it's more
heavyweight than some other choices. JavaScript could do it too, if you
have a suitable run-time (i.e. doing it within a browser would be
tricky). Shell scripting is not a good idea for XML processing.

Mar 21 '06 #3
vi*******@rcn.com wrote:
I can see from
http://72.14.203.104/search?q=cache:...s&ct=clnk&cd=3
how XML is transformed by XSL into a sorted HTML table. That is, the
XSL turns the XML, which is not alphabetically ordered by name, into a
presentation that is alphabetically ordered by name.

What I would like to do, is to write code that would automatically
create and save to disk, several different ordered lists pages, each
page containing the given xml sorted by a different column, one page
for each possible columnar sort.

Also, through the code I write, I want to be able to automatically
force the created pages, to cross link to each other, so that clicking
on a column header produces in the browser the XML in question sorted
according to the order in the column titled by the clicked on column
header.

Which software/programming language would be the best to use to
accomplish the goals I have in mind?


XSLT2 has the ability to write multiple output files
(XSLT1 is restricted to one).

///Peter
--
XML FAQ: http://xml.silmaril.ie
Mar 21 '06 #4
Peter Flynn wrote:
XSLT2 has the ability to write multiple output files
(XSLT1 is restricted to one).


.... though many (most?) XSLT1 processors come with an extension which
gives them this ability. Alternatively, it's possible to create a single
combined doc and then run additional stylesheets (or possibly a single
stylesheet repeatedly with different parameters) to pull out the
appropriate subsets.

(My newsserver doesn't admit microsoft.public.* exists, so you lose the
crossposts.)

--
Joe Kesselman / Beware the fury of a patient man. -- John Dryden
Mar 21 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
7053
by: Mcginkel | last post by:
I am trying to find a way to load XHTML content in an Iframe. I use to do this in html by using the following code : var iframeObject = document.createElement("iframe");...
2
3102
by: Hohn Upshew | last post by:
I need some help to build a report enumerating the products in descending order depending on the sum of liters. In this way i can view the top products sold for a given period.But i fail to do...
5
6294
by: Peter Chant | last post by:
Any thoughts in the newsgroup? Over Christmas I produced, using PHP and MySQL, a database and front end to record my familys family tree with a short biography and linked photos and locations if...
3
344
by: vincemoon | last post by:
I can see from http://72.14.203.104/search?q=cache:6f-yXCR3f8kJ:www.readol.net/books/computer/WEb/XML%2520Programming/xmlproghtml/32ch08b.htm+%22metadata+about+any+entity%22&hl=en&gl=us&ct=clnk&cd=3...
2
2019
by: gaga | last post by:
hi all, i need to write a program - cash register for dummies, so to speak. here's the gist - enter the amount of pies that a person wants to get. A person can get either, 1, 2, 3, or 4 pizza...
4
3647
by: sklett | last post by:
I've developed an ERP application that we use internally and works quite well. I receiving more and more requests from users to print various transactions, order forms, search results, etc. I...
1
1052
by: dan928tx | last post by:
Hi, I'm new to Access and I am using the 2007 version. I'm trying to create a report that will be generated from a table and/or form. I have an Orders table and an OrderDetails table. The...
2
2294
by: adwest | last post by:
Forgive me if this is a foolish question. I "play" in Access and have only created a few rather simple relational databases. My knowledge and experience is limited. I have no formal training, just...
0
1870
by: henry | last post by:
Folks: Thank you all for your replies. I'll reply briefly to each key point: Thanks! You are probably correct. I wanted to be aware of other options, that's all. Part of what got me in...
0
7183
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7235
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6909
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5491
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4923
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4614
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3108
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1431
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
317
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.