This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Microsoft XML > April 2006 > XML DTD file error





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author XML DTD file error
krishna

2006-04-10, 7:11 pm

I get error on running the XML documents discussed below. Please give me hand.

I created a document with a separate DTD file The file is called
newbooks.dtd.

I am including this dtd file in another file called:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<!DOCTYPE books SYSTEM "newbooks.dtd">
<books>
<book>
<isbn>5206332213</isbn>
<title>Teach Yourseld XML </title>
<author> Michael Morrison</author>
<toc>
Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
</toc>
</book>
<book>
<isbn>5306332213</isbn>
<title>Teach Yourseld XML </title>
<author> Michael Morrison</author>
<toc>
Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
</toc>
</book>


</books>

--
krishna
Martin Honnen

2006-04-10, 7:11 pm



krishna wrote:

> I get error on running the XML documents discussed below.


What kind of error exactly, what are you doing exactly with the XML
document? If you use any parser then tell us which parser exactly and
which error message you get.

> I created a document with a separate DTD file The file is called
> newbooks.dtd.


If you get a validation error and want help to correct the XML or change
the DTD then show us the DTD.


--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews