[xslt] Empty element rendering
- From: Rush Manbert <rush manbert com>
- To: The Gnome XSLT library mailing-list <xslt gnome org>
- Subject: [xslt] Empty element rendering
- Date: Tue, 03 Oct 2006 15:03:36 -0700
If I write a XSL stylesheet that performs an identity transformation
(changes nothing, just copies input to output) and apply it (using
libxslt) to a XML document that contains elements of the form:
<script type="text/javascript"
src="../../lib/MochiKit/MochiKit.js"></script>
will the output document contain this exact form, or will it become:
<script type="text/javascript" src="../../lib/MochiKit/MochiKit.js" />
As you can guess, I have a similar situation to this, and I'
m seeing that my output has "collapsed" the <script></script> to <script
/>, and because of this the scripts don't get loaded by (shudder) IE.
Thanks,
Rush
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]