|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Multiple XMLs and One XSL to display the data in o
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:apply-templates select="//funcdef |
document("path/funcdefs2.xml")//funcdef |
document("path/funcdefs3.xml")//funcdef |
document("path/funcdefs4.xml")//funcdef |
document("path/funcdefs5.xml")//funcdef"/>
</xsl:template>
<xsl:template match="funcdef">
<!-- whatever you'd do here -->
<xsl:copy-of select="."/>
</xsl:template>
</xsl:stylesheet>
~ Scott
-----Original Message-----
From: Nistala, Anu [mailto:anistala@xxxxxxxxx]
Sent: Tuesday, November 20, 2007 8:52 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Multiple XMLs and One XSL to display the data in one
webpage
Hi all,
I have 5 different XML files, I want to merge them together and display
on one webpage. The node names all match in all the xml files. Below is
an example of one XML I have. Does anyone know how to merge the xmls to
one xml or directly get data from the xmls to display in one webpage.
Thank you all for your help in advance..
<?xml-stylesheet type="text/xsl" href="todropdown.xsl"?>
<functiontitle>
<funcdef>
<FunctionType>Navigation</FunctionType>
<funcname >flNVGLogin</funcname>
<funcdesc >This function logs into CMM app</funcdesc>
<CreationDate>2:12 PM 11/14/2007</CreationDate>
<Author>Anu Nistala</Author>
</funcdef>
<funcdef >
<FunctionType>Validation</FunctionType>
<funcname >flVLDLogin</funcname>
<funcdesc >This validates login page</funcdesc>
<CreationDate>2:12 PM 11/14/2007</CreationDate>
<Author>Ujwal Maskey</Author>
</funcdef>
<funcdef >
<FunctionType>Global</FunctionType>
<funcname >flGLBCloseBrowser</funcname>
<funcdesc >This function closes CMM app</funcdesc>
<CreationDate>2:12 PM 11/14/2007</CreationDate>
<Author>Shanti Swarupa</Author>
</funcdef>
-
-
-
-
-
-
</functiontitle>
Thanks!
Anu Nistala
anistala@xxxxxxxxx
512 248 4535 (office)
Nodal Integration Test Automation
Electric Reliability Council of Texas, Inc.
|
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








