logo       

Re: Version conflict: msg#00006

java.enhydra.kxml

Subject: Re: Version conflict

siegfried.ertl@xxxxxxxxxx wrote:

Another question. I have to parse a xml File. When a special node comes, i have to insert a node value.

Searching node like this <node param="xy"/>

After editing it should see like that: <node param="xy">new Value</node>

Is that possible with kxml Dom? I do it already with serializer an parser, but it is a little circular.

yes, that is possible with kdom. You would need to search for the nodes
recurively, then call

node.addChild(0, Node.TEXT, "new Value")

Further i have to write something like xPath. is it rigt, that this it not jet implemented?

Not in KXML, but there may be something on xmlpull.org, I am not sure, just take a look....

Best,
Stefan


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise