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

Re: limit number of row return by xslt

Subject: Re: limit number of row return by xslt
From: Anton Triest <anton@xxxxxxxx>
Date: Tue, 28 Sep 2004 21:41:55 +0200
xslt limit
Hi Tham,

The stylesheet I posted will not work with a <?xml-stylesheet instruction
(by the way, the correct syntax is "xml-stylesheet", not "xml:stylesheet",
although IE doesn't seem to care about that)

The reason why it won't work for client-side transformations is that it uses
xsl:document to generate multiple output documents. That cannot be done
by a browser; you need a processor to do this, I used Saxon, the open-source
XSLT processor by Michael Kay. You can find it here:
http://saxon.sourceforge.net/saxon6.5.3/index.html (info)
http://prdownloads.sourceforge.net/saxon/saxon6_5_3.zip (download)


running "saxon input.xml wmsrpt.xslt" would produce the output html files.

HTH,
Anton


Tham Tinh wrote:


I am sorry that I am lost in your codes.  My question
is how can I make your xslt code work with my sample
xml data which I posted in the email.

What I have tried your code was that I put the
following line into xml file
<?xml:stylesheet type="text/xsl" href="wmsrpt.xslt"?>
and open the xml file in IE and it gave me error.
"The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please
correct the error and then click the Refresh button,
or try again later.



--------------------------------------------------------------------------------


System does not support the specified encoding. "

I guess that I don't have a special tool which you
called Saxon.

Thanks


=====
"It is essential to know that to be a happy person, a happy family, a happy society, it is very crucial to have a good heart, that is very crucial,"
Dalai Lama



--+------------------------------------------------------------------ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/ or e-mail: <mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx> --+--

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.