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

Re: Multiple source documents

Subject: Re: Multiple source documents
From: Sylvain Hellegouarch <sh@xxxxxxxxxx>
Date: Wed, 7 Sep 2005 11:42:35 +0200
sylvain hellegouarch
It sounds like googling helped me a little :

http://www.biglist.com/lists/xsl-list/archives/200111/msg01406.html


Selon Sylvain Hellegouarch <sh@xxxxxxxxxx>:

> Hi Dieter,
>
> Cheers for your feedback. It would indeed be a nice choice but I can't
> predict
> how many documents I'll be processing when building up my XSL transform.
>
> I suppose my questions comes down to pipelining several XML documents in one
> single iteration. I have the feeling I'm following the wrong track somewhere
> :/
>
> - Sylvain
>
> Selon Dieter Bvll <dieter.boell@xxxxxx>:
>
> >
> > Hello Sylvain,
> >
> > how about to store the document strings in variables e.g. doc_1 and doc_2.
> > And traverse the documents with $doc1/user/name and etc.
> >
> > regards
> >   Dieter
> >
> >
> > xsl-list@xxxxxxxxxxxxxxxxxxxxxx schrieb am 07.09.05 11:01:30:
> > >
> > > Hello people,
> > >
> > > I have one question that might sound dummy but I'm not clear on how to
> > proceed
> > > with it.
> > >
> > > Say that I have in my backend repository:
> > >
> > > DOC_1: <user><name>user1</name></user>
> > > DOC_2: <user><name>user1</name></user>
> > >
> > > Now I want to transform them to output XHTML (or whatever) like this:
> > >
> > > <div>
> > > <label>Name:</label><span>user1</span>
> > > <br />
> > > <label>Name:</label><span>user2</span>
> > > </div>
> > >
> > > If my XML documents were stored as files on the disk I know I could work
> > with
> > > the document() function in my XSL transform document.
> > >
> > > But they are not on disck ad will be passed to my XSLT processor as
> > strings. No
> > > does it mean I have to concatenate both of them in a meta XML document or
> > is
> > > there a way to process both of them in the same transform?
> > >
> > > I feel like my lack of clarity comes from the fact I miss something here
> :)
> > >
> > > Thanks for any tip :)
> > > - Sylvain
> > >
> > > ----------------------------------------------------------------
> > > This message was sent using IMP, the Internet Messaging Program.
> > >
> >
> >
> > _________________________________________________________________________
> > Mit der Gruppen-SMS von WEB.DE FreeMail kvnnen Sie eine SMS an alle
> > Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179
> >
> >
>
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

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.