RE: RE: [xsl] self closing elements with attributes

Subject: RE: RE: [xsl] self closing elements with attributes
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 06 Jan 2004 17:23:40 -0500
At 04:48 PM 1/6/2004, Josh wrote:
You shouldn't need the xsl:output element, when I comment it out I still get correct results.

without the xsl:output you should get:

<foo bar="some foo"/><foo bar="some foo"/><foo bar="some foo">
foo
</foo><foo bar="some foo">
foo
</foo>

This is why the name of the document element of the output ("html"?) and of the particular elements involved (if not "foo") is relevant. The output method by default is only usually, not always, XML.


Cheers,
Wendell


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