[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: RE: self closing elements with attributes

Subject: Re: RE: self closing elements with attributes
From: annirack@xxxxxxx
Date: Tue, 06 Jan 2004 13:15:18 -0800
Re: RE:  self closing elements with attributes
> Hmm... I'm using Xalan 2.5.2 and when I process this template:
 
[snip]
 
> I get:
 
I knocked off the carriage returns in my source, and I got:

<?xml version="1.0" encoding="UTF-8"?>
<foo bar="some foo"/>
<foo bar="some foo"/>
<foo bar="some foo">

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

      foo</foo>


> Which seems correct.  What do you get?

This also seems correct to me.

Obviously, the template that I originally showed was not, in fact, the template I was using, it was simply a similar template.

Checking further in my code, I discovered that I had not used a <xsl:output /> element.  I didn't know that I needed that, but without it, my stylesheet doesn't work.

Thanks,
--Brendan


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.