Re: XSLT: initial template

2008/10/30 Norman Walsh wrote:

> Or do I missunderstand the question?

  No, you don't.  Let me check: I am well awake, I had enough coffee,
...  I have no excuse to have missed to one!  I won't post anymore
today, that's better for everyone.

  BTW, I tested it with Calabash 0.8.3, and for the following:

    <p:xslt>
       <p:with-option name="template-name" select="'initial'"/>
       <p:input port="stylesheet">
	  <p:inline>
	     <xsl:stylesheet version="2.0">
		<xsl:template name="initial">
		   ...

(just replaced the source input port with the option on a pipeline
that works), I get the following error:

    Error
      Either a source document or an initial template must be specified
    Error  : Pipeline failed: net.sf.saxon.s9api.SaxonApiException:
Either a source document or an initial template must be specified

  Thanks again for the help,

-- 
Florent Georges
http://www.fgeorges.org/

Received on Thursday, 30 October 2008 14:53:07 UTC