|
Subject: Re: The DSSSList Digest V4 #71 From: Kathie Drake <KDrake@xxxxxxxxxxxxx> Date: Fri, 27 Oct 2000 17:51:54 -0700 |
The dsl will create three files: a1.htm, a2.htm and index.htm. It should give you a pretty good idea of how to do multiple output files
Kathie Drake kdrake@xxxxxxxxxxxxx
Input:
<?xml version='1.0' encoding="ISO-8859-2"?>
<root>
<a>
<b>text 1</b>
<b>text 2</b>
</a>
<a>
<b>text 3</b>
<b>text 4</b>
</a>
</root>DSSSL file: <!doctype style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN">
(declare-flow-object-class element "UNREGISTERED::James Clark//Flow Object Class::element") (declare-flow-object-class empty-element "UNREGISTERED::James Clark//Flow Object Class::empty-element") (declare-flow-object-class entity "UNREGISTERED::James Clark//Flow Object Class::entity")
(root (make simple-page-sequence
input-whitespace-treatment: 'collapse
(make scroll))) (element b
(make sequence
(make element gi: "p"
(literal (data(node-list-first(current-node))))
)
(make empty-element gi: "br")
)
))
(mode getOtherOuput
(element root
(make sequence
(make entity
system-id: "index.htm"
(make element gi: "html"
(process-children)))(element root
(make sequence
(with-mode getContents (process-node-list(current-node)))
(with-mode getOtherOuput (process-node-list(current-node)))
)
)
(element a
(empty-sosofo))
(element b
(empty-sosofo))| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: Example of multiple html files , janusz . prusaczyk | Thread | fot2pdf release 1.02, Christof Drescher |
| Re: Example of multiple html files , Brandon Ibach | Date | fot2pdf release 1.02, Christof Drescher |
| Month |