473,624 Members | 2,584 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 1413
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
7086
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(); iframeObject.contentDocument.writeln(data);
2
3119
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, orders.invoicedate FROM products INNER JOIN ((affiliates INNER JOIN Customers ON
5
6310
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. The simplest and probably least satisfactory way is to format it in very simple HTML and import it...
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 presentation that is alphabetically ordered by name. What I would like to do, is to write code that...
2
2026
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 orders for the day. When the program is done taking orders, display the total number of pies...
4
3661
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 modules would need to print a clear report so I used the open source SharpPDF library to generate the...
1
1065
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 Orders table), Manufacturer, CatalogNo, Price, Quantiy, etc. The report I have now is grouped by...
2
2316
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 narrative description. I am using Access 2003. The database is for property management. I have...
0
1878
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
8249
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8179
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8685
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
7176
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6112
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4084
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4187
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2613
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
1
1797
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.