skip to main content
void SetStatus (string message)
 
Set the status bar for the current progress step.
Parameters:
message
Message to display.
<xsl:variable name="VarParagraphCount" select="count($VarParagraphs)" />
<xsl:variable name = "VarProgressParagraphsStart" select="wwprogress:Start($VarParagraphCount)" />
<xsl:variable name = "VarProgressParagraphsStatus" select="wwprogress:SetStatus(concat('Processing ', $VarParagraphCount))" />

<xsl:for-each select = "$VarParagraphs" >
 < xsl:variable name = "VarParagraph" select="." />

 <xsl:variable name = "VarProgressParagraphStart" select="wwprogress:Start(1)" />

 <xsl:variable name = "VarProgressParagraphStatus" select="wwprogress:SetStatus('Processing paragraph ', position(), ' of ', $VarParagraphCount, '.'))" />

 <xsl:variable name = "VarProgressParagraphEnd" select="wwprogress:End()" />
</xsl:for-each>
<xsl:variable name = "VarProgressParagraphsEnd" select="wwprogress:End()" />
Was this helpful?
Last modified date: 10/14/2020