If I have the following in my Open Data Table specification:
CODE
<bindings>
<select itemPath="" produces="XML">
<urls>
<url>http://finance.yahoo.com/q?s={ticker}</url>
<url>http://finance.yahoo.com/q/pr?s={ticker}</url>
<url>http://finance.yahoo.com/q/hp?s={ticker}</url>
</urls>
<inputs>
<key id='ticker' type='xs:string' paramType='path' required='true' />
</inputs>
<execute><![CDATA[
response.object =
<stock symbol={ticker}>
<test>{request.url}</test>
</stock>
]]></execute>
</select>
</bindings>
When I test this I only get the last <url> element:
CODE
<results>
<stock symbol="yhoo">
<test>http://finance.yahoo.com/q/hp?s=yhoo</test>
</stock>
</results>
How do I refer to the other <url>s in <urls>?
Also the
OAuth Signed Request to Netflix example has:
CODE
<urls>
<url env="all">http://api.netflix.com/catalog/titles/</url>
</urls>
But I don't see in the Open Data Table Reference any mention of the attributes of the <url> element?