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

Re: Can I force XSLT to output the long-form of an ele

Subject: Re: Can I force XSLT to output the long-form of an element rather than the shorthand form?
From: Tim Meals <tmeals@xxxxxxxxx>
Date: Fri, 2 May 2003 12:46:47 -0700
xslt force end tag
But if the style is set to HTML mode, either via
<xsl:output method="html"/> or a command-line switch, the <br /> tags
will render as <br>.  I thought the same thing, but the <br> tag throws
you off.

Chances are it's some sort of hack about &#160; or something to force
the XML parser to add the </a> end tag.

Tim

On Fri, May 02, 2003 at 03:03:38PM -0400, Joseph Kesselman wrote:
> >Yes, I know that '<a id="page-1"></a>' and '<a id="page-1" />' are
> supposed
> >to be equivalent,
> >but one of the tools my users use (XMetaL) doesn't.
> 
> First thing to check, if you haven't already done so: Make sure your
> stylesheet is set to HTML ouput mode, not XML. The /> convention is not
> really supported in HTML.
> 
> ______________________________________
> Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
> "may'ron DaroQbe'chugh vaj bIrIQbej"  ("Put down the squeezebox and nobody
> gets hurt.")
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 

-- 
/**
 * Tim Meals
 * Applications Developer
 *
 * @email: tmeals@xxxxxxxxx
 */

 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.