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

Re: XSL transformation from a java servlet

Subject: Re: XSL transformation from a java servlet
From: RSuiter@xxxxxxxxx
Date: Wed, 6 Oct 1999 22:17:46 -0500
servlet xsl transformation


Clay Rowland wrote:

>i am encountering a problem with the position() function when i include in
in my
>xsl document.  i am using a java servlet to perform an xsl transformation
on an
>xml document.  has anyone ever encountered this problem and if so does
anyone
>have any tips for getting around it.  i am trying to only present the
first 10
>nodes from my xml document.

I had a similar problem using IE5.  When I searched MSDN site (just the XML
portion) with argument "position()",
I got a hit on a page describing a method called "context()".
When I replaced "position()" with "context()" and made a few other minor
modifications to match the example on the MSDN page, things started
working.
I think this means that IE5 doesn't implement "position()", and offers
"context()" instead.  I don't like it, because it is going in the wrong
direction in the long run.
But maybe it will help.

Rick



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


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.