I have a web page that I want to be able to include into a php page. The Xml page uses an xls page for it formating.
I am using the following to include the page:
PHP Code:
<?php include 'squad.xml' ?>
When trying to view the php page that I want the xml page to be included in, I get the following message when I try to view it.
PHP Code:
Parse error: parse error, unexpected T_STRING in /home/content/T/m/W/Tm ... on Line 1
The following code is located at the top of the xml page starting at Line 1:
PHP Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE squad SYSTEM "squad.dtd">
<?xml-stylesheet href="squad.xsl" type="text/xsl"?>
I can view the xml page on its own just fine, but would like to include it into an existing web page.Any help would be appreciated.
Bookmarks