Subject: Re: [xsl] In Xalan parser From: Jarkko.Moilanen@xxxxxx Date: Mon, 10 Nov 2003 10:14:33 +0200 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] In Xalan parser, ARULRAJ | Thread | Re: [xsl] Can grouping and sorting, Mukul Gandhi |
RE: [xsl] count doesnt get incremen, Michael Kay | Date | RE: [xsl] In Xalan parser, Jarno . Elovirta |
Month |