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
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-public="-//W3C//DTD XHTML 1.0 Transitional//EN"/>
<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 port="parameters">
             <p:with-option name="href" select="concat('work/htm', 
substring-before(substring-after(base-uri(*), 'work'), '.'), '.htm')"/>


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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:10 UTC