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:[EMAIL PROTECTED]]
Gesendet: Montag, 14. Januar 2002 15:29
An: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to