Re: [xslt] Empty element rendering



Sebastian Rahtz wrote:
Rush Manbert wrote:

will the output document contain this exact form, or will it become:

<script type="text/javascript" src="../../lib/MochiKit/MochiKit.js" />


I get round this by saying

 <script> <xsl:comment> </xsl:comment></script>

ugly but it works.

Ah, clever (if ugly ;-). I'll give this a try.

Thanks,
Rush


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]