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 />.
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)
If you are using XT, you may use the HTML Output Method have developed 4xt to be compatible with older browsers :
http://4xt.org/downloads/examples/outputhandlers/xhtml/
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 class="dummy"/>.
Mike Kay
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.
Thanks all for your answer. -- Paul Terray - terray@xxxxxxxxxxxx tel : 01 34 58 70 76
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: namespace axis, Julian Reschke | Thread | Namespace nodes in XSLT and XPath, Michael Fuller |
Re: context position incorrect, David Carlisle | Date | Namespace nodes in XSLT and XPath, Michael Fuller |
Month |