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

Re: Implement a Map created from docA, used to transfo

Subject: Re: Implement a Map created from docA, used to transform docB
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Tue, 27 Jul 2010 14:45:13 +0100
Re:  Implement a Map created from docA
On 27 July 2010 14:34, Wolfgang Laun <wolfgang.laun@xxxxxxxxx> wrote:
> One input document is processed to create what is (in Java terms) a
> Map<String,String>.
> To transform another document, lookup of map keys for values needs to be done
> repeatedly and frequently.
>
> Each key is composed from values scattered all over the 1st document;
> I think that
> I'll have to use functions to collect the chunks, which may iterate
> over sequences
> and call other functions, and so, finally, down in one such function,
> I'll have a key
> and its value.
>
> I think that a third (internal only) document with a flat structure containing
> multiple <e><k/><v/></e> is the best (the only?) way of implementing this map.
>
> Any comments welcome - I hope this isn't too abstract.

The standard key might well be enough... can you post a small complete example?

If not, just build your temporary tree and key into that.


-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

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.