xsl-list
[Top] [All Lists]

xmlSpy gives 'Invalid variable referenceError in XPath expression'

2004-05-21 00:42:14
Hello,

I am trying to transform an docbook-article with a customized stylesheet
and the xmlspy-engine (I am using a university-licence).

I am calling the engine via
AltovaXSLT.exe -xml proposal.xml -xsl docbook_proposal.xsl -out proposal.fo

and get he following error-message from xmlspy:

  Error in D:\docbook_stylesheets\fo\param.xsl at line 255 character 3
  Invalid variable referenceError in XPath expression, Invalid variable
reference
  XSLT stack dump

  xsl:value-of
  xsl:when
  xsl:choose
  xsl:param
  xsl:stylesheet
  xsl:import
  xsl:stylesheet


that would be
       <xsl:value-of select="$page.height.portrait"/>
in param.xsl.


Interestingly using FOP via the xmlspy-GUI works just fine.

To me - as I am rather new to docbook and xsl:fo - this is rather strange.


Any help is highly appreciated.
regards
Steffen Glückselig


<Prev in Thread] Current Thread [Next in Thread>