This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: MSXML, xsl:copy, XML Output and BR tags.
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] MSXML, xsl:copy, XML Output and BR tags.
- From: "Paul Hammond" <paul at crazyturtle dot com>
- Date: Fri, 6 Apr 2001 09:18:53 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
Another good idea, but this still does not work.
I think this a feature of the <xsl:copy> element - if i just put a <br /> in
the XSL file it comes out just as expected. It seems to be that if you
<xsl:copy /> any element that is in the form <blah />, the output tree
contains <blah></blah>.
Is there perhaps an XSL element that I can set options in to prevent this?
Or is this just a feature of MSXML3 I will have to work around?? The
original MSXML object did not do this - it just left empty tags in the short
format.
I would have thought <tag /> would be considered "better XML" then
<tag></tag> (IMHO)...
Thanks again in advance of your answers!
PH
-----Original Message-----
From: owner-xsl-list@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Wendell Piez
Sent: 05 April 2001 14:20
To: xsl-list@lists.mulberrytech.com
Subject: Re: [xsl] MSXML, xsl:copy, XML Output and BR tags.
There's always the old trick of stuffing a dummy attribute in to force the
space:
<br class="br"/>
Would that do it, Paul?
Cheers,
Wendell
At 05:22 PM 4/5/01, Francis wrote:
>Paul Hammond wrote:
> >
> > I tried this and it worked just fine, but as I said in my mail I really
> need
> > the output in X(HT)ML!
> >
>So you did - right there in the title.
>
> > Any other ideas??
> >
>Um, not off the top of my head. Sorry.
======================================================================
Wendell Piez mailto:wapiez@mulberrytech.com
Mulberry Technologies, Inc. http://www.mulberrytech.com
17 West Jefferson Street Direct Phone: 301/315-9635
Suite 207 Phone: 301/315-9631
Rockville, MD 20850 Fax: 301/315-8285
----------------------------------------------------------------------
Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list