View Single Post
  #2 (permalink)  
Old 06-19-09, 07:38 AM
Wolf1994 Wolf1994 is offline
Wannabe Coder
 
Join Date: Sep 2005
Location: Russia
Posts: 114
Thanks: 0
Thanked 0 Times in 0 Posts
Why not to use a regular expressions?

Something like this:

Code:
preg_match_all ("/\<xls\:Instruction\>(.*)\<\/xls\:Instruction\>/U", $output, $match0);
print_r ($match0);

preg_match_all ('/\<xls\:distance value\=\"([0-9]+)\" uom\=\"YD\"\/\>/U', $output, $match1);
print_r ($match1);
Reply With Quote