1999-06-02 17:44:04 +00:00
|
|
|
SAX.setDocumentLocator()
|
|
|
|
SAX.startDocument()
|
2000-10-15 10:06:55 +00:00
|
|
|
SAX.internalSubset(EXAMPLE, , example.dtd)
|
1999-06-02 17:44:04 +00:00
|
|
|
SAX.entityDecl(xml, 1, (null), (null), Extensible Markup Language)
|
|
|
|
SAX.getEntity(xml)
|
|
|
|
SAX.entityDecl(title, 2, -//MY-TITLE//FR, title.xml, (null))
|
1999-10-11 15:09:51 +00:00
|
|
|
SAX.unparsedEntityDecl(image, (null), img.gif, GIF)
|
2003-09-03 13:10:37 +00:00
|
|
|
SAX.externalSubset(EXAMPLE, , example.dtd)
|
1999-06-02 17:44:04 +00:00
|
|
|
SAX.startElement(EXAMPLE)
|
|
|
|
SAX.characters(
|
1999-07-27 19:52:06 +00:00
|
|
|
, 3)
|
1999-06-02 17:44:04 +00:00
|
|
|
SAX.getEntity(title)
|
2005-08-24 14:46:07 +00:00
|
|
|
SAX.reference(title)
|
1999-06-02 17:44:04 +00:00
|
|
|
SAX.characters(
|
|
|
|
This text is about XML, the, 31)
|
|
|
|
SAX.getEntity(xml)
|
2003-09-03 13:10:37 +00:00
|
|
|
SAX.characters(Extensible Markup Language, 26)
|
|
|
|
SAX.reference(xml)
|
1999-07-27 19:52:06 +00:00
|
|
|
SAX.characters( and this is an embedded , 25)
|
1999-06-02 17:44:04 +00:00
|
|
|
SAX.startElement(IMG, src='image')
|
1999-06-26 23:07:37 +00:00
|
|
|
SAX.endElement(IMG)
|
1999-06-02 17:44:04 +00:00
|
|
|
SAX.characters(
|
|
|
|
, 1)
|
|
|
|
SAX.endElement(EXAMPLE)
|
|
|
|
SAX.endDocument()
|