You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by BRAHMA <br...@emis-intl.com> on 2002/01/14 15:29:03 UTC

"match" attribute is not allowed on the xsl:apply-templates elem

Hi  List,

            I am having problem while converting xml to pdf...with xsl:fo

             <xsl:apply-templates match="libertis"/>
              </xsl:template>

            <xsl:template match="libertis">
           <fo:block text-align="start"   font-size="8pt"> In the libertis
</fo:block>
              <xsl:apply-templates match="valueObject[@classId='61']"/>
          </xsl:template>

         <xsl:template match="valueObject[@classId='61']">
          <fo:block text-align="start"   font-size="8pt"> In the ValueObject
</fo:block>
   </xsl:template>
-----------------------------------------------------------------------
getting an exception like....

java.lang.reflect.InvocationTargetException: org.apache.fop.apps.FOPException:
"match" attribute is not allowed on the xsl:apply-templates element!

-------------------------------------------------------------
I really appreciate if any of you help me  in solving this bug.

regards
brahma