RE: MSXML, xsl:copy, XML Output and BR tags.
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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format