Jump to content

XML help


MysorePak

Recommended Posts

java lo XML node element value ela kanukuntaru... i got a large xml  and i need some node name and values to convert into small xml so adhi ela chestharu in java

before:

<abc>
    <123>
        <ralpha>
            
        </sralpha>
    </123>
    <sun>
        <moon>
            <earth>
                
                <planet>abc</planet>
                
                <cinema>
                    <movie>
                        <telugu>ABC</telugu>
        
                    </movie>
                </cinema>
            </earth>
        </moon>
    </sun>
</abc>
 

 

final output

<abc>
    
    <sun>
        <moon>
            
                        <telugu>ABC</telugu>
        
            
        </moon>
    </sun>
</abc>
 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...