A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
New to Java. Can you help with whit this (XML) ?
Joined: Feb 10, 2005
Feb 10, 2005 18:33:00
I'm new to Java (need to do something for my master) and I'm trying to learn how to manipulate XML.
Here's my code :
Document doc;//Document element
Element root;//Root element
public int InitXML (
parser = new DOMParser();
doc = parser.getDocument();
root = doc.getDocumentElement();
catch (Exception e)
System.out.println("XML error in file : " + path );
return 1; //No error
When using :
I got an error telling me that there whitespace in my shema (I use plain XML, no shema)
Tx for any info that could help me.
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: New to Java. Can you help with whit this (XML) ?
Parsing of XML
New to XML, need help
How to get an XML field?
Adding an attribute to an element
SAXException within Servlet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013