XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
- Stylus Studio Technical Forum (14621)
-> + XML Publisher post processors (2)
-> + Alignment of table items in XM... (2)
-> + XML to PDF using XML Publisher (2)
-> + Blurry Background image / Vect... (4)
-> + URIResolver error on command l... (2)
-> + stylus studio - the (3)
-> + problem with omit from output ... (3)
-> + Maximum XML File Size and Out ... (4)
-> + 64-bit version of Stylus Studi... (2)
-> + Generate xml schema from edi s... (3)
-> + License disabled (6)
-> + Stylus is not recognizing save... (5)
-> + WINE / CrossOver (3)
-> + Problem with FOP plugin (SS200... (5)
-> - XML diff engine - how to ignor... (1)
-> + How to configure Xerces J (2)
-> + Configuring xerces-2_9_1 (4)
-> + Release license to use stylus ... (5)
-> - Sorting Repeater row (3)
-> ->Sorting Repeater row
-> ->Sorting Repeater row
-> - Browse for Pipeline Input (1)
-- Previous [601-620] [621-640] [641-660] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Postnext
James PearsallSubject: Sorting Repeater row
Author: James Pearsall
Date: 10 Mar 2010 03:14 PM
I've been searching for an hour but I cannot find an example of how to specify which field the XML publisher should use to sort by. All I have been able to find is this statement:

Sorting
By default, data for the repeater component is displayed in document order. You can use an XPath expression in the Loop property's Sort sub-property to specify a different sort order.

In the sort field I'm using the XPath expression /placement/invoice/customerNumber because I'm trying to sort my table by customer number. How is this wrong?

Postnext
Ivan PedruzziSubject: Sorting Repeater row
Author: Ivan Pedruzzi
Date: 11 Mar 2010 12:08 PM
James

If the loop context is /placement/invoice in the sort field you should simply type customerNumber


Hope this helps
Ivan Pedruzzi
Stylus Studio Team

Posttop
James PearsallSubject: Sorting Repeater row
Author: James Pearsall
Date: 16 Mar 2010 02:10 PM
Thanks!! So simple!

   
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.