This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
FW: MSXML, xsl:copy, XML Output and BR tags.
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: FW: [xsl] MSXML, xsl:copy, XML Output and BR tags.
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Tue, 10 Apr 2001 10:47:15 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
-----Original Message-----
From: Michael Kay [mailto:mhkay@iclway.co.uk]
Sent: 07 April 2001 11:01
To: xsl-list@lists.mulberrytech.com
Subject: RE: [xsl] MSXML, xsl:copy, XML Output and BR tags.
> It seems to be
> that if you
> <xsl:copy /> any element that is in the form <blah />, the output tree
> contains <blah></blah>.
No, the output tree contains an element whose name is "blah". The XML output
method is perfectly entitled to serialize this node as <blah/>, as <blah />,
or as <blah></blah>.
If you want XHTML output that conforms to the guidelines for compatibility
with older HTML browsers, there is no easy answer. Some processors have
added an XHTML output method. Otherwise, using <br class="x"/> should work.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list