|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: whitespaces inside empty tags - SUMMARY
> 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 class="dummy"/>. 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. 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








