Hi there
The docs seem pretty sparse on this issue so wonder if anyone out there
knows what Im on about..
I have an xml file that Im doing a simple bit of transforming and looks
like this:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><feed
xml:lang="en-US">
<title mode="escaped" type="text/html">pics</title>
<info mode="xml" type="text/html">
<div xmlns="http://www.w3.org/1999/xhtml">
This is a feed created for google homepage
</div>
</info>
<entry>
<issued>20060209</issued>
<image type="image/html">http://www.test.com/someimage.gif</image>
</entry>
(etc..)
What I want to do is simply show the first image.. so I currently
have..
var nxsl = xmlParse(''
+ '<div select="/feed/entry[1]">'
+ ' <img select="image" content="." />'
+ '</div>');
which gives back:
<img>http://www.test.com/someimage.gif</img>
which as we all know isnt how a img tag looks like.
On the reference page
(http://www.google.com/apis/homepage/reference.html) it states that the
"values" attribute is what I probably need... but cant get the
name:pair thing working - what does the name pair look like?
thanks
will