[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: RE: Infinte nesting with sorting

Subject: RE: RE: Infinte nesting with sorting
From: Henk Meulekamp <henkm@xxxxxxx>
Date: Fri, 11 Jan 2002 14:19:08 +0100
sort msxml2.domdocument asp
To give you a little push in the right direction, msxml4 is installed
side-by-side by default. (there is no other option. So install this version
on your server, and all your current code will keep on working as it did
with the old version. You can then use msxml4 in your new code.

Msxml4 is located at:

ASP :: Server.CreateObject("msxml2.domdocument.4.0")

VB ::	CreateObject("msxml2.domdocument40")


And sorry I really cant help you with WD-xsl, this list is about the
standardized xsl.

| -----Original Message-----
| From: Oscar Rueda [mailto:orp@xxxxxxxxx] 
| Sent: vrijdag 11 januari 2002 13:28
| To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
| Subject: Re: RE:  Infinte nesting with sorting
| Thanks for the reply, but I can't upgrade because I do 
| transformations on server-side
| In case somenone is interested, I've been able to do it with this XSL:
| <?xml version="1.0" encoding="ISO-8859-1" ?>
| <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
| <xsl:template match="/">
| <xsl:apply-templates select="//Issue" order-by="+@id"/>
| </xsl:template>
| <xsl:template match="Issue"><p>
| <xsl:value-of select="@id" />
|   <xsl:apply-templates  /></p>
| </xsl:template>
| <xsl:template match="Chapter">
| <xsl:value-of select="@id" />
|       <xsl:apply-templates select="Chapter" order-by="+@id" /> 
| </xsl:template>
| </xsl:stylesheet> 
| This transforms properly the XML
| Oscar Rueda
| 11/01/02 13:16:12, "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> 
| escribió:
| >> But sorting the chapters looks painful, does anyone have a clue?
| >>
| >> By the way, I'm using IE5, so I can't use <xsl:stylesheet 
| >> version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
| >>
| >Everything is painful when using WD-xsl, and you're unlikely 
| to get any 
| >advice from this list other than to upgrade to XSLT as soon as you 
| >possibly
| >can: the longer you leave it, the more difficult adn 
| expensive it will be.
| >
| >Your statement that you can't use XSLT because you're using IE5 is 
| >quite
| >incorrect: all you need to do is download and install MSXML3.
| >
| >Mike Kay
| >
| >
| > XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
| >
| >
| >
|  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.