Home > Java > javaTutorial > Why Does My XSLT Get an 'XML Processing Instruction Target Not Allowed' Error?

Why Does My XSLT Get an 'XML Processing Instruction Target Not Allowed' Error?

Patricia Arquette
Release: 2024-12-26 01:38:09
Original
755 people have browsed it

Why Does My XSLT Get an

Error: XML Processing Instruction Target Not Allowed

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>
Copy after login

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!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template