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

Re: generate-d( ) not working

Subject: Re: generate-d( ) not working
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 2 Jul 2003 09:37:04 +0100
Re:  generate-d( ) not working

> How do you make some section of your XSLT be processed in the end? 

an xsl template is a "template" of the result, if you want the code to
come at the end


> Do you know how the ordering works for the templates i.e which template gets
> processed first when the output HTML is being generated?

The templates match elements on the source tree and convert them to
elements in the result, within each template it is an apply-templates
command that triggers furthertemplates, so if you want to place result
elements before or afterthat it is your choice.


> I am confused as to what your questions is.
Your templates all looked like this

<img src="dateicon.gif"><xsl:value-of select="@name"/></img>

which will (if there is a name attribute in your source)
produce something like
<img src="dateicon.gif">abc</img>

I was asking why you were generating elements in that form since that is
not html, an html image element never has any content or an end tag,
only attributes.

David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 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.