Subject: multiple input files to one output file From: Linda van den Brink <lvdbrink@xxxxxxx> Date: Tue, 1 Feb 2000 15:26:15 +0100 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
eXtensible Interchange Language (wa, David DS Barnes | Thread | Re: multiple input files to one out, David Carlisle |
Re: variables in combination., David Carlisle | Date | Re: variables in combination., Steve Tinney |
Month |