hello, i have a page that displays an xml. when viewing the source code
its like this-
HTTP/1.1 200 OK
Date: Tue, 09 Mar 2010 23:18:51 GMT
Set-cookie: ctrust-session-v002b=AAAAAgABAEijGZ0nQ9Dyr0RI4xnTS4ip81Wyp62LaUoFGJTDL7h4dDBA0/yDFsygmQDEKJK7viEb3RkjTwvhO6kcWDGgaU2be45L2qDJ5Vg=; secure; domain=.domain.com; path=/
X-Powered-By: SOMETHING HERE
<?xml version="1.0" standalone="no"?>
My question is how can i retrieve the xml part? when i use a simple xml parser that i can get searching the net, it halts when it sees the header part thing. i've also tried strpos and search for the first occurence of <ref> and substr the values from the position of the <ref> but to no avail since the header part thing is always changing in terms of character size so the substr fails.
hope you can understand my dilemma.
thanks and more power!