Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • jayanthi 66 posts 86 karma points
    Sep 14, 2011 @ 15:34
    jayanthi
    0

    Expression must evaluate to a node-set

    Hi all,

    I am getting error(Expression must evaluate to a node-set) when using xslt transformed email in contour

     

    <?xml version="1.0" encoding="utf-8"?>
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxsl="urn:schemas-microsoft-com:xslt"
    xmlns:user="urn:my-scripts"
    xmlns:umbraco.library="urn:umbraco.library" exclude-result-prefixes="xsl msxsl user umbraco.library">
      <xsl:output method="html" indent="yes"  encoding="utf-8"/>
      <xsl:param name="records" />
      <xsl:template match="/">
      <table style="border-collapse:collapse;border:1px solid black;">
          <xsl:value-of select="$records//fields/child::*[caption = 'First Name']"/>
           </table>
         </xsl:template>
    </xsl:stylesheet>

     

    Can anyone help on this

     

Please Sign in or register to post replies

Write your reply to:

Draft