[jdev] Splitting the stream

Michal 'vorner' Vaner michal.vaner at kdemail.net
Wed Nov 1 06:03:37 CST 2006

Do you think, if I have the XML stream (incoming one) and I want to
split it, is it enough to count starting and ending tags, or they could
be embedded in something like attribute? (eg. is <tag attr='<tag>'/> a
legal thing or not?).

And, if I have these split things and insert them between the stream
header I got in the beginning and an corresponding stream end, can I
parse it using DOM parser for each separate stanza?

<stream:stream xmlns=....>
  <message ...>

- can the thing depend or previous stanzas, or it depends only on the
stream header? (with prefixes and so)

Thank you

This email has not been checked by an antivirus system.
No virus found.

Michal "vorner" Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20061101/ff374d10/attachment-0002.pgp>

More information about the JDev mailing list