|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] xsl escaping
I am trying to parse the following xsl into html: --- <xsl:template match="tocTitle"> <tr><td> <a href="#<xsl:apply-templates select="tocTitle" />"> <xsl:apply-templates /> </a> </td></tr> </xsl:template> --- I cannot figure out how to grab the value of tocTitle and reuse it. In a nutshell, I have a form that users fill out that creates an html page. I am allowing them to create an in-page table of contents by entering a name for each TOC entry. The I want to reuse the text they enter in the final html doc in the following three ways: 1. as the text of the TOC entry 2. as the in-page link (#link) 3. as the named anchor the respective link points to I tried to illustrate this in the non well-formed code above. Any ideas on how I could make this work? Thanks, Chris ____________________________________ Chris Molnar Content Management & Intranet Consulting office 773-399-4133 cell 773-230-7076
|
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
|
|||||||||

Cart








