Home | History | Annotate | Download | only in noent
      1 SAX.setDocumentLocator()
      2 SAX.startDocument()
      3 SAX.internalSubset(EXAMPLE, , example.dtd)
      4 SAX.entityDecl(xml, 1, (null), (null), Extensible Markup Language)
      5 SAX.getEntity(xml)
      6 SAX.entityDecl(title, 2, -//MY-TITLE//FR, title.xml, (null))
      7 SAX.unparsedEntityDecl(image, (null), img.gif, GIF)
      8 SAX.externalSubset(EXAMPLE, , example.dtd)
      9 SAX.startElementNs(EXAMPLE, NULL, NULL, 0, 0, 0)
     10 SAX.characters(
     11   , 3)
     12 SAX.getEntity(title)
     13 SAX.ignorableWhitespace(
     14 , 1)
     15 SAX.startElementNs(title, NULL, NULL, 0, 0, 0)
     16 SAX.characters(my title, 8)
     17 SAX.endElementNs(title, NULL, NULL)
     18 SAX.characters(
     19 , 1)
     20 SAX.ignorableWhitespace(
     21 , 1)
     22 SAX.startElementNs(title, NULL, NULL, 0, 0, 0)
     23 SAX.characters(my title, 8)
     24 SAX.endElementNs(title, NULL, NULL)
     25 SAX.characters(
     26 , 1)
     27 SAX.characters(
     28   This text is about XML, the, 31)
     29 SAX.getEntity(xml)
     30 SAX.characters(Extensible Markup Language, 26)
     31 SAX.characters( and this is an embedded , 25)
     32 SAX.startElementNs(IMG, NULL, NULL, 0, 1, 0, src='imag...', 5)
     33 SAX.endElementNs(IMG, NULL, NULL)
     34 SAX.characters(
     35 , 1)
     36 SAX.endElementNs(EXAMPLE, NULL, NULL)
     37 SAX.endDocument()
     38