|
Subject: Example of multiple html files from one xml file From: janusz.prusaczyk@xxxxxx Date: Thu, 26 Oct 2000 16:39:41 +0200 |
Again, sorry if it is a trivial question...
Can anybody show me how to get multiple html files from one xml source?
Let's take an example:
<?xml version='1.0' encoding="ISO-8859-2"?>
<root>
<a>
<b>text 1</b>
<b>text 2</b>
</a>
<a>
<b>text 1</b>
<b>text 2</b>
</a>
</root>
I want to get 7 files:
index.html :
<html>
<head><title></title></head>
<body>
<a href="a1.html">a1</a>
<a href="a2.html">a2</a>
</body>
</html>
2 files with <a></a> contents, like a2.html:
<html>
<head><title></title></head>
<body>
<a href="b3.html">b3</a>
<a href="b4.html">b4</a>
</body>
</html>
and 4 files with <b></b> tag contents. The names of the files can be
generated, but I can use ID attributes for tags as well (<a ID="a1"></a>).
Is it possible with OpenJade? Can someone show me how to do it? I can find
workaround (using Perl) but it will complicate things. There are two
difficult places for me: having more than one file and generating
hiperlinks. I will be thankful for your help.
David
***************************
Janusz David Prusaczyk
janusz.prusaczyk@xxxxxx
tel. +48 (22) 657 57 48
***************************
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Beginner problem - solved, hoenicka_markus | Thread | Re: Example of multiple html files , Brandon Ibach |
| Re: Beginner problem - solved, Brandon Ibach | Date | Beginner problem - solved, hoenicka_markus |
| Month |