Hi,

I have XML that looks like:

<list>
  <item/>
  <item/>
</list>

I want to use XNI to insert an 'item element' when the 'endElement' event is
triggered for the closing 'list element.'

So far, I have tried extending the XNIPassThroughFilter. I would think that
I could call a super.startElement passing it the appropriate objects. But
since it is not readily available, I was wondering if there was a different
way. Should I just an insert a character buffer (or something similar) into
the XmlInputSource? If so, how?

Is there a simple way to add an element during a XNI parse/filter?

Thanks for any hints or pointers,
-Rob



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to