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

Re: XSL Query

Subject: Re: XSL Query
From: Mitch Amiano <mitch.amiano@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 27 Oct 2002 00:29:07 -0400
xsl query namespace
You don't say what processor you are using, but distinct() is an extension function in Saxon.
For extension functions you need to declare an extension namespace with a URI. For Saxon 6.x it would look like xmlns:saxon="http://icl.com/saxon" (the "saxon" in "xmlns:saxon" may be another string such as "xmlns:set", or you may have a different processor in which case the extension namespace URI will most certainly be different.)


- Mitch

Mulberry Technologies List Owner wrote:

Date: Sat, 26 Oct 2002 19:51:51 -0400
From: Navin Kumar To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Subject: Need help on XSL query


Hello,

I need to display the sum of sales for each country only once! Current code is
not properly working and I understand it is because the loop itself is to
select all possible "@country" occurences but I also tried to use set:distinct
but am getting error like "set function not found in namespace...". Could
someone help me out in resolving this problem?  Here is the template I have
written:

===============================================

xmlns:xsl="http://www.w3.org/1999/XSL/Transform">




	
	
		
	
	
		
	
	
		




> >


XML FILE IS ===========



70


80


90


100


.........continue........
===============================================


Thanks and regards,
Navin




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

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.