I hava a bug of XML but i can’t find it.Javascript show error is “Style sheet is null or incorrect XML”.
But i sure the path of url is correct.
Don’t i ingore something?
Thank you.
XML:
<input type=button name=‘action’ value='action’onclick=writeback()>
<input type=button name=‘close’ value='close’onclick=window.close()>
XSL:
<?xml version="1.0"?><xsl:stylesheet xmlns:xsl=“Extensible Stylesheet Language (XSL) Version 1.1”>
<xsl:template match=“/”>
<xsl:for-each select=“viewentries/viewentry”>
<xsl:attribute name=“value”>
<xsl:value-of select=“entrydata[@name=‘UserName’]/text”/>
</xsl:attribute>
<xsl:value-of select=“entrydata[@name=‘phone’]/text”/>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>