Hi,
I am not sure exactly on your requirement, but normally Axiom builds OMNodes
from the XML events on requirement basis. Anyway you can access the
underlying StAX parser of Axiom. If you can elaborate more on your
requirement it will be helpful in answering your question.
Thanks,
Saliya
On Mon, Sep 22, 2008 at 5:33 PM, Thorsten Scherler <
[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I am looking for the best way to create OMElements based on XMLEvents.
>
> My current code does this like follows for "normal" StAX:
> ...
> LinkedHashSet<XMLEvent> part = resultTree.get(element);
> Object[] partResult = part.toArray();
> for (int i = 0; i < partResult.length; i++) {
> writer.add((XMLEvent) partResult[i]);
> }
> ...
>
> How can I do something like this with AXIOM?
>
> salu2
> --
> Thorsten Scherler thorsten.at.apache.org
> Open Source Java consulting, training and solutions
>
>
--
Saliya Ekanayake
http://www.esaliya.blogspot.com
http://www.esaliya.wordpress.com