Excluding Copyright from an XML

wxdqz

New Member
Hello, im am having an xml that looks like below:"<EPILOTRESULTS xmlns:sql="urn:schemas-microsoft-com:xml-sql"><COPYRIGHT>Copyright ABC Corporation.</COPYRIGHT><PARAMETERS><row keyword="bid"/><row resultindex="0"/><row pagestart="1"/></PARAMETERS><RESULTS><row urllink="http:www.yyh.com" refresh="required"/></RESULTS></EPILOTRESULTS>"But every time i run a XSLT stylesheet to get the content of the results,that Copyright value is always being written without me wanting it there.I am using the below stylesheet. Can someone please tell me how to excludethat copyright value.XSLT:<?xml version="1.0"?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:template match="RESULTS/row"><ul><li><strong><font size="4"><a><xsl:attribute name="href"><xsl:value-of select="@urllink"/></xsl:attribute><xsl:attribute name="target">bnew</xsl:attribute><b>Category1</b></a><br/></font><font size="3">Hellow world</font><xsl:value-of select="@advertisercost"/><br/></strong></li></ul></xsl:template><xsl:template match="COPYRIGHT"><font color="black" size="0"><xsl:value-of select="."/><xsl:text></xsl:text></font></xsl:template></xsl:stylesheet>
 
Back
Top