cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "flourish" <>
Subject PI's being copied
Date Wed, 28 Mar 2001 03:37:07 GMT
    I'm doing my best to avoid copying PI's in some of my templates, but
they're still coming through.  I knew the offending template was my template
that copied all the nodes and attributes that haven't yet been matched, so I
modified the template:
<xsl:template match="node() | @* | text()" priority="-1">
   <xsl:if test="not(processing-instruction())">
      <xsl:copy-of select="."/>
    Surely, I thought, this would work, but it doesn't.  The PI's still show
up in the output.  Could someone point out my problem?


Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message