quickly extract the contents of an xml tag in php

crille

New Member
Scribd's API returns XML, for example:\[code\]<?xml version="1.0" encoding="UTF-8"?><rsp stat="ok"><thumbnail_url>http://imgv2-4.scribdassets.com/img/word_document/60906103/111x142/79c5e6bab7/1327030759</thumbnail_url></rsp>\[/code\]is there a way to quickly, say in one or two lines, get the contents of \[code\]thumbnail_url\[/code\], that is \[code\]http://imgv2-4.scribdassets.com/img/word_document/60906103/111x142/79c5e6bab7/1327030759\[/code\]?
 
Back
Top