W3C home > Mailing lists > Public > xproc-dev@w3.org > February 2013

XProc step fails to execute two <xsl> statements. Why?

From: Mark Wilson <mark@knihtisk.org>
Date: Thu, 14 Feb 2013 16:45:45 -0700
Message-ID: <511D7729.1080208@knihtisk.org>
To: xproc-dev@w3.org
Hello,
Can someone help, please?
My XProc stylesheet runs and produces almost correct output, but two of 
the statements in my XSLT stylesheet produce no results in the output 
(.htm) document: <xsl:output> and <xsl:strip-space>. They are called as:

<xsl:output method="html" indent="yes" 
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" 
doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"/>
and
<xsl:strip-space elements="*"/>

Neither seem to be observed in the output file. What am I not 
understanding? The stylesheet works correctly when called in a batch file.

My step is:
<p:xslt name="htm-generator">
             <p:input port="source"/>
             <p:input port="stylesheet">
                 <p:document href="../xslt/14CatalogsToHTML.xsl"/>
             </p:input>
             <p:input port="parameters">
                 <p:empty/>
             </p:input>
         </p:xslt>
         <p:store>
             <p:with-option name="href" select="concat('work/htm', 
substring-before(substring-after(base-uri(*), 'work'), '.'), '.htm')"/>
         </p:store>

Mark

-- 
Mark Wilson
Knihtisk Publishing
Received on Thursday, 14 February 2013 23:46:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 14 February 2013 23:46:16 GMT