[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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
xslt empty tags

> 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 :

http://4xt.org/downloads/examples/outputhandlers/xhtml/

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
class="dummy"/>.

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: http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.