Getting XML
------_=_NextPart_001_01C7EB51.B2A800E5
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi,
I have this URL:
http://wowarmory.com/guild-info.xml?r=3DKilrogg&n=3DGood With =
Ketchup&p=3D1
When I view the source in FireFox, it shows up as an XML document. When
I use LWP I am getting the HTML from the stylesheet that is applied. Is
there any way to get at the XML with LWP so it doesn't apply the
stylesheet?
Regards,
Jason Aaron Best
Lead Development Engineer
602.393.8987 [M]
212.202.4288 [F]
866.297.2841 [TF]
http://www.mission3.com/images/Mission3LogoFinalColor.png
<http://www.mission3.com/>
------_=_NextPart_001_01C7EB51.B2A800E5--
Re: Getting XML
On 08/30/2007 05:08 PM, Jason Best wrote:
> Hi,
>
> I have this URL:
> http://wowarmory.com/guild-info.xml?r=Kilrogg&n=Good With Ketchup&p=1
>
>
>
> When I view the source in FireFox, it shows up as an XML document. When
> I use LWP I am getting the HTML from the stylesheet that is applied. Is
> there any way to get at the XML with LWP so it doesn't apply the
> stylesheet?
>
Force your user agent to identify itself as Firefox/2.0, and you'll get XML.
RE: Getting XML
Thank you so much, that did the trick!
Regards,
Jason Aaron Best
Lead Development Engineer
602.393.8987 [M]
212.202.4288 [F]
866.297.2841 [TF]
-----Original Message-----
From: Mumia W. [mailto:mumia.w.18.spam+nospam [at] earthlink.net]
Sent: Thursday, August 30, 2007 8:34 PM
To: Jason Best
Cc: libwww [at] perl.org
Subject: Re: Getting XML
On 08/30/2007 05:08 PM, Jason Best wrote:
> Hi,
>
> I have this URL:
> http://wowarmory.com/guild-info.xml?r=3DKilrogg&n=3DGood With =
Ketchup&p=3D1
>
>
>
> When I view the source in FireFox, it shows up as an XML document.
When
> I use LWP I am getting the HTML from the stylesheet that is applied.
Is
> there any way to get at the XML with LWP so it doesn't apply the
> stylesheet?
>
Force your user agent to identify itself as Firefox/2.0, and you'll get
XML.
RE: Getting XML
Thank you!
Regards,
Jason Aaron Best
Lead Development Engineer
602.393.8987 [M]
212.202.4288 [F]
866.297.2841 [TF]
-----Original Message-----
From: Mumia W. [mailto:mumia.w.18.spam+nospam [at] earthlink.net]
Sent: Thursday, August 30, 2007 8:34 PM
To: Jason Best
Cc: libwww [at] perl.org
Subject: Re: Getting XML
On 08/30/2007 05:08 PM, Jason Best wrote:
> Hi,
>
> I have this URL:
> http://wowarmory.com/guild-info.xml?r=3DKilrogg&n=3DGood With =
Ketchup&p=3D1
>
>
>
> When I view the source in FireFox, it shows up as an XML document.
When
> I use LWP I am getting the HTML from the stylesheet that is applied.
Is
> there any way to get at the XML with LWP so it doesn't apply the
> stylesheet?
>
Force your user agent to identify itself as Firefox/2.0, and you'll get
XML.