Search code examples
xsltbiztalkbiztalk2006r2biztalk-mapper

Biztalk Mapper XSLT Compile Error


I'm mapping relationship data based on a type Mother/Father etc. when extracting the data from a table looping functoid and checking for a type of Father, Mother etc. I am getting the following error:

XSL transform error:. XSLT compile error at (1220,45). See InnerException for details. 'userCSharp:LogicalEq(string($var:) , "FATHER")' is an invalid XPath expression. 'userCSharp:LogicalEq(string($var:) , "FATHER")' has an invalid qualified name.

Source extract example

<relationships>
   <RelationshipType>Father</RelationshipType>
   <Details>
      <Title>MR</Title>
      <Fullname>Surname, forename</Fullname>
      <etc...>
   </Details>
</relationships>

It's appears that the compiler is missing the $var:XXX value, it is unclear on how this is missing presently as this is system generated. Any ideas on how to track this back to the map?


Solution

  • Just to update, issue is now resolved.

    Visual Studio issue seemed to be linked with a tabel looping functoid, needed to remove the functoid and links before re-adding to resolve the issue.