This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: whitespaces inside empty tags


try this one
<xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
hope this will help

serge

Eric van der Vlist wrote:

> Paul,
>
> The standard XML output methods do not give you control over these
> "details".
>
> 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/
>
> This issues have also been discussed at length on the XHML-L list
> (http://www.egroups.com/group/XHTML-L).
>
> Hope this helps.
>
> Eric
>
> Paul Terray wrote:
> >
> > Hello,
> >
> > This is my first try at the list. The question looks like a strange one (I
> > know) :
> > I want to put spaces inside empty tags, just before the "/", like : <br />.
> >
> > The reason I want to do this is because this is required by the OEB specs,
> > so that empty XHTML tags could be recognized by usual browsers.
> >
> > Do you know any ways to do so, apart from using xsl:text :-)
> >
> > Thanks !
> > --
> > Paul Terray - terray@4dconcept.fr
> > tel : 01 34 58 70 76
> >
> >  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
> --
> ------------------------------------------------------------------------
> Eric van der Vlist       Dyomedea                    http://dyomedea.com
> http://xmlfr.org         http://4xt.org              http://ducotede.com
> ------------------------------------------------------------------------
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]