Subject: Re: [xsl] Confusing trace from Saxon HE9 From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Tue, 08 Dec 2009 16:04:17 -0500 |
I am working with a rather complex stylesheet to split a TEI document into pieces for an epub file, and get the following trace on an error.
Error on line 204 of splitter.xsl:
XPTY0004: A sequence of more than one item is not allowed as the first argument of
generate-id() (<p/>, <p/>)
Can you give me a hint on how to interpret this trace, as I do not understand how a
<xsl:call-template name="content.div1"/>
brings me into a template
<xsl:template name="filename.div0fragment">
Furthermore, the failing template receives two nodes in a variable that I hardly expect to be grouped together. In the source document they are not even siblings.
The full stylesheet in question is here: http://code.google.com/p/tei2html/source/browse/trunk/splitter.xsl
Error at xsl:call-template on line 248 of file:/T:/ftemp/jeroen.xsl: No template exists named generate-id Error at xsl:call-template on line 250 of file:/T:/ftemp/jeroen.xsl: No template exists named generate-id-for Error at xsl:call-template on line 267 of file:/T:/ftemp/jeroen.xsl: No template exists named generate-id Error at xsl:call-template on line 282 of file:/T:/ftemp/jeroen.xsl: No template exists named generate-id-for Error at xsl:call-template on line 292 of file:/T:/ftemp/jeroen.xsl: No template exists named generate-id Error at xsl:call-template on line 312 of file:/T:/ftemp/jeroen.xsl: No template exists named generate-html-header Error at xsl:call-template on line 318 of file:/T:/ftemp/jeroen.xsl: No template exists named generate-id-attribute-for Error at xsl:call-template on line 321 of file:/T:/ftemp/jeroen.xsl: No template exists named GenerateLabel Error at xsl:call-template on line 329 of file:/T:/ftemp/jeroen.xsl: No template exists named insert-footnotes Error at xsl:call-template on line 351 of file:/T:/ftemp/jeroen.xsl: No template exists named generate-html-header Error at xsl:call-template on line 366 of file:/T:/ftemp/jeroen.xsl: No template exists named generate-id Error at xsl:call-template on line 373 of file:/T:/ftemp/jeroen.xsl: No template exists named generate-id-for
-- XSLT/XQuery/XPath training after http://XMLPrague.cz 2010-03-15/19 Vote for your XML training: http://www.CraneSoftwrights.com/s/i/ Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video Video lesson: http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18 Video overview: http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18 G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Confusing trace from Saxon HE, Jeroen Hellingman | Thread | Re: [xsl] Confusing trace from Saxo, Jeroen Hellingman |
Re: [xsl] convert css3 to xsl-fo, Michael Ludwig | Date | Re: [xsl] Confusing trace from Saxo, Jeroen Hellingman |
Month |