loads XML from given InputStream, Reader, sysID, InputSource, or URL.
loads XML from given InputStream, Reader, sysID, InputSource, or URL.
Loads XML from the given file, file descriptor, or filename.
Loads XML from the given file, file descriptor, or filename.
Loads XML from the given String.
Loads XML from the given String.
Loads XML from the given InputSource, using the supplied parser.
Loads XML from the given InputSource, using the supplied parser. The methods available in scala.xml.XML use the XML parser in the JDK.
Saves a node to a file with given filename using given encoding optionally with xmldecl and doctype declaration.
Saves a node to a file with given filename using given encoding optionally with xmldecl and doctype declaration.
the filename
the xml node we want to write
encoding to use
if true, write xml declaration
if not null, write doctype declaration
Returns an XMLLoader whose load* methods will use the supplied SAXParser.
Writes the given node using writer, optionally with xml decl and doctype.
Writes the given node using writer, optionally with xml decl and doctype. It's the caller's responsibility to close the writer.
the writer
the xml node we want to write
the string to be used in xmlDecl
if true, write xml declaration
if not null, write doctype declaration
The object
XML
provides constants, and functions to load and save XML elements. Use this when data binding is not desired, i.e. when XML is handled usingSymbol
nodes.1.0, 25/04/2005