AutoHotkey Community

It is currently May 27th, 2012, 11:01 am

All times are UTC [ DST ]




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 417 posts ]  Go to page Previous  1 ... 24, 25, 26, 27, 28
Author Message
 Post subject:
PostPosted: July 10th, 2009, 8:14 am 
Offline

Joined: April 14th, 2009, 10:06 am
Posts: 28
im gonna try it, one question..

is better to have an xml loaded all the script's lifetime? or just load it everytime i need to retrieve data from it.(refering to speed, memory consumption..)

I'm actually loading the xml inside a function before retrieving data but i could load it in the ahk public section and access it as a global variable.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 10th, 2009, 8:29 am 
Offline

Joined: November 7th, 2006, 9:47 pm
Posts: 1934
Location: Germany
This cant be answered easily. How big is the file? How often do you need to change it on the disk? ... and so on. Memory comsumption is less important to me than speed. In most situation, loading it once into memory and access from there is common. If the file is big, then this technique is preferred. my recommendations ...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 10th, 2009, 11:17 am 
Offline

Joined: April 14th, 2009, 10:06 am
Posts: 28
Well,

I'm developing a Remember the milk API done entirely in Autohotkey, so ...potentially the xml colud be very big, as long as the task list of the user

Example from my own tasks...:

Code:
  <?xml version="1.0" encoding="UTF-8" ?>
- <rsp stat="ok">
- <tasks>
- <list id="7122056">
- <taskseries id="34491597" created="2009-02-26T16:58:51Z" modified="2009-02-26T16:58:51Z" name="The office" source="api" url="" location_id="">
  <tags />
  <participants />
  <notes />
  <task id="48634237" due="" has_due_time="0" added="2009-02-26T16:58:51Z" completed="" deleted="" priority="N" postponed="0" estimate="" />
  </taskseries>
- <taskseries id="32985578" created="2009-02-08T21:26:59Z" modified="2009-02-08T21:26:59Z" name="mujeres desesperadas t5" source="api" url="" location_id="">
  <tags />
  <participants />
  <notes />
  <task id="46509865" due="" has_due_time="0" added="2009-02-08T21:26:59Z" completed="" deleted="" priority="N" postponed="0" estimate="" />
  </taskseries>
- <taskseries id="33001635" created="2009-02-09T01:22:49Z" modified="2009-02-09T01:22:49Z" name="Lost 5" source="api" url="" location_id="">
  <tags />
  <participants />
  <notes />
  <task id="46532603" due="" has_due_time="0" added="2009-02-09T01:22:49Z" completed="" deleted="" priority="N" postponed="0" estimate="" />
  </taskseries>
- <taskseries id="41507662" created="2009-05-28T11:48:07Z" modified="2009-05-28T11:48:07Z" name="jericho" source="api" url="" location_id="">
  <tags />
  <participants />
  <notes />
  <task id="59060859" due="" has_due_time="0" added="2009-05-28T11:48:07Z" completed="" deleted="" priority="N" postponed="0" estimate="" />
  </taskseries>
- <taskseries id="32483379" created="2009-02-02T19:00:12Z" modified="2009-02-02T19:00:12Z" name="big Bang theory" source="api" url="" location_id="">
  <tags />
  <participants />
  <notes />
  <task id="45810357" due="" has_due_time="0" added="2009-02-02T19:00:12Z" completed="" deleted="" priority="N" postponed="0" estimate="" />
  </taskseries>
  </list>
- <list id="8183861">
- <taskseries id="40728936" created="2009-05-18T00:38:39Z" modified="2009-05-18T00:38:39Z" name="the hurt locker" source="api" url="" location_id="">
  <tags />
  <participants />
  <notes />
  <task id="57930850" due="" has_due_time="0" added="2009-05-18T00:38:39Z" completed="" deleted="" priority="N" postponed="0" estimate="" />
  </taskseries>
- <taskseries id="37451654" created="2009-04-05T19:17:57Z" modified="2009-04-05T19:17:57Z" name="Mysterios Skin . Oscura inocencia" source="api" url="" location_id="">
  <tags />
  <participants />
  <notes />
  <task id="53021261" due="" has_due_time="0" added="2009-04-05T19:17:57Z" completed="" deleted="" priority="N" postponed="0" estimate="" />
  </taskseries>
  </list>
- <list id="7128350">
- <taskseries id="34889298" created="2009-03-03T18:32:32Z" modified="2009-07-09T12:25:01Z" name="tagoria online" source="api" url="" location_id="">
  <tags />
  <participants />
  <notes />
  <task id="49231262" due="" has_due_time="0" added="2009-03-03T18:32:32Z" completed="" deleted="" priority="N" postponed="0" estimate="" />
  </taskseries>
- <taskseries id="33331197" created="2009-02-12T09:21:41Z" modified="2009-02-12T09:21:41Z" name="Spectromancer" source="api" url="" location_id="">
  <tags />
  <participants />
  <notes />
  <task id="46981263" due="" has_due_time="0" added="2009-02-12T09:21:41Z" completed="" deleted="" priority="N" postponed="0" estimate="" />
  </taskseries>
- <taskseries id="39817986" created="2009-05-05T16:23:38Z" modified="2009-05-08T07:57:17Z" name="dragon age" source="api" url="" location_id="">
  <tags />
  <participants />
  <notes />
  <task id="56542088" due="" has_due_time="0" added="2009-05-05T16:23:38Z" completed="" deleted="" priority="N" postponed="0" estimate="" />
  </taskseries>
- <taskseries id="31866527" created="2009-01-26T17:30:10Z" modified="2009-01-26T17:30:10Z" name="Call of Duty 5" source="api" url="" location_id="">
  <tags />
  <participants />
  <notes />
  <task id="44956278" due="" has_due_time="0" added="2009-01-26T17:30:10Z" completed="" deleted="" priority="N" postponed="0" estimate="" />
  </taskseries>
  </list>
- <list id="3790033">
- <taskseries id="38921987" created="2009-04-24T09:55:44Z" modified="2009-04-24T09:55:44Z" name="snagit" source="api" url="" location_id="">
  <tags />
  <participants />
  <notes />
  <task id="55198912" due="" has_due_time="0" added="2009-04-24T09:55:44Z" completed="" deleted="" priority="N" postponed="0" estimate="" />
  </taskseries>
- <taskseries id="38326881" created="2009-04-16T16:27:49Z" modified="2009-04-16T16:27:49Z" name="Process tamer" source="api" url="" location_id="">
  <tags />
  <participants />
  <notes />
  <task id="54306534" due="" has_due_time="0" added="2009-04-16T16:27:49Z" completed="" deleted="" priority="N" postponed="0" estimate="" />
  </taskseries>
  </list>
- <list id="7482206">
- <taskseries id="38299478" created="2009-04-16T10:02:08Z" modified="2009-04-16T10:02:08Z" name="Probar pantallas preautnedco" source="api" url="" location_id="">
  <tags />
  <participants />
  <notes />
  <task id="54270542" due="" has_due_time="0" added="2009-04-16T10:02:08Z" completed="" deleted="" priority="N" postponed="0" estimate="" />
  </taskseries>
- <taskseries id="37142891" created="2009-04-01T07:22:52Z" modified="2009-04-01T07:22:52Z" name="Presupuesto tubos" source="api" url="" location_id="">
  <tags />
  <participants />
  <notes />
  <task id="52539370" due="" has_due_time="0" added="2009-04-01T07:22:52Z" completed="" deleted="" priority="N" postponed="0" estimate="" />
  </taskseries>
- <taskseries id="34409714" created="2009-02-25T18:43:32Z" modified="2009-02-25T18:43:32Z" name="Ponew Web 2.0 foro" source="api" url="" location_id="">
  <tags />
  <participants />
  <notes />
  <task id="48521558" due="" has_due_time="0" added="2009-02-25T18:43:32Z" completed="" deleted="" priority="N" postponed="0" estimate="" />
  </taskseries>
- <taskseries id="34183872" created="2009-02-23T12:00:53Z" modified="2009-02-23T12:00:53Z" name="Crear plantillas EA" source="api" url="" location_id="">
  <tags />
  <participants />
  <notes />
  <task id="48213269" due="" has_due_time="0" added="2009-02-23T12:00:53Z" completed="" deleted="" priority="N" postponed="0" estimate="" />
  </taskseries>
  </list>
- <list id="7122248">
- <taskseries id="33279916" created="2009-02-11T19:10:51Z" modified="2009-02-11T19:10:51Z" name="Las intermitencias de la muerte" source="api" url="" location_id="">
  <tags />
  <participants />
  <notes />
  <task id="46910314" due="" has_due_time="0" added="2009-02-11T19:10:51Z" completed="" deleted="" priority="N" postponed="0" estimate="" />
  </taskseries>
- <taskseries id="31825443" created="2009-01-26T10:04:24Z" modified="2009-01-26T10:04:24Z" name="Jonathan Strange y el señor Norrel" source="api" url="" location_id="">
  <tags />
  <participants />
  <notes />
  <task id="44902938" due="" has_due_time="0" added="2009-01-26T10:04:24Z" completed="" deleted="" priority="N" postponed="0" estimate="" />
  </taskseries>
- <taskseries id="32432162" created="2009-02-02T08:39:08Z" modified="2009-02-02T08:39:08Z" name="Ilion - Dan Simmons" source="api" url="" location_id="">
  <tags />
  <participants />
  <notes />
  <task id="45740130" due="" has_due_time="0" added="2009-02-02T08:39:08Z" completed="" deleted="" priority="N" postponed="0" estimate="" />
  </taskseries>
- <taskseries id="17023243" created="2008-07-01T09:46:03Z" modified="2009-01-26T16:01:24Z" name="Ensayo Sobre la ceguera(Saramago)" source="js" url="" location_id="">
  <tags />
  <participants />
  <notes />
  <task id="24523903" due="" has_due_time="0" added="2008-07-01T09:46:03Z" completed="" deleted="" priority="N" postponed="0" estimate="" />
  </taskseries>
  </list>
- <list id="7127039">
- <taskseries id="31935139" created="2009-01-27T08:31:01Z" modified="2009-01-27T08:31:01Z" name="Fabulas" source="api" url="" location_id="">
  <tags />
  <participants />
  <notes />
  <task id="45045418" due="" has_due_time="0" added="2009-01-27T08:31:01Z" completed="" deleted="" priority="N" postponed="0" estimate="" />
  </taskseries>
- <taskseries id="17086681" created="2008-07-02T07:49:35Z" modified="2009-01-26T17:32:41Z" name="Comic: Runaways de Marvel" source="js" url="" location_id="">
  <tags />
  <participants />
  <notes />
  <task id="24611963" due="" has_due_time="0" added="2008-07-02T07:49:35Z" completed="" deleted="" priority="N" postponed="0" estimate="" />
  </taskseries>
  </list>
- <list id="8321688">
- <taskseries id="40760061" created="2009-05-18T10:04:30Z" modified="2009-05-18T10:04:30Z" name="cuenta nomina ing" source="api" url="" location_id="">
  <tags />
  <participants />
  <notes />
  <task id="57980672" due="" has_due_time="0" added="2009-05-18T10:04:30Z" completed="" deleted="" priority="N" postponed="0" estimate="" />
  </taskseries>
  </list>
- <list id="7235118">
- <taskseries id="32433671" created="2009-02-02T09:03:07Z" modified="2009-02-02T09:03:07Z" name="Corporation (Mar 09)" source="api" url="" location_id="">
  <tags />
  <participants />
  <notes />
  <task id="45742629" due="" has_due_time="0" added="2009-02-02T09:03:07Z" completed="" deleted="" priority="N" postponed="0" estimate="" />
  </taskseries>
  </list>
- <list id="7110702">
- <taskseries id="43057213" created="2009-06-19T10:45:56Z" modified="2009-06-19T10:45:56Z" name="Armarios cocina" source="api" url="" location_id="">
  <tags />
  <participants />
  <notes />
  <task id="61302651" due="" has_due_time="0" added="2009-06-19T10:45:56Z" completed="" deleted="" priority="N" postponed="0" estimate="" />
  </taskseries>
  </list>
  </tasks>
  </rsp>


this api also uses lists xml, groups xml ans something like that, but aren't as big as task's xml.

The tasks.xml is never changed from the API, when you add a task or similar u add it remotely and the api download the new tasks.xml


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 29th, 2009, 2:13 pm 
Offline

Joined: January 12th, 2007, 4:30 am
Posts: 531
Location: Norway
Titan: I looked at this a long time ago, but I didn't think it worked with sibling nodes so I ended up writing my own function which was tailored to my specific problem and not very reusable. Looking at xpath again I realized I have been mixing it up with infogulche's simpler function. So I'd like to update my script to use xpath which seems very robust.

After downloading xpath I couldn't get it to work properly. I think the first example in the documentation needs to be updated from this:
Code:
#Include xpath.ahk ; include functions (only required if it is not in your standard library)
; parsing documents:
xml := xpath_load("books.xml") ; load an XML document
titles := xpath(xml, "/bookstore/books[price>35]/title/text()") ; get book titles with a cost greater than 35

to this:
Code:
#Include xpath.ahk
xpath_load(xml, "books.xml") ; xml := xpath_load("books.xml") did not work for me?
titles := xpath(xml, "/bookstore/book[price>35]/title/text()")

Notice there is no "s" in book in the following [url]W3 example[/url]:
Quote:
<?xml version="1.0" encoding="ISO-8859-1"?>

<bookstore>

<book>
<title lang="eng">Harry Potter</title>
<price>29.99</price>
</book>

<book>
<title lang="eng">Learning XML</title>
<price>39.95</price>
</book>

</bookstore>


This was also confusing because it meant the example returned a blank string. Perhaps this example XML should also be included in the documentation so that it can be tested almost out-of-the-box? I think I'm starting to get the hang of things now, and if so, this will greatly improve the reliability of my code. Thanks a lot!


Report this post
Top
 Profile  
Reply with quote  
PostPosted: August 18th, 2009, 1:30 pm 
Offline

Joined: November 24th, 2005, 8:16 am
Posts: 851
Hey everybody,

I think there is something wrong with the way CDATA is handled.
I noticed there is a place in the code that is intended to escape tags while inside the CDATA, but this code did not work for me and left tags unescaped.

The behavior was particularly problematic when the CDATA contained tags that are not closed - this breaks the xpath parser completely.

I am using xpath version 3.13c, and below is an example - you will notice that data after the broken element (Item 2) is no longer accessible.

The XML:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
  <channel>
    <item>
      <title>Item 1 Working</title>
      <description>
        <![CDATA[ <p>asd</p> ]]>
      </description>           
    </item>
   
    <item>
      <title>Item 2 Working</title>
      <description>
        <![CDATA[ <p>Note a broken HTML here ]]>
      </description>
    </item>
   
    <item>
      <title>Item 3 NOT Working</title>
      <description>Doesnt matter</description>
    </item>   
  </channel>
</rss>




The AHK:
Code:
#SingleInstance Force

FileRead rss, XpathBreaking.xml
xpath_load( rss )
Result := ""
Loop 3 {
  Result .= xpath( rss, "/rss/channel/item[" . A_Index . "]/title/text()" ) . "`n"
  Result .= xpath( rss, "/rss/channel/item[" . A_Index . "]/description/text()" ) . "`n"
  Result .= "----`n"
}

msgbox %Result%

Return
#include ..\..\..\includes\xpath\xpath.ahk


The Result (should have printed the three items, printed 2)
Code:
Item 1 Working

<p>asd</p> ]]>

----
Item 2 Working

<p>Note a broken HTML here ]]>
</p>

----


----




I found this particular problem when trying to read TechCrunch's RSS feed at http://feedproxy.google.com/TechCrunch

Is there a workaround, or am I missing something?

_________________
Sector-Seven - Freeware tools built with AutoHotkey


Report this post
Top
 Profile  
Reply with quote  
 Post subject: noob xpath help
PostPosted: August 19th, 2009, 12:34 am 
Offline

Joined: July 28th, 2009, 6:14 pm
Posts: 9
This is my first time posting to the forums.
<edit>
whoops. totally forgot about the other two posts i made. NVM about this part. lol.
</edit>
Not sure if this question goes here or in a new ask-for-help thread.
I'm new to xpath, and xml in general.
Using xpath 3.13c. Haven't fiddled with xpath4.
I'm trying to write a script to look for the content in /sets/set/object/title/text()
where /sets/set/object/bottom/edge/amount/text() is a specific value.

I do not want multiple title values returned, just the one that corresponds to the bottom/edge/amount/text().

Code:
<?xml version="1.0" encoding="utf-8"?>
<sets>
  <set>
    <title>water_shallow</title>
    <object width="1" height="1">
      <title>HJ</title>
      <tiles>
        <row pos="1">HJ</row>
      </tiles>
      <top>
        <edge pos="1">
          <objectmatch></objectmatch>
          <amount>full</amount>
          <theme>water</theme>
          <type position="1">water</type>
        </edge>
      </top>
      <bottom>
        <edge pos="1">
          <objectmatch></objectmatch>
          <amount>full</amount>
          <theme>water</theme>
          <type position="1">shallow</type>
        </edge>
      </bottom>
      <left>
        <edge pos="1">
          <objectmatch></objectmatch>
          <amount>full</amount>
          <theme>water</theme>
          <type position="1">shallow</type>
        </edge>
      </left>
      <right>
        <edge pos="1">
          <objectmatch></objectmatch>
          <amount>full</amount>
          <theme>water</theme>
          <type position="1">water</type>
        </edge>
      </right>
    </object>
    <object width="1" height="1">
      <title>GZ</title>
      <tiles>
        <row pos="1">GZ</row>
      </tiles>
      <top>
        <edge pos="1">
          <objectmatch></objectmatch>
          <amount>full</amount>
          <theme>water</theme>
          <type position="1">water</type>
        </edge>
      </top>
      <bottom>
        <edge pos="1">
          <objectmatch></objectmatch>
          <amount>full</amount>
          <theme>water</theme>
          <type position="1">shallow</type>
        </edge>
      </bottom>
      <left>
        <edge pos="1">
          <objectmatch></objectmatch>
          <amount>half</amount>
          <theme>water</theme>
          <type position="1">water</type>
          <type position="2">shallow</type>
        </edge>
      </left>
      <right>
        <edge pos="1">
          <objectmatch></objectmatch>
          <amount>full</amount>
          <theme>water</theme>
          <type position="1">water</type>
        </edge>
      </right>
    </object>
    <object width="1" height="1">
      <title>Go</title>
      <tiles>
        <row pos="1">Go</row>
      </tiles>
      <top>
        <edge pos="1">
          <objectmatch></objectmatch>
          <amount>full</amount>
          <theme>water</theme>
          <type position="1">water</type>
        </edge>
      </top>
      <bottom>
        <edge pos="1">
          <objectmatch></objectmatch>
          <amount>half</amount>
          <theme>water</theme>
          <type position="1">shallow</type>
          <type position="2">water</type>
        </edge>
      </bottom>
      <left>
        <edge pos="1">
          <objectmatch></objectmatch>
          <amount>full</amount>
          <theme>water</theme>
          <type position="1">shallow</type>
        </edge>
      </left>
      <right>
        <edge pos="1">
          <objectmatch></objectmatch>
          <amount>full</amount>
          <theme>water</theme>
          <type position="1">water</type>
        </edge>
      </right>
    </object>
  </set>
</sets>


Code:
#NoEnv 
SendMode Input
SetWorkingDir %A_ScriptDir%
#include xpath.ahk

inputbox, userin, object name, Input the object title
xpath_load(myxml, "tileborderdefs.xml")

title := xpath(myxml, "/sets/set[title = water_shallow]/object[title =" . userin . "]/title/text()")

amount := xpath(myxml, "/sets/set[title = water_shallow]/object[title =" . userin . "]/top/edge[1]/amount/text()")

theme := xpath(myxml, "/sets/set[title = water_shallow]/object[title =" . userin . "]/top/edge[1]/theme/text()")

type := xpath(myxml, "/sets/set[title = water_shallow]/object[title =" . userin . "]/top/edge[1]/type/text()")

msgbox Title: %title% `nTop edge:`n  Amount: %amount%`n  Theme: %theme%`n  Type: %type%

;here is where I'm having trouble
match := xpath(myxml, "/sets/set[title = water_shallow]/object[bottom/edge/amount =" . amount . "]/title/text()")
msgbox %match%


I'm really not sure what syntax i should be using here, or if there is simply no direct way to do what i want to do.
I tried searching through the forums for a solution, but didn't find anything. If this answer has already been posted and I missed it, then I apologize.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 14th, 2009, 8:12 pm 
Offline

Joined: February 20th, 2008, 8:08 am
Posts: 22
gives me a blank msgbox, any ideas why? :(

ahk:
Code:
#Include inc_xpath.ahk

xpath_load(xml, "html.xml")
titles := xpath(xml, "/itemsearchresponse/items/totalresults")
msgbox % titles


xml:
Code:
<?xml version="1.0" ?>
<ItemSearchResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2009-03-31">
      <OperationRequest>
            <HTTPHeaders>
                  <Header Name="UserAgent" Value="AutoHotkeyScript"></Header>
            </HTTPHeaders>
            <RequestId>5eba79ec-8757-48de-b4d2-b17fcd3e7d39</RequestId>
            <Arguments>
                  <Argument Name="Operation" Value="ItemSearch"></Argument>
                  <Argument Name="Service" Value="AWSECommerceService"></Argument>
                  <Argument Name="Signature" Value="censored"></Argument>
                  <Argument Name="ItemPage" Value="1"></Argument>
                  <Argument Name="Version" Value="2009-03-31"></Argument>
                  <Argument Name="Keywords" Value="ef"></Argument>
                  <Argument Name="AWSAccessKeyId" Value="censored"></Argument>
                  <Argument Name="Timestamp" Value="2009-09-14T19:05:55Z"></Argument>
                  <Argument Name="SearchIndex" Value="Music"></Argument>
            </Arguments>
            <RequestProcessingTime>0.0743910000000000</RequestProcessingTime>
      </OperationRequest>
      <Items>
            <Request>
                  <IsValid>True</IsValid>
                  <ItemSearchRequest>
                        <Condition>New</Condition>
                        <DeliveryMethod>Ship</DeliveryMethod>
                        <ItemPage>1</ItemPage>
                        <Keywords>ef</Keywords>
                        <MerchantId>Amazon</MerchantId>
                        <ResponseGroup>Small</ResponseGroup>
                        <ReviewSort>-SubmissionDate</ReviewSort>
                        <SearchIndex>Music</SearchIndex>
                  </ItemSearchRequest>
            </Request>
            <TotalResults>95</TotalResults>
            <TotalPages>10</TotalPages>
            <Item>
                  <ASIN>B0016COVTM</ASIN>
                  <DetailPageURL>http://www.amazon.com/I-Am-Responsible-Ef/dp/B0016COVTM%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB0016COVTM</DetailPageURL>
                  <ItemLinks>
                        <ItemLink>
                              <Description>Technical Details</Description>
                              <URL>http://www.amazon.com/I-Am-Responsible-Ef/dp/tech-data/B0016COVTM%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB0016COVTM</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Baby Registry</Description>
                              <URL>http://www.amazon.com/gp/registry/baby/add-item.html%3Fasin.0%3DB0016COVTM%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB0016COVTM</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Wedding Registry</Description>
                              <URL>http://www.amazon.com/gp/registry/wedding/add-item.html%3Fasin.0%3DB0016COVTM%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB0016COVTM</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Wishlist</Description>
                              <URL>http://www.amazon.com/gp/registry/wishlist/add-item.html%3Fasin.0%3DB0016COVTM%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB0016COVTM</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Tell A Friend</Description>
                              <URL>http://www.amazon.com/gp/pdp/taf/B0016COVTM%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB0016COVTM</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>All Customer Reviews</Description>
                              <URL>http://www.amazon.com/review/product/B0016COVTM%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB0016COVTM</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>All Offers</Description>
                              <URL>http://www.amazon.com/gp/offer-listing/B0016COVTM%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB0016COVTM</URL>
                        </ItemLink>
                  </ItemLinks>
                  <ItemAttributes>
                        <Artist>Ef</Artist>
                        <ProductGroup>Music</ProductGroup>
                        <Title>I Am Responsible</Title>
                  </ItemAttributes>
            </Item>
            <Item>
                  <ASIN>B000YDAAWG</ASIN>
                  <DetailPageURL>http://www.amazon.com/Caught-Sense-Values-Destroyed-Ef/dp/B000YDAAWG%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB000YDAAWG</DetailPageURL>
                  <ItemLinks>
                        <ItemLink>
                              <Description>Technical Details</Description>
                              <URL>http://www.amazon.com/Caught-Sense-Values-Destroyed-Ef/dp/tech-data/B000YDAAWG%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB000YDAAWG</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Baby Registry</Description>
                              <URL>http://www.amazon.com/gp/registry/baby/add-item.html%3Fasin.0%3DB000YDAAWG%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB000YDAAWG</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Wedding Registry</Description>
                              <URL>http://www.amazon.com/gp/registry/wedding/add-item.html%3Fasin.0%3DB000YDAAWG%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB000YDAAWG</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Wishlist</Description>
                              <URL>http://www.amazon.com/gp/registry/wishlist/add-item.html%3Fasin.0%3DB000YDAAWG%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB000YDAAWG</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Tell A Friend</Description>
                              <URL>http://www.amazon.com/gp/pdp/taf/B000YDAAWG%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB000YDAAWG</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>All Customer Reviews</Description>
                              <URL>http://www.amazon.com/review/product/B000YDAAWG%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB000YDAAWG</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>All Offers</Description>
                              <URL>http://www.amazon.com/gp/offer-listing/B000YDAAWG%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB000YDAAWG</URL>
                        </ItemLink>
                  </ItemLinks>
                  <ItemAttributes>
                        <Creator Role="Performer">Ef</Creator>
                        <ProductGroup>Music</ProductGroup>
                        <Title>Caught Sense of Values Is Destroyed</Title>
                  </ItemAttributes>
            </Item>
            <Item>
                  <ASIN>B000X431FE</ASIN>
                  <DetailPageURL>http://www.amazon.com/Ef-Tale-Memories/dp/B000X431FE%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB000X431FE</DetailPageURL>
                  <ItemLinks>
                        <ItemLink>
                              <Description>Technical Details</Description>
                              <URL>http://www.amazon.com/Ef-Tale-Memories/dp/tech-data/B000X431FE%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB000X431FE</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Baby Registry</Description>
                              <URL>http://www.amazon.com/gp/registry/baby/add-item.html%3Fasin.0%3DB000X431FE%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB000X431FE</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Wedding Registry</Description>
                              <URL>http://www.amazon.com/gp/registry/wedding/add-item.html%3Fasin.0%3DB000X431FE%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB000X431FE</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Wishlist</Description>
                              <URL>http://www.amazon.com/gp/registry/wishlist/add-item.html%3Fasin.0%3DB000X431FE%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB000X431FE</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Tell A Friend</Description>
                              <URL>http://www.amazon.com/gp/pdp/taf/B000X431FE%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB000X431FE</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>All Customer Reviews</Description>
                              <URL>http://www.amazon.com/review/product/B000X431FE%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB000X431FE</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>All Offers</Description>
                              <URL>http://www.amazon.com/gp/offer-listing/B000X431FE%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB000X431FE</URL>
                        </ItemLink>
                  </ItemLinks>
                  <ItemAttributes>
                        <Creator Role="Performer">Ef-a Tale of Memories.</Creator>
                        <Manufacturer>Phantom Sound &amp; Vision</Manufacturer>
                        <ProductGroup>Music</ProductGroup>
                        <Title>Ef- A Tale of Memories.</Title>
                  </ItemAttributes>
            </Item>
            <Item>
                  <ASIN>B00005NNDS</ASIN>
                  <DetailPageURL>http://www.amazon.com/Purcell-Fairy-Queen-Abridged-Aeneas/dp/B00005NNDS%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB00005NNDS</DetailPageURL>
                  <ItemLinks>
                        <ItemLink>
                              <Description>Technical Details</Description>
                              <URL>http://www.amazon.com/Purcell-Fairy-Queen-Abridged-Aeneas/dp/tech-data/B00005NNDS%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB00005NNDS</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Baby Registry</Description>
                              <URL>http://www.amazon.com/gp/registry/baby/add-item.html%3Fasin.0%3DB00005NNDS%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB00005NNDS</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Wedding Registry</Description>
                              <URL>http://www.amazon.com/gp/registry/wedding/add-item.html%3Fasin.0%3DB00005NNDS%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB00005NNDS</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Wishlist</Description>
                              <URL>http://www.amazon.com/gp/registry/wishlist/add-item.html%3Fasin.0%3DB00005NNDS%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB00005NNDS</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Tell A Friend</Description>
                              <URL>http://www.amazon.com/gp/pdp/taf/B00005NNDS%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB00005NNDS</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>All Customer Reviews</Description>
                              <URL>http://www.amazon.com/review/product/B00005NNDS%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB00005NNDS</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>All Offers</Description>
                              <URL>http://www.amazon.com/gp/offer-listing/B00005NNDS%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB00005NNDS</URL>
                        </ItemLink>
                  </ItemLinks>
                  <ItemAttributes>
                        <Creator Role="Composer">Henry Purcell</Creator>
                        <Creator Role="Conductor">Nikolaus Harnoncourt</Creator>
                        <Creator Role="Conductor">Raymond Leppard</Creator>
                        <Creator Role="Performer">Paul Esswood</Creator>
                        <Creator Role="Orchestra">Concentus Musicus Wien</Creator>
                        <Creator Role="Performer">Benita Valente</Creator>
                        <Creator Role="Performer">Shirley Verrett</Creator>
                        <Creator Role="Performer">Ian Partridge</Creator>
                        <Creator Role="Performer">Carlo Gaifa</Creator>
                        <Creator Role="Performer">Carmen Lavani</Creator>
                        <Creator Role="Performer">Dan Jordacescu</Creator>
                        <Creator Role="Performer">Helen Donath</Creator>
                        <Creator Role="Performer">Margaret Lensky</Creator>
                        <Creator Role="Performer">Oralia Dominguez</Creator>
                        <Creator Role="Performer">Rosina Cavicchioli</Creator>
                        <Manufacturer>Opera D'oro</Manufacturer>
                        <ProductGroup>Music</ProductGroup>
                        <Title>Purcell: The Fairy Queen (Abridged); Dido &amp; Aeneas</Title>
                  </ItemAttributes>
            </Item>
            <Item>
                  <ASIN>B000007NEE</ASIN>
                  <DetailPageURL>http://www.amazon.com/Chausson-Po%C3%A8me-Ef-Trio-Gm/dp/B000007NEE%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB000007NEE</DetailPageURL>
                  <ItemLinks>
                        <ItemLink>
                              <Description>Technical Details</Description>
                              <URL>http://www.amazon.com/Chausson-Po%C3%A8me-Ef-Trio-Gm/dp/tech-data/B000007NEE%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB000007NEE</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Baby Registry</Description>
                              <URL>http://www.amazon.com/gp/registry/baby/add-item.html%3Fasin.0%3DB000007NEE%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB000007NEE</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Wedding Registry</Description>
                              <URL>http://www.amazon.com/gp/registry/wedding/add-item.html%3Fasin.0%3DB000007NEE%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB000007NEE</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Wishlist</Description>
                              <URL>http://www.amazon.com/gp/registry/wishlist/add-item.html%3Fasin.0%3DB000007NEE%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB000007NEE</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Tell A Friend</Description>
                              <URL>http://www.amazon.com/gp/pdp/taf/B000007NEE%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB000007NEE</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>All Customer Reviews</Description>
                              <URL>http://www.amazon.com/review/product/B000007NEE%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB000007NEE</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>All Offers</Description>
                              <URL>http://www.amazon.com/gp/offer-listing/B000007NEE%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB000007NEE</URL>
                        </ItemLink>
                  </ItemLinks>
                  <ItemAttributes>
                        <Creator Role="Performer">Gary Hoffman</Creator>
                        <Creator Role="Performer">Charles Neidich</Creator>
                        <Creator Role="Composer">Ernest Chausson</Creator>
                        <Creator Role="Performer">Pascal Devoyon</Creator>
                        <Creator Role="Performer">Philippe Graffin</Creator>
                        <Manufacturer>Hyperion UK</Manufacturer>
                        <ProductGroup>Music</ProductGroup>
                        <Title>Chausson: Poème in Ef; Trio in Gm</Title>
                  </ItemAttributes>
            </Item>
            <Item>
                  <ASIN>B0001Y1I5G</ASIN>
                  <DetailPageURL>http://www.amazon.com/Their-Finest-Hours-Ef-Band/dp/B0001Y1I5G%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB0001Y1I5G</DetailPageURL>
                  <ItemLinks>
                        <ItemLink>
                              <Description>Technical Details</Description>
                              <URL>http://www.amazon.com/Their-Finest-Hours-Ef-Band/dp/tech-data/B0001Y1I5G%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB0001Y1I5G</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Baby Registry</Description>
                              <URL>http://www.amazon.com/gp/registry/baby/add-item.html%3Fasin.0%3DB0001Y1I5G%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB0001Y1I5G</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Wedding Registry</Description>
                              <URL>http://www.amazon.com/gp/registry/wedding/add-item.html%3Fasin.0%3DB0001Y1I5G%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB0001Y1I5G</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Wishlist</Description>
                              <URL>http://www.amazon.com/gp/registry/wishlist/add-item.html%3Fasin.0%3DB0001Y1I5G%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB0001Y1I5G</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Tell A Friend</Description>
                              <URL>http://www.amazon.com/gp/pdp/taf/B0001Y1I5G%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB0001Y1I5G</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>All Customer Reviews</Description>
                              <URL>http://www.amazon.com/review/product/B0001Y1I5G%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB0001Y1I5G</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>All Offers</Description>
                              <URL>http://www.amazon.com/gp/offer-listing/B0001Y1I5G%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB0001Y1I5G</URL>
                        </ItemLink>
                  </ItemLinks>
                  <ItemAttributes>
                        <Creator Role="Performer">Ef Band</Creator>
                        <ProductGroup>Music</ProductGroup>
                        <Title>Their Finest Hours</Title>
                  </ItemAttributes>
            </Item>
            <Item>
                  <ASIN>B001F1XESS</ASIN>
                  <DetailPageURL>http://www.amazon.com/Ef-Tale-Melodies-Mizuki-Hayama/dp/B001F1XESS%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB001F1XESS</DetailPageURL>
                  <ItemLinks>
                        <ItemLink>
                              <Description>Technical Details</Description>
                              <URL>http://www.amazon.com/Ef-Tale-Melodies-Mizuki-Hayama/dp/tech-data/B001F1XESS%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB001F1XESS</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Baby Registry</Description>
                              <URL>http://www.amazon.com/gp/registry/baby/add-item.html%3Fasin.0%3DB001F1XESS%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB001F1XESS</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Wedding Registry</Description>
                              <URL>http://www.amazon.com/gp/registry/wedding/add-item.html%3Fasin.0%3DB001F1XESS%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB001F1XESS</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Wishlist</Description>
                              <URL>http://www.amazon.com/gp/registry/wishlist/add-item.html%3Fasin.0%3DB001F1XESS%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB001F1XESS</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Tell A Friend</Description>
                              <URL>http://www.amazon.com/gp/pdp/taf/B001F1XESS%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB001F1XESS</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>All Customer Reviews</Description>
                              <URL>http://www.amazon.com/review/product/B001F1XESS%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB001F1XESS</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>All Offers</Description>
                              <URL>http://www.amazon.com/gp/offer-listing/B001F1XESS%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB001F1XESS</URL>
                        </ItemLink>
                  </ItemLinks>
                  <ItemAttributes>
                        <Artist>Original Soundtrack</Artist>
                        <Manufacturer>Pioneer / Geneon Jpn</Manufacturer>
                        <ProductGroup>Music</ProductGroup>
                        <Title>Ef-A Tale of Melodies: Ed Theme/Mizuki Hayama</Title>
                  </ItemAttributes>
            </Item>
            <Item>
                  <ASIN>B00000K2UC</ASIN>
                  <DetailPageURL>http://www.amazon.com/Mendelssohn-Octet-Tchaikovsky-Souvenir-Florence/dp/B00000K2UC%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB00000K2UC</DetailPageURL>
                  <ItemLinks>
                        <ItemLink>
                              <Description>Technical Details</Description>
                              <URL>http://www.amazon.com/Mendelssohn-Octet-Tchaikovsky-Souvenir-Florence/dp/tech-data/B00000K2UC%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB00000K2UC</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Baby Registry</Description>
                              <URL>http://www.amazon.com/gp/registry/baby/add-item.html%3Fasin.0%3DB00000K2UC%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB00000K2UC</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Wedding Registry</Description>
                              <URL>http://www.amazon.com/gp/registry/wedding/add-item.html%3Fasin.0%3DB00000K2UC%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB00000K2UC</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Wishlist</Description>
                              <URL>http://www.amazon.com/gp/registry/wishlist/add-item.html%3Fasin.0%3DB00000K2UC%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB00000K2UC</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Tell A Friend</Description>
                              <URL>http://www.amazon.com/gp/pdp/taf/B00000K2UC%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB00000K2UC</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>All Customer Reviews</Description>
                              <URL>http://www.amazon.com/review/product/B00000K2UC%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB00000K2UC</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>All Offers</Description>
                              <URL>http://www.amazon.com/gp/offer-listing/B00000K2UC%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB00000K2UC</URL>
                        </ItemLink>
                  </ItemLinks>
                  <ItemAttributes>
                        <Artist>Concertante Chamber Players</Artist>
                        <Creator Role="Conductor">Concertante Chamber Players</Creator>
                        <Creator Role="Orchestra">Concertante Chamber Players</Creator>
                        <Creator Role="Performer">Concertante Chamber Players</Creator>
                        <Creator Role="Composer">Felix Mendelssohn</Creator>
                        <Creator Role="Composer">Pyotr Il'yich Tchaikovsky</Creator>
                        <Manufacturer>Helicon Records</Manufacturer>
                        <ProductGroup>Music</ProductGroup>
                        <Title>Mendelssohn: Octet in Ef; Tchaikovsky: Souvenir de Florence in D Op70</Title>
                  </ItemAttributes>
            </Item>
            <Item>
                  <ASIN>B0000028YP</ASIN>
                  <DetailPageURL>http://www.amazon.com/Schumann-Piano-Quartet-Ef-Beethoven/dp/B0000028YP%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB0000028YP</DetailPageURL>
                  <ItemLinks>
                        <ItemLink>
                              <Description>Technical Details</Description>
                              <URL>http://www.amazon.com/Schumann-Piano-Quartet-Ef-Beethoven/dp/tech-data/B0000028YP%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB0000028YP</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Baby Registry</Description>
                              <URL>http://www.amazon.com/gp/registry/baby/add-item.html%3Fasin.0%3DB0000028YP%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB0000028YP</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Wedding Registry</Description>
                              <URL>http://www.amazon.com/gp/registry/wedding/add-item.html%3Fasin.0%3DB0000028YP%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB0000028YP</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Wishlist</Description>
                              <URL>http://www.amazon.com/gp/registry/wishlist/add-item.html%3Fasin.0%3DB0000028YP%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB0000028YP</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Tell A Friend</Description>
                              <URL>http://www.amazon.com/gp/pdp/taf/B0000028YP%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB0000028YP</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>All Customer Reviews</Description>
                              <URL>http://www.amazon.com/review/product/B0000028YP%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB0000028YP</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>All Offers</Description>
                              <URL>http://www.amazon.com/gp/offer-listing/B0000028YP%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB0000028YP</URL>
                        </ItemLink>
                  </ItemLinks>
                  <ItemAttributes>
                        <Creator Role="Performer">Yo-Yo Ma</Creator>
                        <Creator Role="Composer">Ludwig van Beethoven</Creator>
                        <Creator Role="Composer">Robert Schumann</Creator>
                        <Creator Role="Performer">Emanuel Ax</Creator>
                        <Creator Role="Performer">Jaime Laredo</Creator>
                        <Creator Role="Performer">Isaac Stern</Creator>
                        <Manufacturer>Sony</Manufacturer>
                        <ProductGroup>Music</ProductGroup>
                        <Title>Schumann: Piano Quartet in Ef Op 47; Beethoven: Quartet in Ef Op 16</Title>
                  </ItemAttributes>
            </Item>
            <Item>
                  <ASIN>B001EWZU80</ASIN>
                  <DetailPageURL>http://www.amazon.com/Ef-Tale-Melodies-Theme-Elisa/dp/B001EWZU80%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB001EWZU80</DetailPageURL>
                  <ItemLinks>
                        <ItemLink>
                              <Description>Technical Details</Description>
                              <URL>http://www.amazon.com/Ef-Tale-Melodies-Theme-Elisa/dp/tech-data/B001EWZU80%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB001EWZU80</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Baby Registry</Description>
                              <URL>http://www.amazon.com/gp/registry/baby/add-item.html%3Fasin.0%3DB001EWZU80%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB001EWZU80</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Wedding Registry</Description>
                              <URL>http://www.amazon.com/gp/registry/wedding/add-item.html%3Fasin.0%3DB001EWZU80%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB001EWZU80</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Add To Wishlist</Description>
                              <URL>http://www.amazon.com/gp/registry/wishlist/add-item.html%3Fasin.0%3DB001EWZU80%26SubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB001EWZU80</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>Tell A Friend</Description>
                              <URL>http://www.amazon.com/gp/pdp/taf/B001EWZU80%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB001EWZU80</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>All Customer Reviews</Description>
                              <URL>http://www.amazon.com/review/product/B001EWZU80%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB001EWZU80</URL>
                        </ItemLink>
                        <ItemLink>
                              <Description>All Offers</Description>
                              <URL>http://www.amazon.com/gp/offer-listing/B001EWZU80%3FSubscriptionId%3DAKIAIA3LI2JYFPLWGLCQ%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB001EWZU80</URL>
                        </ItemLink>
                  </ItemLinks>
                  <ItemAttributes>
                        <Artist>Original Soundtrack</Artist>
                        <Manufacturer>Geneon Pioneer Japan</Manufacturer>
                        <ProductGroup>Music</ProductGroup>
                        <Title>Ef-A Tale of Melodies: Op Theme/Elisa</Title>
                  </ItemAttributes>
            </Item>
      </Items>
</ItemSearchResponse>


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 14th, 2009, 8:24 pm 
Offline

Joined: November 24th, 2005, 8:16 am
Posts: 851
Code:
titles := xpath(xml, "/ItemSearchResponse/Items/TotalResults/text()")

_________________
Sector-Seven - Freeware tools built with AutoHotkey


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 14th, 2009, 10:15 pm 
Offline

Joined: February 20th, 2008, 8:08 am
Posts: 22
Icarus wrote:
Code:
titles := xpath(xml, "/ItemSearchResponse/Items/TotalResults/text()")

omg thanks, I copied my paths with firebug and didn't know xpath is case sensetive


Report this post
Top
 Profile  
Reply with quote  
PostPosted: September 28th, 2009, 3:10 pm 
Offline

Joined: July 20th, 2009, 9:49 pm
Posts: 6
Hey there-
Im looking to do the same thing as this... use more than one search condition to return a value. Is this possible?

Thanks a bunch!

aka_bigred wrote:
How do I use multiple conditions at the same level in Xpath?

This seems to be a valid search condition given this XML testing tool, but Xpath doesn't return the email node as I'd expect. It finds no matches:

theXML
Code:
<addressBook>
     <address>
          <firstName>John</firstName>
          <surname>Smith</surname>
          <email>smithj@world.org</email>
          <tel type = "work">234-123-222</tel>
     </address>
     <address>
          <firstName>Alice</firstName>
          <surname>Brown</surname>
          <email>Alice.Brown@europe.com</email>
          <tel type = "home">22-33-444</tel>
          <tel type = "work">11-43-222</tel>
     </address>
     <address>
          <firstName>George</firstName>
          <surname>White</surname>
          <email>gw@rock.com</email>
     </address>
</addressBook>

Code:
xpath_load( theXML )
MsgBox, % xpath_save(theXML) ;

msgbox, % xpath(theXML, "/*/address[firstName=John][surname=Smith]/email/text()")



using the exact same XML and Xpath (with double quotes of course), it works with this testing tool:

http://www.zvon.org:9001/saxon/cgi-bin/XLab/XML/addressbook.html?stylesheetFile=XSLT/xpath.xslt&lang=eng


What is the syntax for using multiple conditions on multiple nodes at the same level?

FYI - I'm using Xpath Version 3.13c


Report this post
Top
 Profile  
Reply with quote  
PostPosted: September 28th, 2009, 4:09 pm 
Offline

Joined: July 9th, 2009, 9:25 pm
Posts: 120
timofcourse wrote:
Hey there-
Im looking to do the same thing as this... use more than one search condition to return a value. Is this possible?


You could try Microsoft.XMLDOM


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 28th, 2009, 5:02 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
Locking thread since I do not support this script any more.

_________________
GitHubScriptsIronAHK Contact by email not private message.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 417 posts ]  Go to page Previous  1 ... 24, 25, 26, 27, 28

All times are UTC [ DST ]


Who is online

Users browsing this forum: iDrug and 63 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group