Subject: RE: [xsl] MSXML, xsl:copy, XML Output and BR tags. From: "Paul Hammond" <paul@xxxxxxxxxxxxxxx> Date: Fri, 6 Apr 2001 09:18:53 +0100 |
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: [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@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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] MSXML, xsl:copy, XML Outp, Jeni Tennison | Thread | Re: [xsl] MSXML, xsl:copy, XML Outp, David Carlisle |
Re: [xsl] NEW2!!!showing HTML data , Jeni Tennison | Date | Re: [xsl] grouping content, Jeni Tennison |
Month |