You encounter this error when running an XSLT page that starts with the following code:
<?xml version="1.0" encoding="windows-1256"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:include href="../header.xsl"/> <xsl:template match="/"> <xsl:call-template name="pstyle"/> <xsl:call-template name="Validation"/> <xsl:variable name="strLang"> <xsl:value-of select="//lang"/> </xsl:variable>
The above is the detailed content of Why Does My XSLT Get an 'XML Processing Instruction Target Not Allowed' Error?. For more information, please follow other related articles on the PHP Chinese website!