Hello all,
I found the message below from 2003 and noticed that there wasn't a reply.  Has it become possible since he sent the message to write a 'smart' pipeline?  Unless I am doing something wrong, it seems not.
thanks much,
Matthew L. Avizinis
Gleim Publications, Inc.



List: xalan-j-users Subject: Function pipeDocument From: Jim Maskus <jmaskus () collegenet ! com> Date: 2003-05-21 23:31:46
[Download message RAW]
 The following example template executes a transformation pipeline using the pipeDocument function.
 <xsl:template match="/">
 <pipe:pipeDocument source="in/infile.xml" target="out/outfile.xml">
 <stylesheet href="" />
 <stylesheet href="" />
 <stylesheet href=""/>
 </pipe:pipeDocument>
 </xsl:template>
 What I would like to do is create a smart pipeline that logically executes transformations.
<xsl:template match="/">
  <pipe:pipeDocument source="in/infile.xml" target="out/outfile.xml">
     <stylesheet href="" />
     <stylesheet href="" />
     <xsl:if test="descendant::message">
      <stylesheet href=""/>
     </xsl:if>
     <stylesheet href=""/>
  </pipe:pipeDocument>
 </xsl:template>
The second example ignores the xsl:test block and do_message.xsl is never executed. Is there any way to use pipeDocument to create a "smart" pipeline?? Jim

Reply via email to