473,563 Members | 2,767 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 1408
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.c om 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.c om 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.publi c.* 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
7076
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"); MyDiv.appendChild(iframeObject); var data = "<html><head><title>testing</title></head><body>data</body></html>" iframeObject.contentDocument.open();...
2
3111
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 it. In my query i have build a total as follows SELECT products.Productid, products.grade, products.size, Sum(.liters) AS SumOfliters,...
5
6302
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 desired. All this works fairly well. However, as a followup I'd like to create a report this data as a report (or booklet) in printed format. ...
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 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...
2
2024
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 pies. At the end of the day, the worker enters in -1 (negative 1), as the number of pies, to indicate to the program that the program is done taking...
4
3656
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 haven't decided what the best way to do this is because I don't have much experience with generating printable forms. Early on I knew one of my...
1
1058
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 Orders(Parent) table contains an ID, Vendor, Various Dates while the OrderDetails(Child) contains the actual products ordered with the ID, OrderID(Linked from...
2
2310
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 picked up a few books and have gone from there... I'm not sure how to relate my question using the accepted shorthand, so I'm afraid this will be a...
0
1873
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 this mess is not finding out enough before I jumped in.
0
7665
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7888
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8106
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7642
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7950
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6255
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2082
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 we have to send another system

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.