Posts Tagged ‘parser’

If a widget can be posted on a web page(if it consists XML)?

since XML needs a parser which a browser don’t have i doubt it will not work if embedded in a web page.

How do I read data in a XML file in Java?

I need to read an XML file in java. The XML file has a reference to an xsd in it’s <!DOCTYPE..> element.
Something like noNameSpace = "D:\Xsd.xsd"
I need to read this reference using Java.
How do I do it?
SAXParser is the parser im using…

“Are element declarations for an xml document to be inserted in the xml document itself?

When I add the following line:
<!ELEMENT book(category,title,author)>
into the xml document at the top the parser complains that the
xml document is not well formed.
Any advice?