This is a discussion on "xsl includes" within the Other Programming Languages section. This forum, and the thread "xsl includes are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
xsl includes
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
xsl includes
I am trying to reuse a section of xsl and am getting errors that are no help.
Master File: (storage.xsl) <?xmlversion="1.0"encoding="ISO-8859-1"?> <xsl:stylesheetversion="1.0"xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:templatematch="/"> <xsl:variablename="projSubTree"select="services/drinkingWater/storage/subData"/> <xsl:variablename="projTree"select="services/drinkingWater/storage/projects/project"/> <xsl:includehref="projects.xsl"/> <xsl:call-templatename="content"/> </xsl:template> </xsl:stylesheet> Sheet to Include (project.xsl) <?xmlversion="1.0"encoding="ISO-8859-1"?> <xsl:stylesheetversion="1.0"xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:templatename="content"> <scriptlanguage="javascript"> var rayPic = new Array(); var preLoad = new Array(); var preSubText; <xsl:for-eachselect="$projTree"> etc... </xsl:for-each> function setPreSubText(){ document.forms[0].subCatTextBox.value=preSubText; } etc... </script> <tablewidth="206"align="left"> <tr><tdheight="6"></td></tr> <xsl:for-eachselect="$projTree"> <trvalign="top"align="left"> <tdvalign="top"align="left"width="5"> </td> <tdvalign="top"align="left"colspan="10"> <fontcolor="#000000"face="Arial"size="2"> <a><xsl:attributename="href">#</xsl:attribute> <xsl:attributename="class">projLinks</xsl:attribute> <xsl:attributename="onMouseover">setPic('<xsl:value- etc... </table> </xsl:template> </xsl:stylesheet> thank you for any assistance. |
|
|
![]() |
| Tags |
| xsl, includes |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PHP Includes | lesleindotcom | PHP Forum | 3 | May 31st, 2006 20:54 |
| PHP Includes | daygon | PHP Forum | 5 | Mar 16th, 2006 01:59 |
| CSS and includes | rewmer | Web Page Design | 4 | Aug 14th, 2005 10:31 |
| Further Help with Includes | freebirdnz | Classic ASP | 3 | Aug 5th, 2004 13:48 |
| Help with includes. | freebirdnz | Classic ASP | 5 | Aug 3rd, 2004 14:38 |