xsl-list
[Top] [All Lists]

Multiple source documents

2005-09-07 02:04:07
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.


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>