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

Applying templates within a generated tag

Subject: Applying templates within a generated tag
From: Benjamin Corliss <benjamin@xxxxxxxxxxxxxxx>
Date: Wed, 28 Jul 1999 18:22:52 -0700
benjamin corliss
I am using a charting tool called PopCharts.  I am attempting to specify a
chart in XML and generate a PopChart <IMG/> reference.  This reference:

<IMG WIDTH="350" HEIGHT="248"
SRC="http://www.webcriteria.com:1234/?@_GIF@_FILE/apfiles/gen_horiz_bars.bin@xxxxxxxxxxxxxxxxxxxxxxxxx(AirFrance,UAL,Delta,KLM,AmericanAirlines,AlaskaAirlines,BritishAirways,Northwest,JAL,TransWorldAirlines)Graph.Series(moo,4.9,
8.6, 9.6, 10.7, 11, 11.3, 13.5, 14.1, 15.6, 15.9
)caption.settext(Ranking)xaxis.settext(seconds)"/>

contains all of the parameters required by PopChart to dynamically generate the
graph.  As you can see, there are two data lists contained within the
complicated SRC attribute.  My initial implementation plan was to build these
lists with an <xsl:for-each>.  However, I have found no easy way to do this.

Could someone point me to some documentation or an example (assuming these
exist) that performs something like this?

Or is this something better suited to M4.

Thanks for your advice,

Benjamin Corliss




 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.