Jump to content

get texts from XML


Oussema

Recommended Posts

<root>
	<category title="tab1" id="tab1">
		<subcategory title="Test1" id="Test1" >
	 		<content>
	    dsqdqsdqsdqsdqsdqsdqsoduqsiopdyzaipdza...ect
			</content>
		</subcategory>

		<subcategory title="Test2" id="Test2" >
			<content>
			dsqdsqdqsdsqpodjqsdjqsopoo dsq...............ect
			</content>
		</subcategory>
	<category title="tab2" id="tab2">
		<subcategory title="test3" id="test3" >
		<content>
		sdqdqsdqsdsqodqsoidsqoiqsdqs
		<content>
		</subcategory>
</root>

how i can get the texts from this xml for example ! i want get texts of tab2 subcategory test3

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...