[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Applying templates within a generated tag
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|