Getting XML

Getting XML

am 31.08.2007 00:08:18 von jbest

------_=_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

=20

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?

=20

Regards,

Jason Aaron Best
Lead Development Engineer
602.393.8987 [M]=20
212.202.4288 [F]

866.297.2841 [TF]

http://www.mission3.com/images/Mission3LogoFinalColor.png
=20

=20


------_=_NextPart_001_01C7EB51.B2A800E5--

Re: Getting XML

am 31.08.2007 05:34:20 von mumia.w.18.spam+nospam

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

am 31.08.2007 18:37:00 von jbest

Thank you so much, that did the trick!

Regards,
Jason Aaron Best
Lead Development Engineer
602.393.8987 [M]=20
212.202.4288 [F]
866.297.2841 [TF]

=20
-----Original Message-----
From: Mumia W. [mailto:mumia.w.18.spam+nospam@earthlink.net]=20
Sent: Thursday, August 30, 2007 8:34 PM
To: Jason Best
Cc: libwww@perl.org
Subject: Re: Getting XML

On 08/30/2007 05:08 PM, Jason Best wrote:
> Hi,
>=20
> I have this URL:
> http://wowarmory.com/guild-info.xml?r=3DKilrogg&n=3DGood With =
Ketchup&p=3D1
>=20
> =20
>=20
> 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?
>=20

Force your user agent to identify itself as Firefox/2.0, and you'll get
XML.

RE: Getting XML

am 31.08.2007 19:58:15 von jbest

Thank you!

Regards,
Jason Aaron Best
Lead Development Engineer
602.393.8987 [M]=20
212.202.4288 [F]
866.297.2841 [TF]

=20

-----Original Message-----
From: Mumia W. [mailto:mumia.w.18.spam+nospam@earthlink.net]=20
Sent: Thursday, August 30, 2007 8:34 PM
To: Jason Best
Cc: libwww@perl.org
Subject: Re: Getting XML

On 08/30/2007 05:08 PM, Jason Best wrote:
> Hi,
>=20
> I have this URL:
> http://wowarmory.com/guild-info.xml?r=3DKilrogg&n=3DGood With =
Ketchup&p=3D1
>=20
> =20
>=20
> 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?
>=20

Force your user agent to identify itself as Firefox/2.0, and you'll get
XML.