[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: MSXML, xsl:copy, XML Output and BR tags.

Subject: RE: MSXML, xsl:copy, XML Output and BR tags.
From: "Paul Hammond" <paul@xxxxxxxxxxxxxxx>
Date: Fri, 6 Apr 2001 09:18:53 +0100
paul hammond
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@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Wendell Piez
Sent: 05 April 2001 14:20
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  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@xxxxxxxxxxxxxxxx
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.