Re: [xsl] create new output elements

Subject: Re: [xsl] create new output elements
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Wed, 28 Mar 2001 18:24:23 +0000
Bruce,

I tried it and it worked fine. Maybe you're looking at the output in Explorer without looking at the source. Since your output method is not HTML, and the output elements are not known to the IE (HTML) display engine, they have no formatting consequences: but they're there.

Well worth doing is to try your code in another engine to see if you can duplicate the bug -- to make sure it's not a processing bug. MSXML3 is very conformant -- but at least you can flush out when it's not actually a problem with your XSLT.

Any particular reason you're using <xsl:element> and not the more succinct (and legible) literal result elements, as in

<xsl:template match="FareRules">
  <Text>
    <xsl:apply-templates select="PenRules"/>
    <xsl:apply-templates select="MinStay"/>
    <xsl:apply-templates select="MaxStay"/>
  </Text>
</xsl:template>

?

Good luck,
Wendell

At 10:46 PM 3/28/01, you wrote:
Hi.  My thanks to those people who reponded to my previous thread and tried
to help.  I've tried the suggestions but unfortunately do not yet get the
desired results.  Attempting to use "name" is still ignored for reasons
unknown.  As suggested, I also upgraded to MS XML Parser 3.0 for Internet
Explorer 5.01 browsing, as the link to the netcrucible website was very
helpful....



====================================================================== 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



Current Thread