caucho
Resin 1.1
FAQ
Reference
JavaDoc
Demo
Java Tutorial

Getting Started
Configuration
Servlet
JSP
XTP/XSL
JavaScript
JS Library

Core Library
File Library
Servlet Library
Database Library
XML Library

Parser
XQL
XSL
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   XQL
Copyright © 1998-2000 Caucho Technology. All rights reserved.
Last modified: Fri, 31 Mar 2000 18:57:38 -0800 (PST)