Subject: Re: [xsl] 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 |
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   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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Can I force XSLT to output th, Joseph Kesselman | Thread | [xsl] Two XSL stylesheet, David Pacheco |
Re: [xsl] Normalize-Space for a tem, Karl J. Stubsjoen | Date | Re: [xsl] Normalize-Space for a tem, Karl J. Stubsjoen |
Month |