i know their is problem in my XSL file can anyone correct my mistake please i really fed up.
Actually i am styling my xml file via xsl but don't know what is wrong with my xsl file it is not rendering anything.
Here is my xml file
here is my xsl codeCode:<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <CategorySearch format="Tree" id="601" xmlns="urn:yahoo:prods"> <Category catalogs="false" id="601" name="Home Page" refinements="false"> <Category catalogs="false" id="100334923" name="Baby & Nursery" refinements="false"> <Category catalogs="false" id="100450223" name="Baby Travel & Carriers" refinements="false"> <Category catalogs="false" id="100466023" name="Baby Bouncers, Swings & Walkers" refinements="true"/> <Category catalogs="false" id="100450423" name="Baby Car Seats" refinements="true"/> <Category catalogs="false" id="100450623" name="Baby Carriers" refinements="true"/> <Category catalogs="false" id="100450523" name="Baby Travel Cots" refinements="true"/> <Category catalogs="false" id="100450723" name="Pushchair Accessories" refinements="true"/> <Category catalogs="false" id="100450323" name="Pushchairs & Strollers" refinements="true"/> </Category> </Category> </CategorySearch>
any help will appreciableCode:<?xml version="1.0" encoding="iso-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="urn:comparionsplus-com:xslt" xmlns:herbew="urn:herbew:prods"> <xsl:output method="html"/> <xsl:template match="/"> <html> <body> <xsl:apply-templates select="herbew:CategorySearch/herbew:Category"/> </body> </html> </xsl:template> <xsl:template match="herbew:Category/herbew:Category/herbew:Category"> <xsl:value-of select="herbew:Category" /> </xsl:template> </xsl:stylesheet>


Reply With Quote