This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XSLT merging XML documents
- To: xsl-list at mulberrytech dot com
- Subject: Re: XSLT merging XML documents
- From: Oliver Becker <obecker at informatik dot hu-berlin dot de>
- Date: Wed, 26 Jul 2000 11:57:43 +0200 (MET DST)
- Reply-To: xsl-list at mulberrytech dot com
Hello Igor,
> Earlier, in this forum, an example of XSLT which merges two XML documents,
> was posted at http://www.informatik.hu-berlin.de/~obecker/XSLT/ however once
> I run this example through Xalan parser and got the following error :
> XSL Error: pattern = 'document($file1,/)/node()'
> Expected ,, but found: , style tree node:
> org.apache.xalan.xslt.ElemWithParam@1e
> e180
> XSL Error: Could not parse merge.xslt document!, Location
> file:/C:/merge/merge.xslt, line 42, offset 75
> XSL Error: SAX Exception, Location file:/C:/merge/merge.xslt,
> [...]
I suppose you should upgrade to Xalan 1.1
At home (Xalan 1.1 / Linux) I had no problems.
Here at work (still Xalan 1.0.1 / Solaris) I can reproduce this error.
Perhaps there's another workaround - unfortunately I don't know how
to interpret the above error message ...
Regards,
Oliver
/-------------------------------------------------------------------\
| ob|do Dipl.Inf. Oliver Becker |
| --+-- E-Mail: obecker@informatik.hu-berlin.de |
| op|qo WWW: http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list