newatthis
01-20-2005, 03:31 AM
Please help;
Just learning XML. Thought I could edit an XML file easier than my HTML page for each update.
The problem is that my data does not display when using the browser OPERA or NETSCAPE.
Here is my XML file.
Just added the ELEMENTs. Thought that would work.
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE hghouse [
<!ELEMENT hghouse (location,price,info)>
<!ELEMENT location (#PCDATA)>
<!ELEMENT price (#PCDATA)>
<!ELEMENT info (#PCDATA)>
]>
<hghouse>
<location>Anywhere USA</location>
<price>$699,900</price>
<info>Stunning New Construction Victorian! Beautiful 4BR, 3Bth Victorian w/2 car garage, full BSMT. LR w/fireplace. Located in private beach community. Steps from beach!</info>
</hghouse>
Just learning XML. Thought I could edit an XML file easier than my HTML page for each update.
The problem is that my data does not display when using the browser OPERA or NETSCAPE.
Here is my XML file.
Just added the ELEMENTs. Thought that would work.
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE hghouse [
<!ELEMENT hghouse (location,price,info)>
<!ELEMENT location (#PCDATA)>
<!ELEMENT price (#PCDATA)>
<!ELEMENT info (#PCDATA)>
]>
<hghouse>
<location>Anywhere USA</location>
<price>$699,900</price>
<info>Stunning New Construction Victorian! Beautiful 4BR, 3Bth Victorian w/2 car garage, full BSMT. LR w/fireplace. Located in private beach community. Steps from beach!</info>
</hghouse>