example of how to use document()

Subject: example of how to use document()
From: Youngmee Kim <YoungmeeKim@xxxxxxxxxx>
Date: Wed, 04 Aug 1999 13:02:57 -0500
I need to look into two XML files to merge their contents
into one output XML file.  These files are all generated
and I would rather not have to generate another XML file
combining these into one with ENTITY's.

Can I pass in the name of the
second file into the style sheet and look at the content?
I was trying to do that with xsl:param and document(),
but can't seem to put it together.  I the XSL spec on
document, but still don't have any idea how to proceed.
Any pointer to any examples would be greatly appreciated.

I have been using xt and lotusXSL, but have downloaded
SAXON for this.

Youngmee Kim
Lucent Technologies


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread