Hi!

Here is a part of a given xml file:

<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="https://pluto.solar.go"; xmlns:dc="http://
purl.org/dc/elements/1.1/">
<channel>
 <title>akarmi</title>
 <link>https://pluto.solar.go</link>
 <description>we are small planet but strong</description>
 <language>plut</language>
<item>

I would like to use the content of the first link tag but i can't!
There is an example!

vlm1 = $(xml).find("title").eq(0).text(); // success
vlm2 = $(xml).find("link").eq(0).text(); // fail

I did not made the xml file and i can't edit it. How could i assign
the content of this link tag ?

Ty,
Thomas

Reply via email to