on 09-17-2007 4:12 PM
Hi,
My input appears like this.
<header>
-
<Data>bhargav</Data>
<header>
i need to write a java mapping code where i need to access the value of <Data>.It is a type String and Category is element.In my java code i need to take this content of <Data> into a String.
Thanks in advance,
Bhargav
Message was edited by:
bhargav gundabolu
Hi,
Im using this java mapping to solve the level-2 hierarchical issue that occures with content conversion.I have written my java mapping using domparsers and StreamTransformation. and the output is coming fine.But in one case i need to access the value of the <Data> node and make some changes to it.But im unable to do it as <Data> here is a text node.
Thanks,
Bhargav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The content will be passed via the InputStream in the java mapping program, which you can either use an XML parser or write your own code using the String class to extract the value for <Data>.
But, in any case, why are you using java mapping?
Regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.