[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

multiple input files to one output file

Subject: multiple input files to one output file
From: Linda van den Brink <lvdbrink@xxxxxxx>
Date: Tue, 1 Feb 2000 15:26:15 +0100
html input file multiple
Hi all, 

Is it possible with XSLT to have lots of input files, and create one output
file listing specific data from each of the files? 

What I'm trying to do is generate HTML Help from an XML format. I have Help
texts stored in separate XML documents (each help text is one XML document),
each Help text having a code, title, version, and one or more keywords in
its header. Besides creating one HTML file for each XML help text document,
I need to read all these headers and create one index file containing all
the keywords and a link to the topic they're from. Similarly a table of
contents file that contains all the titles and a link to the topic. The
index file and table of contents file are needed to create HTML Help.

What are my options to achieve this? 

To clarify: 

Sample XML: 
<?xml version="1.0"?>
<om id="ciOM000001" lang="English" status="Released">
<header>
	<keyword>Invoicing</keyword>
	<keyword>Invoicing, procedure</keyword>
	<keyword>Billing request, procedure</keyword>
	<browse>
		<group>gen</group>
		<seqnr>1</seqnr>
	</browse>
</header>
<text>
	<title>Billing request procedure</title>
<!-- more text here -->
</text>
</om>

Desired output index file something like: 
<html>
<head>
</head><body>
<ul>
	<li><object type="text/sitemap">
		<param name="Name" value="invoicing">
		<param name="Local" value="ciOM000001.htm">
	     </object>
                 <ul>
            	<li> <object type="text/sitemap">
		<param name="Name" value="invoicing, procedure">
		<param name="Local" value="ciOM000001.htm">
		</object></li>
		<li> <object type="text/sitemap">
		<param name="Name" value="billing request, procedure">
		<param name="Local" value="ciOM000001.htm">
		</object></li>
	      </ul>
	<li> <object type="text/sitemap">
		<param name="Name" value="billing">
		<param name="Local" value="ciOM000002.htm">
	      </object></li>
<!-- and so on, taking all keywords from all XML help text files -->
 </ul>
</body></html>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.