Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


XSL ... two templates ?

From: Alan Searle <aj_searle@--------.--->
To: NULL
Date: 1/4/2006 6:55:00 PM
I have some XML/XSL web pages which display data grids (stored in XML 
and formatted by the XSL file).  This works fine.

However, I would like to retrieve an item of text from the grid (one 
particular column which will later be removed from the display) and show 
this as a main title for the page (i.e. the title will vary depending on 
the grid that is opened).

The result should look like this:

Region: London

Month 	Sales	Sales Person
Jan	4345	John
Jan	8494	Sue
Jan	7849	Peter

The grid works fine but I am having trouble plucking the title (in this 
case 'London') out of the XML file for prior display.

I believe that I need to declare two templates (i.e. one for the title 
and one for the grid) but am really not sure how to do this.

Does anyone have an idea?  Or maybe a suggestion for an alternative 
technique?

Any tips or recommendations of tutorials would be a great help.

Many thanks,
Alan Searle

PS: Remove the xxx in the e-mail to send me a message


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent