Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XSL ... two templates ?

From: Martin Honnen <mahotrash@-----.-->
To: NULL
Date: 1/4/2006 8:34:00 PM

Alan Searle wrote:

> 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).

What you need to do depends on the input XML, in terms of XSLT all you 
need to do is put a literal result title element with e.g.
   <title><xsl:value-of select="/element/child1/child2/child" /></title>
at the proper place where the title element belongs in HTML. That XPath 
expression as the select attribute value of course needs to be written 
according to which element you want to select in your XML but as you 
haven't bothered to share your XML that is all we can suggest.



-- 

	Martin Honnen
	http://JavaScript.FAQTs.com/


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