|
Rank: Newbie
Joined: 12/2/2009 Posts: 5
|
I am using a common sps to generate XSLT for HTML, FO and RTF. I am trying to use the same sps to generate XSLT for Word2007 but I get an error stating that my variable is undefined (in this case 'numRows').
Relevant portion of the generated XSLT:
<altova:TextRun> <xsl:variable name="numRows" select="count(./Image)"/> </altova:TextRun> <altova:ContentHolder> <xsl:call-template name="Gallery"> <xsl:with-param name="rows" select="$numRows"/> </xsl:call-template> </altova:ContentHolder>
|
|
Rank: Advanced Member
Joined: 12/13/2005 Posts: 2,856 Location: Mauritius
|
Not sure what you expect other users in this forum to tell you based on your minimal information, except - take all your files and go to Altova Support with them
|
|
Rank: Newbie
Joined: 12/2/2009 Posts: 5
|
I was expecting that someone else may have had this issue since the stylesheet generated by Stylevision clearly defines the variable just before it is referenced and this error does not occur in the RTF, HTML or FO stylesheets that are generated. I admit that I am not very familiar with the XSLT to Word2007 process, but it seems like a basic question. I get this error for every variable that I have defined in my sps.
|
|
Rank: Advanced Member
Joined: 12/13/2005 Posts: 2,856 Location: Mauritius
|
Weird. Talk to Altova Support
|
|
guest |