mitchel456
05-09-2009, 05:59 PM
Hi all, PHP beginner here - I'm trying to use fsockopen to retrieve an XML page. The page has an XSL stylesheet attached to it - but I don't want the stylesheet applied, because the raw XML has data that's obscured when the stylesheet is applied. My understanding was that XSL stylesheets were applied by the browser, so I'd have thought that using fsockopen directly would have caused the raw XML to be loaded, but it seems this isn't the case.
I can see the XML I want to process by using "view source" in any browser, so I know there has to be a way to access it and process it in my script, but I'm not having much luck. Anybody have any ideas? Am I overlooking something really basic?
Thanks in advance for any help,
Ryan
I can see the XML I want to process by using "view source" in any browser, so I know there has to be a way to access it and process it in my script, but I'm not having much luck. Anybody have any ideas? Am I overlooking something really basic?
Thanks in advance for any help,
Ryan