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

Re: Working with Collections

Subject: Re: Working with Collections
From: XSL-List Owner <xsl-list-owner@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 29 Apr 2008 23:17:48 -0400
 Re: Working with Collections
On XSL-List (as in many places) you can significantly increase your chances of receiving helpful answers to questions by supplying small samples of files that illustrate your question or problem. For example, an XML file, an XSLT stylesheet, the result you got, and the result you want - all in miniature (and remembering that everything posted to XSL-List is archived in public)

Simply describing your transformation and desired output is not enough for people unfamiliar with your data and your background to be able to help you.

-- Tommie


Hello, Michael Kay. Thanks for your note:

I think you need to
explain why you feel you need to do this. You say "I need to be able to
traverse the entire collection" but that doesn't appear to justify doing it
this way.

What transformation are you actually trying to perform?

The transformation I'm trying to perform creates a series of groups from the source document based on different criteria and does lookups. It provides the results as a set of tables in the output document. Using the <xsl:for-each/> approach creates repeated sets of results, one for each input document. I also tried:


<xsl:apply-templates select="collection('collection.xml')/yourcontent"/>

This led to the same output, where I got the combined results once for each document in the collection, which seems strange.

Does this make sense?

Craig B.


--

======================================================================
B. Tommie Usdin                        mailto:btusdin@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                           Phone: 301/315-9631
Suite 207                                    Direct Line: 301/315-9634
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in XML and SGML
======================================================================

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.