By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,037 Members | 1,839 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,037 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.