ramanaraokamma
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by ramanaraokamma
-
-
Hi,
Thanks for looking at this.
I am new to XSLT, browsed in google, nothing is appropriate to my requirement.
I have 2 xml files like below
Example.
1.xml
<parameters>
<param>
<Name>Ramana</Name>
<Number>1234</Number>
</param>
</parameters>--------------------2.xml
<parameters>
<param>
<Name>Rao</Name>
<Number>4321</Number>
</param>
</parameters>----------------------------My xsl file looks like below<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.bluwo.com/xml/Interface" xmlns:tns="http://www.bluwo.com/xml/Interface"><xsl:output method="xml" indent="yes" /><xsl:template match="/"><<xsl:for-each select="parameters/param"><Name><xsl:value-of select="Name"/></Name><Name><xsl:value-of select="Number"/></Name></xsl:for-each></xsl:template></xsl:stylesheet>---------------------
my xls file is working fine for any of the files, but I wanted to read from both of my xml files.
I heard about document(), but not clear how to modify my present xls file for this.
I don't have any problem to read from a combined file "both my 1.xml 2.xml in separatefile like both.xml"
<files><file filename="~/1.xml"/><file filename="~/2.xml"/></files>Appreciate the help here.
Thanks,
Ramana
Need help in transforming 2 xml files with single xsl file
in XSLT/XSL-FO
Posted
Hi Martin,
This worked, thanks a lot for your help.
thanks,
Ramana