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

RE: for-each for reading 2 documents

Subject: RE: for-each for reading 2 documents
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 9 Sep 2008 20:52:08 +0100
RE:  for-each for reading 2 documents
> Is it possible to use <xsl:for-each ..> to read 2 documents. 
> Something like <xsl:for-each select="//abc/*|$file2//abc/*">. 
> I tried this but it doesn't seem to work.

You're asking a lot of questions, so you're running the risk that people
will assume your earlier questions have been overtaken by the later ones. It
may be better to take a little more care formulating your questions to get
the information you really need.

This kind of question is very difficult to answer. There's basically nothing
wrong with the code you've shown us. But you've only shown us a tiny
fragment, so there are any number of things you might have done wrong. And
saying "it doesn't seem to work" is really unhelpful. What happened exactly?

The trick in asking questions that get a good answer on this (or any other)
forum is to be concise but complete. Cut your example down to the minimum
but then present it in full, so that anyone could run it if they chose. And
don't say "it didn't work", say exactly what you did and exactly what
happened (error messages, blank output, etc), in enough detail so that
people can try it out on their own system and see if they get the same
result.

Oh, and do try to avoid changing the question as soon as you get an answer.
It makes people feel that it's not worth bothering.

Michael Kay
http://www.saxonica.com/

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.