Lainaus ARULRAJ <p_arulraj(_at_)yahoo(_dot_)com>:
<!-- In xalan parser, if I want to give two xml input file.
<!-- Is it possible
<!-- java org.apache.xalan.xslt.Process -in one.xml -in
<!-- two.xml
Use
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="xml" indent="yes"/>
<xsl:variable name="otherFile" select="document('merge.xml')"/>
<xsl:template match="/">
<xsl:value-of select="$otherFile/what/ever/in/that/file"/>
</xsl:template>
</xsl:stylesheet>
Or pass the secondary file name as stylesheet parameter.
***************************************************
* Jarkko Moilanen *
* Project Manager, ITCM (www.itcm.org) *
* Profound XML technology Expert *
* University of Tampere *
* Hypermedia Laboratory *
***************************************************
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list