| Author |
DTD Validation Using an Editor
|
Mark Reyes
Ranch Hand
Joined: Jul 09, 2007
Posts: 426
|
|
Hi All,
XML newbie here. I am trying to learn XML thru w3schools and I am at the DTD section.
My problem is, I have gone thru the topic and I think I understand some of it but just wanted to make sure if I understand it correctly.
Do you know any free XML editor that can validate the DTD that I am making be it internal or external DTD. As of the moment, I am using Firefox and IE to check the
if my xml files are well formed but I think it does'nt check the validity using my DTD.
I have gone thru the XML FAQ and found out validation using Xerces and JAXP but my problem is, I havent gone that far in my reading so I cant really understand how this one works.
Any idea how can I enhance my learning? I am sure that other XML related technology such as XSL and XSD needs some tool for validation also.
Thanks.
|
Sean Clark ---> I love this place!!!
Me ------> I definitely love this place!!!
|
 |
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8145
|
|
Do you know any free XML editor that can validate the DTD that I am making be it internal or external DTD.
If I understand your question correctly, you want a free editor which validates your XML against a schema. Is that correct? If so, check the "Software" section (XML Hammer for example) in our XML FAQ
|
[My Blog] [JavaRanch Journal]
|
 |
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8145
|
|
By the way, if you are already using an IDE like Eclipse, then you can configure it to validate your XML.
|
 |
Mark Reyes
Ranch Hand
Joined: Jul 09, 2007
Posts: 426
|
|
Hi Jaikiran,
Thanks. I think I overlooked this FAQ.
I check out the link and found the following features at this link
Check a XML document for well-formedness
Validate a XML document against a XML Schema (XSD)
Search a directory using XPath
Validate a XML Schema Document
Transform a XML Document using XSLT
Format XML Documents (Pretty-Print)
Merge a XML Document using XInclude
Validate a XML Stylesheet
My internet connection is slow at this time so I cant seem to download. I have read thru this but it seems that there's no validation for DTD only XSD which as of the moment I dont have idea yet.
Any thoughts?
|
 |
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16483
|
|
Mark Reyes wrote:XML newbie here. I am trying to learn XML thru w3schools and I am at the DTD section.
My problem is, I have gone thru the topic and I think I understand some of it but just wanted to make sure if I understand it correctly.
Do you know any free XML editor that can validate the DTD that I am making be it internal or external DTD. As of the moment, I am using Firefox and IE to check the
if my xml files are well formed but I think it does'nt check the validity using my DTD.
Which is rather odd because the DTD tutorial on that site says
With Internet Explorer you can validate your XML against a DTD.
And it goes on to post some Javascript which does that.
|
 |
Mark Reyes
Ranch Hand
Joined: Jul 09, 2007
Posts: 426
|
|
Which is rather odd because the DTD tutorial on that site says
With Internet Explorer you can validate your XML against a DTD.
And it goes on to post some Javascript which does that.
Hi Paul, Thanks! It was at the later part and I got bored just reading through without doing any exercise..
I wish Head First series has something about XML too and its related technologies....I have two books (Java and Servlets/JSP) and I think its cool. Hope Bert and Kathy reads this..
|
 |
 |
|
|
subject: DTD Validation Using an Editor
|
|
|