This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: create new output elements
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] create new output elements
- From: Wendell Piez <wapiez at mulberrytech dot com>
- Date: Wed, 28 Mar 2001 18:24:23 +0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
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@mulberrytech.com
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