1 SAX.setDocumentLocator() 2 SAX.startDocument() 3 SAX.startElement(dia:diagram, xmlns:dia='http://www.lysator.liu.se/~alla/dia/') 4 SAX.characters( 5 , 3) 6 SAX.startElement(dia:diagramdata) 7 SAX.characters( 8 , 5) 9 SAX.startElement(dia:attribute, name='background') 10 SAX.characters( 11 , 7) 12 SAX.startElement(dia:color, val='#ffffff') 13 SAX.endElement(dia:color) 14 SAX.characters( 15 , 5) 16 SAX.endElement(dia:attribute) 17 SAX.characters( 18 , 3) 19 SAX.endElement(dia:diagramdata) 20 SAX.characters( 21 , 3) 22 SAX.startElement(dia:layer, name='Background', visible='true') 23 SAX.characters( 24 , 5) 25 SAX.startElement(dia:object, type='Standard - Line', version='0', id='O0') 26 SAX.characters( 27 , 7) 28 SAX.startElement(dia:attribute, name='obj_pos') 29 SAX.characters( 30 , 9) 31 SAX.startElement(dia:point, val='1.95,6.85') 32 SAX.endElement(dia:point) 33 SAX.characters( 34 , 7) 35 SAX.endElement(dia:attribute) 36 SAX.characters( 37 , 7) 38 SAX.startElement(dia:attribute, name='obj_bb') 39 SAX.characters( 40 , 9) 41 SAX.startElement(dia:rectangle, val='1.9,6.8;11,8.55') 42 SAX.endElement(dia:rectangle) 43 SAX.characters( 44 , 7) 45 SAX.endElement(dia:attribute) 46 SAX.characters( 47 , 7) 48 SAX.startElement(dia:attribute, name='conn_endpoints') 49 SAX.characters( 50 , 9) 51 SAX.startElement(dia:point, val='1.95,6.85') 52 SAX.endElement(dia:point) 53 SAX.characters( 54 , 9) 55 SAX.startElement(dia:point, val='10.95,8.5') 56 SAX.endElement(dia:point) 57 SAX.characters( 58 , 7) 59 SAX.endElement(dia:attribute) 60 SAX.characters( 61 , 7) 62 SAX.startElement(dia:attribute, name='line_color') 63 SAX.characters( 64 , 9) 65 SAX.startElement(dia:color, val='#000000') 66 SAX.endElement(dia:color) 67 SAX.characters( 68 , 7) 69 SAX.endElement(dia:attribute) 70 SAX.characters( 71 , 7) 72 SAX.startElement(dia:attribute, name='line_width') 73 SAX.characters( 74 , 9) 75 SAX.startElement(dia:real, val='0.1') 76 SAX.endElement(dia:real) 77 SAX.characters( 78 , 7) 79 SAX.endElement(dia:attribute) 80 SAX.characters( 81 , 7) 82 SAX.startElement(dia:attribute, name='line_style') 83 SAX.characters( 84 , 9) 85 SAX.startElement(dia:enum, val='0') 86 SAX.endElement(dia:enum) 87 SAX.characters( 88 , 7) 89 SAX.endElement(dia:attribute) 90 SAX.characters( 91 , 7) 92 SAX.startElement(dia:attribute, name='start_arrow') 93 SAX.characters( 94 , 9) 95 SAX.startElement(dia:enum, val='0') 96 SAX.endElement(dia:enum) 97 SAX.characters( 98 , 7) 99 SAX.endElement(dia:attribute) 100 SAX.characters( 101 , 7) 102 SAX.startElement(dia:attribute, name='end_arrow') 103 SAX.characters( 104 , 9) 105 SAX.startElement(dia:enum, val='0') 106 SAX.endElement(dia:enum) 107 SAX.characters( 108 , 7) 109 SAX.endElement(dia:attribute) 110 SAX.characters( 111 , 7) 112 SAX.startElement(dia:connections) 113 SAX.characters( 114 , 9) 115 SAX.startElement(dia:connection, handle='1', to='O2', connection='3') 116 SAX.endElement(dia:connection) 117 SAX.characters( 118 , 7) 119 SAX.endElement(dia:connections) 120 SAX.characters( 121 , 5) 122 SAX.endElement(dia:object) 123 SAX.characters( 124 , 5) 125 SAX.startElement(dia:object, type='Standard - Text', version='0', id='O1') 126 SAX.characters( 127 , 7) 128 SAX.startElement(dia:attribute, name='obj_pos') 129 SAX.characters( 130 , 9) 131 SAX.startElement(dia:point, val='4.8,4.75') 132 SAX.endElement(dia:point) 133 SAX.characters( 134 , 7) 135 SAX.endElement(dia:attribute) 136 SAX.characters( 137 , 7) 138 SAX.startElement(dia:attribute, name='obj_bb') 139 SAX.characters( 140 , 9) 141 SAX.startElement(dia:rectangle, val='2.579,3.96359;7.021,4.96359') 142 SAX.endElement(dia:rectangle) 143 SAX.characters( 144 , 7) 145 SAX.endElement(dia:attribute) 146 SAX.characters( 147 , 7) 148 SAX.startElement(dia:attribute, name='text') 149 SAX.characters( 150 , 9) 151 SAX.startElement(dia:composite, type='text') 152 SAX.characters( 153 , 11) 154 SAX.startElement(dia:attribute, name='string') 155 SAX.characters( 156 , 13) 157 SAX.startElement(dia:string, val='sdfsdfg') 158 SAX.endElement(dia:string) 159 SAX.characters( 160 , 11) 161 SAX.endElement(dia:attribute) 162 SAX.characters( 163 , 11) 164 SAX.startElement(dia:attribute, name='font') 165 SAX.characters( 166 , 13) 167 SAX.startElement(dia:font, name='Courier') 168 SAX.endElement(dia:font) 169 SAX.characters( 170 , 11) 171 SAX.endElement(dia:attribute) 172 SAX.characters( 173 , 11) 174 SAX.startElement(dia:attribute, name='height') 175 SAX.characters( 176 , 13) 177 SAX.startElement(dia:real, val='1') 178 SAX.endElement(dia:real) 179 SAX.characters( 180 , 11) 181 SAX.endElement(dia:attribute) 182 SAX.characters( 183 , 11) 184 SAX.startElement(dia:attribute, name='pos') 185 SAX.characters( 186 , 13) 187 SAX.startElement(dia:point, val='4.8,4.75') 188 SAX.endElement(dia:point) 189 SAX.characters( 190 , 11) 191 SAX.endElement(dia:attribute) 192 SAX.characters( 193 , 11) 194 SAX.startElement(dia:attribute, name='color') 195 SAX.characters( 196 , 13) 197 SAX.startElement(dia:color, val='#000000') 198 SAX.endElement(dia:color) 199 SAX.characters( 200 , 11) 201 SAX.endElement(dia:attribute) 202 SAX.characters( 203 , 11) 204 SAX.startElement(dia:attribute, name='alignment') 205 SAX.characters( 206 , 13) 207 SAX.startElement(dia:enum, val='1') 208 SAX.endElement(dia:enum) 209 SAX.characters( 210 , 11) 211 SAX.endElement(dia:attribute) 212 SAX.characters( 213 , 9) 214 SAX.endElement(dia:composite) 215 SAX.characters( 216 , 7) 217 SAX.endElement(dia:attribute) 218 SAX.characters( 219 , 5) 220 SAX.endElement(dia:object) 221 SAX.characters( 222 , 5) 223 SAX.startElement(dia:object, type='Standard - Box', version='0', id='O2') 224 SAX.characters( 225 , 7) 226 SAX.startElement(dia:attribute, name='obj_pos') 227 SAX.characters( 228 , 9) 229 SAX.startElement(dia:point, val='10.95,7.5') 230 SAX.endElement(dia:point) 231 SAX.characters( 232 , 7) 233 SAX.endElement(dia:attribute) 234 SAX.characters( 235 , 7) 236 SAX.startElement(dia:attribute, name='obj_bb') 237 SAX.characters( 238 , 9) 239 SAX.startElement(dia:rectangle, val='10.9,7.45;13.05,9.55') 240 SAX.endElement(dia:rectangle) 241 SAX.characters( 242 , 7) 243 SAX.endElement(dia:attribute) 244 SAX.characters( 245 , 7) 246 SAX.startElement(dia:attribute, name='elem_corner') 247 SAX.characters( 248 , 9) 249 SAX.startElement(dia:point, val='10.95,7.5') 250 SAX.endElement(dia:point) 251 SAX.characters( 252 , 7) 253 SAX.endElement(dia:attribute) 254 SAX.characters( 255 , 7) 256 SAX.startElement(dia:attribute, name='elem_width') 257 SAX.characters( 258 , 9) 259 SAX.startElement(dia:real, val='2.05') 260 SAX.endElement(dia:real) 261 SAX.characters( 262 , 7) 263 SAX.endElement(dia:attribute) 264 SAX.characters( 265 , 7) 266 SAX.startElement(dia:attribute, name='elem_height') 267 SAX.characters( 268 , 9) 269 SAX.startElement(dia:real, val='2') 270 SAX.endElement(dia:real) 271 SAX.characters( 272 , 7) 273 SAX.endElement(dia:attribute) 274 SAX.characters( 275 , 7) 276 SAX.startElement(dia:attribute, name='border_width') 277 SAX.characters( 278 , 9) 279 SAX.startElement(dia:real, val='0.1') 280 SAX.endElement(dia:real) 281 SAX.characters( 282 , 7) 283 SAX.endElement(dia:attribute) 284 SAX.characters( 285 , 7) 286 SAX.startElement(dia:attribute, name='border_color') 287 SAX.characters( 288 , 9) 289 SAX.startElement(dia:color, val='#000000') 290 SAX.endElement(dia:color) 291 SAX.characters( 292 , 7) 293 SAX.endElement(dia:attribute) 294 SAX.characters( 295 , 7) 296 SAX.startElement(dia:attribute, name='inner_color') 297 SAX.characters( 298 , 9) 299 SAX.startElement(dia:color, val='#ffffff') 300 SAX.endElement(dia:color) 301 SAX.characters( 302 , 7) 303 SAX.endElement(dia:attribute) 304 SAX.characters( 305 , 7) 306 SAX.startElement(dia:attribute, name='line_style') 307 SAX.characters( 308 , 9) 309 SAX.startElement(dia:enum, val='0') 310 SAX.endElement(dia:enum) 311 SAX.characters( 312 , 7) 313 SAX.endElement(dia:attribute) 314 SAX.characters( 315 , 5) 316 SAX.endElement(dia:object) 317 SAX.characters( 318 , 3) 319 SAX.endElement(dia:layer) 320 SAX.characters( 321 , 1) 322 SAX.endElement(dia:diagram) 323 SAX.endDocument() 324