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 "Krueger, Alexandra" <al...@softwareag.com> on 2002/01/14 15:54:44 UTC

AW: "match" attribute is not allowed on the xsl:apply-templates e lem

Hi,



<xsl:template match =... is OK

but
<xsl:apply-templates match=.... is no OK, the right command is:
<xsl:apply-templates select=...

Alex

-----Ursprungliche Nachricht-----
Von: BRAHMA [mailto:brahmaiah.kurabalakota@emis-intl.com]
Gesendet: Montag, 14. Januar 2002 15:29
An: fop-dev@xml.apache.org
Betreff: "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

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org