Unexpected child

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nitinkcv
    New Member
    • Mar 2007
    • 65

    Unexpected child

    Hi,

    while trying to transform an xsl file with a xml im getting the error Unexpected child
    in my xsl the error is coming in the line where i declare xsl:template match=:

    <xsl:template match="f">
    <xsl:variable name="FPath">

    What could be the reason
  • Dököll
    Recognized Expert Top Contributor
    • Nov 2006
    • 2379

    #2
    Originally posted by Nitinkcv
    Hi,

    while trying to transform an xsl file with a xml im getting the error Unexpected child
    in my xsl the error is coming in the line where i declare xsl:template match=:

    <xsl:template match="f">
    <xsl:variable name="FPath">

    What could be the reason
    XML transformation help this way:



    A bunch of links here. Please write if not helpful...

    Comment

    • jkmyoung
      Recognized Expert Top Contributor
      • Mar 2006
      • 2057

      #3
      The processor didn't expect the <xsl:template > node there. Could mean:
      1. You forgot to close a tag somwhere.
      2. You don't have a <xsl:stylesheet > root node.

      Would need source for a better answer.

      Comment

      Working...