Resin 1.1
FAQ
Reference
JavaDoc
Demo
Java Tutorial
Getting Started
Configuration
Topics
JSP
XTP/XSL
JavaScript
JS Library
Core Library
File Library
Servlet Library
Database Library
XML Library
Parser
Document
Node
Element
Text
Comment
EntityRef
CData
PI
XML Parser
caucho.xml.Xml
caucho.xml.Xml.parse(stream) | Parses the stream stream as strict XML, returning a DOM document.
caucho.xml.Xml.parseFile(file) | Parses the file file as strict XML, returning a DOM document.
caucho.xml.Html
caucho.xml.Html.parse(stream) | Parses the stream stream as HTML, returning a DOM document.
caucho.xml.Html.parseFile(file) | Parses the file file as HTML, returning a DOM document.
caucho.xml.Xml | Resin 1.0
### caucho.xml.Xml.parse(stream)
Parses the stream stream as strict XML, returning a DOM document.
var stream = File("test.xml").openRead() var xml = caucho.xml.Xml.parse(stream); stream.close()
### caucho.xml.Xml.parseFile(file)
Parses the file file as strict XML, returning a DOM document.
var xml = caucho.xml.Xml.parseFile(File("test.xml"))
caucho.xml.Html | Resin 1.0
### caucho.xml.Html.parse(stream)
Parses the stream stream as HTML, returning a DOM document.
var stream = File("test.html").openRead() var html = caucho.xml.Html.parse(stream); stream.close()
### caucho.xml.Html.parseFile(file)
Parses the file file as HTML, returning a DOM document.
var html = caucho.xml.Html.parseFile(File("test.html"))
XML Library |  | Document
Copyright © 1998-2000 Caucho Technology. All rights reserved. Last modified: Mon, 03 Apr 2000 11:20:13 -0700 (PDT)