1 Reply Latest reply on May 5, 2009 4:48 PM by HowardTreisman

    xslt and the TransformerFactory class

    Brendan1000

      Hello.  What I'm trying to do is - through the web server - accept an xml file, run it through the transform.TransformerFactory class against an xslt file.  I've tried many different ways to write the xslt, but it never works.   

       

      Here is an example....

       

      <?xml version="1.0" ?>
      <xsl:stylesheet version="1.0"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:output method="xml" indent="yes"/>

       

      <xsl:template match="/">

       

      <xsl:value-of select="/page1/claimantLastName"/>
      <xsl:value-of select="/page1/claimantFirstName"/>
      <xsl:value-of select="/page1/claimantMiddleInitial"/>

       


      </xsl:template>

       

      </xsl:stylesheet>

       

      Any help with this at all would be helpful.  Thanks.