|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: In Xalan parser
Lainaus ARULRAJ <p_arulraj@xxxxxxxxx>:
<!-- 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








