xsl-list
[Top] [All Lists]

RE: RE: self closing elements with attributes

2004-01-06 15:23:40
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(_at_)mulberrytech(_dot_)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