|
Subject: Re: (dsssl) Undesired paragraph breaks in generated HTML From: Brandon Ibach <bibach@xxxxxxxxxxxxxx> Date: Fri, 5 Jan 2001 16:03:48 -0600 |
Quoting John Kimball <jkimball@xxxxxxxxxxxxxxxxx>:
> It looks like the basic problem is that the contents of
> <description></description> are within (a sequence of one or more)
> <para></para>s. But I'm leery of trying to fix this at the DTD level,
> since the original author was careful to insist on <para></para> in places
> like this, to allow a variety of kinds of text to be used in a description.
>
I'm not sure what the DTD structure of <description> is here, so
you may need to adjust this approach a bit, but how about creating a
new construction rule something like:
(element (regrule description para)
(process-node-list (children (current-node))))
This should process all the children of the <para>, including text
as well as <xref>s and such, directly, bypassing whatever rule is
producing the <p> tags.
-Brandon :)
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| (dsssl) Undesired paragraph breaks , John Kimball | Thread | (dsssl) Jade and processing instruc, jany . quintard |
| (dsssl) Undesired paragraph breaks , John Kimball | Date | (dsssl) Jade and processing instruc, jany . quintard |
| Month |