note
erroneousBollock
<blockquote>Is there a way to use LWP:Simple to get the source of an XML document without the XSL transformation. </blockquote>
I doubt [mod://LWP::Simple] has anything to do with XSL translation of some XML document loaded by a webserver.<p>
<blockquote>if I got to the site and hit view source I can see the XML with no problem</blockquote>
My intuition is that the webserver is detecting the browser "agent" string and has determined that your browser (LWP::Simple) can't apply the stylesheet itself, so the webserver is doing the translation server-side for you.<p>
Try using [mod://LWP::UserAgent] and:<p> <strike><code>$ua->agent('Mozilla/5.0');</code></strike><p>
<code>$ua->agent('Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/2006120418 Firefox/2.0.0.1');</code><p>
<b>Update: </b>fixed agent string, thanks [Gangabass].<p>
-David
652324
652324