RE: whitespaces inside empty tags - SUMMARY

Subject: RE: whitespaces inside empty tags - SUMMARY
From: Paul Terray <terray@xxxxxxxxxxxx>
Date: Wed, 28 Jun 2000 09:54:49 +0100

> I want to put spaces inside empty tags, just before the "/",
> like : <br />.

First of all, thank you for all your answers. The "class trick" seems an easy way of doing it, of course, even if it is not very elegant. For those who are interested, the trick is adding a "dummy" class attribute, so there is a space after the element name : <br class="truc"/>.

At 12:23 27/06/00 +0100, David Carlisle wrote:
If you search the archives of this list you'll find my html2xhtml
stylesheet that conversts an html producing XSL sheet to an xhtml
producing one, adding this class trick and some other bits and pieces
(making sure p's are non empty, duplicating anchors with both id and
name attributes, changing the doctype, etc)

Thank you. However, I didn't write my XSL sheet yet. I anticipated, for once... But the advices attached to your answer make a checklist for me :-)

At 13:44 27/06/00 +0200, Eric van der Vlist wrote:
If you are using XT, you may use the HTML Output Method have developed
4xt to be compatible with older browsers :

Is it standard to 4xt, or do I have to integrate the code indicated by your URL ?

At 18:21 27/06/00 +0100, Kay Michael wrote:
Some XSLT processors now support an xhtml output method which will do this
for you. Without this, your best bet is still the old trick of writing <br

Mike Kay

What XSLT processor can do this ? Is that the modified 4xt ? I'm interested, since it would make a clearer XML output.

At 13:01 27/06/00 +0100, Pawson, David wrote:
I for one would be very interested in your experience of using
the e-book DTD.

I had very mixed reactions when I tried to use xslt to come from
e-book into another DTD.

Actually, I am using XSL to go from another corporate DTD to OEB. I guess I will make two stylesheet, one for creating the package, and one for the document :-)

Thanks all for your answer.
Paul Terray - terray@xxxxxxxxxxxx
tel : 01 34 58 70 76

XSL-List info and archive:

Current Thread