| <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> |
| <html> |
| <HEAD> |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| <META NAME="Generator" CONTENT="Microsoft Word 97"> |
| <META NAME="Template" CONTENT="F:\Program Files\Microsoft Office\Office\html.dot"> |
| </HEAD> |
| <BODY LINK="#0000ff" VLINK="#800080"> |
| |
| <P>The <CODE>org.eclipse.equinox.util.xml</CODE> package contains classes that can read and parse a XML document. Through the <CODE>XMLReader</CODE> class you can read a XML from an input stream or through a reader. To get aware of every read tag, you should pass a <CODE>TagListener</CODE> implementation as an argument in the chosen <CODE>read</CODE> method of <CODE>XMLReader</CODE>. When the end of a tag is reached, the <CODE>TagListener</CODE> will received an instance of <CODE>TagClass</CODE> that represents this tag. To read the name, content, attributes and a child tag at a specific index, you can use <CODE>TagClass</CODE> and <CODE>XMLUtil</CODE>. With <CODE>XMLUtil</CODE> you can also replace a tag. You cannot create new XMLs with the XML utilities.</P> |
| </BODY> |
| </HTML> |