forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r280444 [1/2] - in /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs: ./ lib/ resources/ resources/stylesheets/ src/ src/documentation/ src/documentation/content/ src/documentation/content/xdocs/ src/documentation/conten...
Date Mon, 12 Sep 2005 23:16:14 GMT
Author: rgardler
Date: Mon Sep 12 16:15:33 2005
New Revision: 280444

URL: http://svn.apache.org/viewcvs?rev=280444&view=rev
Log:
use the responses from Amazons web services within a Forrest site

Added:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/build.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/forrest.properties   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/input.xmap   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/lib/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/lib/readme.txt   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/resources/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/resources/stylesheets/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/resources/stylesheets/ecs2xdoc.xsl   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/images/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/images/group-logo.gif   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/images/group.svg   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/images/icon.png   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/images/project-logo.gif   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/images/project.svg   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/images/usemap.gif   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/index.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/sample/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/sample/itemLookup1.ecs.amazon.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/sample/itemLookup1.ecs.local.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/sample/itemSearch1.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/site.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/tabs.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/skinconf.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/java/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/java/readme.txt   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/status.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/templates/

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/build.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/build.xml?rev=280444&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/build.xml (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/build.xml Mon Sep 12 16:15:33 2005
@@ -0,0 +1,42 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<project default="docs" basedir="." name="Forrest org.apache.forrest.plugin.input.ecs build file">
+  <property name="plugin-name" value="org.apache.forrest.plugin.input.ecs"/>
+  <property name="forrest.version" value="0.8"/>
+  <property name="type" value="input"/>
+  <property name="plugin-version" value="0.1-dev"/>
+  <property name="description" value="Takes responses from Amaqzons Web Services (ECS) and renders them within a Forrest site."/>
+  <property name="author" value="Apache Forrest Project"/>
+  <property name="websiteURL" value="http://forrest.apache.org/docs/plugins/org.apache.forrest.plugin.input.ecs"/>
+  <property name="downloadURL" value="http://forrest.apache.org/plugins/"/>
+  
+  <import file="../build.xml"/>
+
+  <!-- Add any additional installation work here in the build target, for example:
+  <target name="build"
+          description="Extract the tools">
+     <unzip dest="${plugins.localDeploy-dir}/${plugin-name}/resources">
+       <fileset dir="tools">
+          <include name="pluginBionaryTools.zip"/>
+        </fileset>
+     </unzip>   
+  </target>
+  -->
+</project>
+  
+  

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/forrest.properties
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/forrest.properties?rev=280444&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/forrest.properties (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/forrest.properties Mon Sep 12 16:15:33 2005
@@ -0,0 +1,109 @@
+# Copyright 2002-2005 The Apache Software Foundation or its licensors,
+# as applicable.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+##############
+# Properties used by forrest.build.xml for building the website
+# These are the defaults, un-comment them if you need to change them.
+##############
+
+# Prints out a summary of Forrest settings for this project
+#forrest.echo=true
+
+# Project name (used to name .war file)
+#project.name=my-project
+
+# Specifies name of Forrest skin to use
+#project.skin=tigris
+#project.skin=pelt
+
+# comma separated list, file:// is supported
+#forrest.skins.descriptors=http://forrest.apache.org/skins/skins.xml,file:///c:/myskins/skins.xml
+
+##############
+# behavioural properties
+#project.menu-scheme=tab_attributes
+#project.menu-scheme=directories
+
+##############
+# layout properties
+
+# Properties that can be set to override the default locations
+#
+# Parent properties must be set. This usually means uncommenting
+# project.content-dir if any other property using it is uncommented
+
+#project.status=status.xml
+#project.content-dir=src/documentation
+#project.raw-content-dir=${project.content-dir}/content
+#project.conf-dir=${project.content-dir}/conf
+#project.sitemap-dir=${project.content-dir}
+#project.xdocs-dir=${project.content-dir}/content/xdocs
+#project.resources-dir=${project.content-dir}/resources
+#project.stylesheets-dir=${project.resources-dir}/stylesheets
+#project.images-dir=${project.resources-dir}/images
+#project.schema-dir=${project.resources-dir}/schema
+#project.skins-dir=${project.content-dir}/skins
+#project.skinconf=${project.content-dir}/skinconf.xml
+#project.lib-dir=${project.content-dir}/lib
+#project.classes-dir=${project.content-dir}/classes
+#project.translations-dir=${project.content-dir}/translations
+
+##############
+# validation properties
+
+# This set of properties determine if validation is performed
+# Values are inherited unless overridden.
+# e.g. if forrest.validate=false then all others are false unless set to true.
+#forrest.validate=true
+#forrest.validate.xdocs=${forrest.validate}
+#forrest.validate.skinconf=${forrest.validate}
+#forrest.validate.sitemap=${forrest.validate}
+#forrest.validate.stylesheets=${forrest.validate}
+#forrest.validate.skins=${forrest.validate}
+#forrest.validate.skins.stylesheets=${forrest.validate.skins}
+
+# *.failonerror=(true|false) - stop when an XML file is invalid
+#forrest.validate.failonerror=true
+
+# *.excludes=(pattern) - comma-separated list of path patterns to not validate
+# e.g.
+#forrest.validate.xdocs.excludes=samples/subdir/**, samples/faq.xml
+#forrest.validate.xdocs.excludes=
+
+
+##############
+# General Forrest properties
+
+# The URL to start crawling from
+#project.start-uri=linkmap.html
+# Set logging level for messages printed to the console
+# (DEBUG, INFO, WARN, ERROR, FATAL_ERROR)
+#project.debuglevel=ERROR
+# Max memory to allocate to Java
+#forrest.maxmemory=64m
+# Any other arguments to pass to the JVM. For example, to run on an X-less
+# server, set to -Djava.awt.headless=true
+#forrest.jvmargs=
+# The bugtracking URL - the issue number will be appended
+#project.bugtracking-url=http://issues.apache.org/bugzilla/show_bug.cgi?id=
+#project.bugtracking-url=http://issues.apache.org/jira/browse/
+# The issues list as rss
+#project.issues-rss-url=
+#I18n Property only works for the "forrest run" target.
+#project.i18n=true
+# The names of plugins that are required to build the project
+# comma separated list (no spaces)
+# Run "forrest available-plugins" for a list of plug-ins currently available
+project.required.plugins=org.apache.forrest.plugin.input.ecs,org.apache.forrest.plugin.input.projectInfo,org.apache.forrest.plugin.output.pdf

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/forrest.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/input.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/input.xmap?rev=280444&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/input.xmap (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/input.xmap Mon Sep 12 16:15:33 2005
@@ -0,0 +1,42 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+
+<map:pipelines>
+
+  <map:pipeline>
+
+    <map:match pattern="**.ecs.xml">
+      <map:generate src="cocoon://{1}.ecs.source.xml"/>
+      <map:transform src="resources/stylesheets/ecs2xdoc.xsl">
+        <map:parameter name="file" value="{1}"/>
+      </map:transform>
+      <map:serialize type="xml"/>
+     </map:match>
+     
+    <map:match pattern="**.ecs.source.xml">
+      <map:aggregate element="ecs">
+        <map:part src="{project:content.xdocs}/{1}.ecs.local.xml"/>
+        <map:part src="{project:content.xdocs}/{1}.ecs.amazon.xml"/>
+      </map:aggregate>
+      <map:serialize type="xml"/>
+     </map:match>
+  </map:pipeline>
+</map:pipelines>
+
+</map:sitemap>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/input.xmap
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/lib/readme.txt
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/lib/readme.txt?rev=280444&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/lib/readme.txt (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/lib/readme.txt Mon Sep 12 16:15:33 2005
@@ -0,0 +1 @@
+Place any libraries required by your plugin in this directory.
\ No newline at end of file

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/lib/readme.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/resources/stylesheets/ecs2xdoc.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/resources/stylesheets/ecs2xdoc.xsl?rev=280444&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/resources/stylesheets/ecs2xdoc.xsl (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/resources/stylesheets/ecs2xdoc.xsl Mon Sep 12 16:15:33 2005
@@ -0,0 +1,266 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<xsl:stylesheet version="1.0"
+    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+    xmlns:ecs="http://webservices.amazon.com/ECSECommerceService/2005-07-26"
+    xmlns:str="http://exslt.org/strings"
+    xmlns:xi="http://www.w3.org/2001/XInclude"
+    extension-element-prefixes="str">
+
+  <xsl:param name="file"/>
+  <xsl:param name="type"/>
+
+  <xsl:template match="/">
+    <document>
+      <header>
+        <xsl:choose>
+          <xsl:when test="ecs:ItemSearchResponse">
+            <title>Search Results</title>
+          </xsl:when>
+          <xsl:when test="ecs:ItemLookupResponse">
+            <title>
+              <xsl:value-of select="ecs:Item/ecs:ItemAttributes/ecs:Title"/>
+            </title>
+          </xsl:when>
+        </xsl:choose>
+      </header>
+      <body>
+        <xsl:apply-templates/>
+      </body>
+    </document>
+  </xsl:template>
+
+  <xsl:template match="ecs:ItemSearchResponse">
+    <xsl:apply-templates select="//ecs:Item"/>
+  </xsl:template>
+
+  <xsl:template match="ecs:ItemLookupResponse">
+    <xsl:apply-templates select="//ecs:Item"/>
+  </xsl:template>
+
+  <xsl:template match="OperationRequest"></xsl:template>
+
+  <xsl:template match="Items">
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match="Request"></xsl:template>
+
+  <xsl:template match="item"/>
+
+  <xsl:template match="ecs:Item">
+    <section>
+      <title>
+        <xsl:value-of select="ecs:ItemAttributes/ecs:Title"/>
+      </title>
+      <xsl:call-template name="images"/>
+      <xsl:call-template name="additionalImages"/>
+      <xsl:call-template name="itemAttributes"/>
+      <xsl:call-template name="price"/>
+      <xsl:call-template name="editorialReviews"/>
+      <xsl:call-template name="moreDetails"/>
+      <xsl:call-template name="customerReviews"/>
+    </section>
+  </xsl:template>
+
+  <xsl:template name="price">
+    <xsl:if test="ecs:Offers">
+      <div id="price">
+        <p>Price: <xsl:value-of select="ecs:Offers/ecs:Offer/ecs:OfferListing/ecs:Price/ecs:FormattedPrice"/>
+        (<xsl:value-of select="ecs:Offers/ecs:Offer/ecs:OfferListing/ecs:Availability"/>)</p>
+      </div>
+    </xsl:if>
+  </xsl:template>
+
+  <xsl:template name="itemAttributes">
+    <div id="ecs_itemAttributes">
+      <xsl:call-template name="manufacturer"/>
+      <xsl:call-template name="batteries"/>
+    </div>
+  </xsl:template>
+
+  <xsl:template name="manufacturer">
+    <xsl:if test="ecs:ItemAttributes/ecs:Manufacturer">
+      <div id="ecs_manufacturer">
+        <p>Manufacturer: <xsl:value-of select="ecs:ItemAttributes/ecs:Manufacturer"/>
+        </p>
+      </div>
+    </xsl:if>
+  </xsl:template>
+
+  <xsl:template name="batteries">
+    <div id="ecs_batteries">
+
+      <xsl:if test="ecs:ItemAttributes/ecs:Batteries">
+        <p>
+           Batteries Required: <xsl:value-of select="ecs:ItemAttributes/ecs:Batteries"/>
+          <xsl:if test="ecs:ItemAttributes/ecs:Batteries/@Units">
+             x <xsl:value-of select="ecs:ItemAttributes/ecs:Batteries/@Units"/>
+          </xsl:if>
+          <xsl:choose>
+            <xsl:when test="ecs:ItemAttributes/ecs:BatteriesIncluded='1'">
+            (included).
+              <xsl:value-of select="ecs:ItemAttributes/ecs:Batteries/@ecs:Units"/>
+            </xsl:when>
+            <xsl:otherwise>
+            (not included).
+          </xsl:otherwise>
+          </xsl:choose>
+        </p>
+      </xsl:if>
+
+    </div>
+  </xsl:template>
+
+  <xsl:template name="customerReviews">
+    <div id="ecs_customerReviews">
+      <section>
+        <title>Customer Reviews</title>
+        <div class="ecs_customerReviewsSummary">
+          <p>Average rating is <xsl:value-of select="ecs:CustomerReviews/ecs:AverageRating"/> 
+          out of 5.
+          (Rated by <xsl:value-of select="ecs:CustomerReviews/ecs:TotalReviews"/> people)</p>
+        </div>
+        <xsl:apply-templates select="ecs:CustomerReviews/ecs:Review"/>
+      </section>
+    </div>
+  </xsl:template>
+
+  <xsl:template match="ecs:Review">
+    <div>
+      <xsl:attribute name="class">ecs_customerReview_<xsl:value-of select="position()"/>
+      </xsl:attribute>
+      <section>
+        <title>
+          <xsl:value-of select="ecs:Summary"/>
+        </title>
+        <xsl:apply-templates select="ecs:Content"/>
+        <p>Rating: <strong><xsl:value-of select="ecs:Rating"/>
+          </strong> out of 5</p>
+      </section>
+    </div>
+  </xsl:template>
+
+  <xsl:template match="ecs:Content">
+    <xsl:for-each select="str:split(., '&lt;p&gt;')">
+      <p>
+        <xsl:value-of select="."/>
+      </p>
+    </xsl:for-each>
+  </xsl:template>
+
+
+  <xsl:template name="editorialReviews">
+    <div id="ecs_editorialReviews">
+      <section>
+        <title>Editorial Reviews</title>
+        <xsl:apply-templates select="//item/ecs:EditorialReviews/ecs:EditorialReview"/>
+        <xsl:apply-templates select="ecs:EditorialReviews/ecs:EditorialReview"/>
+      </section>
+    </div>
+  </xsl:template>
+
+  <xsl:template match="ecs:EditorialReview">
+    <div>
+      <xsl:attribute name="class">ecs_editorialReview_<xsl:value-of select="position()"/>
+      </xsl:attribute>
+      <section>
+        <title>
+          <xsl:value-of select="ecs:Source"/>
+        </title>
+        <xsl:apply-templates select="ecs:Content"/>
+      </section>
+    </div>
+  </xsl:template>
+
+  <xsl:template name="images">
+    <div id="ecs_smallImage">
+      <img>
+        <xsl:attribute name="src">
+          <xsl:value-of select="ecs:SmallImage/ecs:URL"/>
+        </xsl:attribute>
+        <xsl:attribute name="height">
+          <xsl:value-of select="ecs:SmallImage/ecs:Height"/>
+        </xsl:attribute>
+        <xsl:attribute name="width">
+          <xsl:value-of select="ecs:SmallImage/ecs:Width"/>
+        </xsl:attribute>
+      </img>
+    </div>
+    <div id="ecs_mediumImage">
+      <img>
+        <xsl:attribute name="src">
+          <xsl:value-of select="ecs:MediumImage/ecs:URL"/>
+        </xsl:attribute>
+        <xsl:attribute name="height">
+          <xsl:value-of select="ecs:MediumImage/ecs:Height"/>
+        </xsl:attribute>
+        <xsl:attribute name="width">
+          <xsl:value-of select="ecs:MediumImage/ecs:Width"/>
+        </xsl:attribute>
+      </img>
+    </div>
+    <div id="ecs_largeImage">
+      <img>
+        <xsl:attribute name="src">
+          <xsl:value-of select="ecs:LargeImage/ecs:URL"/>
+        </xsl:attribute>
+        <xsl:attribute name="height">
+          <xsl:value-of select="ecs:LargeImage/ecs:Height"/>
+        </xsl:attribute>
+        <xsl:attribute name="width">
+          <xsl:value-of select="ecs:LargeImage/ecs:Width"/>
+        </xsl:attribute>
+      </img>
+    </div>
+  </xsl:template>
+
+  <xsl:template name="additionalImages">
+    <xsl:for-each select="//ecs:ImageSets/ecs:ImageSet/ecs:MediumImage">
+      <xsl:if test="@Category != 'primary'">
+        <div>
+          <xsl:attribute name="id">ecs_mediumImage_<xsl:value-of select="position()"/>
+          </xsl:attribute>
+          <img>
+            <xsl:attribute name="src">
+              <xsl:value-of select="ecs:URL"/>
+            </xsl:attribute>
+            <xsl:attribute name="height">
+              <xsl:value-of select="ecs:Height"/>
+            </xsl:attribute>
+            <xsl:attribute name="width">
+              <xsl:value-of select="ecs:Width"/>
+            </xsl:attribute>
+          </img>
+        </div>
+      </xsl:if>
+    </xsl:for-each>
+  </xsl:template>
+
+  <xsl:template name="moreDetails">
+    <div id="ecs_moreDetails">
+      <fork>
+        <xsl:attribute name="href">
+          <xsl:value-of select="ecs:DetailPageURL"/>
+        </xsl:attribute>
+        More Details...
+      </fork>
+    </div>
+  </xsl:template>
+</xsl:stylesheet>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/resources/stylesheets/ecs2xdoc.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/images/group-logo.gif
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/images/group-logo.gif?rev=280444&view=auto
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/images/group-logo.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/images/group.svg
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/images/group.svg?rev=280444&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/images/group.svg (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/images/group.svg Mon Sep 12 16:15:33 2005
@@ -0,0 +1,82 @@
+<?xml version="1.0" standalone="no"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!--
+       SVG Anteater logo
+
+To get started with SVG, I'd recommend getting the Adobe SVG plugin, and the
+xml-batik CVS module. Then have a look at the xml-batik/samples files. Use the
+SVG spec (http://www.w3.org/TR/SVG/) as a reference.
+-->
+
+<!-- See Forrest Issue: FOR-229
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
+"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"
+[
+ <!ATTLIST svg xmlns:for CDATA #FIXED "http://apache.org/forrest">
+ <!ENTITY % textExt "|for:group-name">
+ <!ELEMENT for:group-name (#PCDATA)>
+]>
+-->
+<svg xmlns="http://www.w3.org/2000/svg"
+     xmlns:xlink="http://www.w3.org/1999/xlink"
+     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+     xsl:version="1.0"
+     xmlns:for="http://apache.org/forrest"
+     width="220" height="65" >
+  <title>Anteater logo</title>
+
+  <defs>
+
+    <!--
+    <radialGradient id="radialGradient">
+      <stop style="stop-color:gold" offset="0"/>
+      <stop style="stop-color:orange" offset=".5"/>
+      <stop style="stop-color:crimson" offset="1"/>
+    </radialGradient>
+    <linearGradient id="linearGradient">
+      <stop style="stop-color:gold" offset="0"/>
+      <stop style="stop-color:orange" offset=".5"/>
+      <stop style="stop-color:crimson" offset="1"/>
+    </linearGradient>
+    -->
+
+    <linearGradient id="gradient" x1="0" y1="0" x2="0" y2="1">
+      <stop style="stop-color:white" offset="0"/>
+      <stop style="stop-color:lightgreen" offset="1"/>
+    </linearGradient>
+
+    <filter id="shadowFilter" filterUnits="objectBoundingBox" width="1.4" height="1.4">
+      <!-- Takes the alpha channel (black outline of the text), blurs it and saves as 'blur' -->
+      <feGaussianBlur in="SourceAlpha" stdDeviation="2 2" result="blur"/>
+      <!-- Takes saved 'blur' and offsets it by 4 pixels, saves as 'offsetBlur' -->
+      <feOffset in="blur" dx="4" dy="4" result="offsetBlur"/>
+      <!-- Merges SourceGraphic (original image) and 'offsetBlur', putting the
+      former 'over' the latter, and using the merged result as the finished
+      image -->
+      <feComposite in="SourceGraphic" in2="offsetBlur" operator="over"/>
+    </filter>
+
+  </defs>
+
+  <g filter="url(#shadowFilter)" fill="url(#gradient)">
+    <text x="40%" y="60%" style="font-size:24pt; font-family:Verdana ; text-anchor: middle">
+    <for:group-name />
+    </text>
+  </g>
+</svg>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/images/group.svg
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/images/icon.png
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/images/icon.png?rev=280444&view=auto
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/images/icon.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/images/project-logo.gif
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/images/project-logo.gif?rev=280444&view=auto
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/images/project-logo.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/images/project.svg
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/images/project.svg?rev=280444&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/images/project.svg (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/images/project.svg Mon Sep 12 16:15:33 2005
@@ -0,0 +1,82 @@
+<?xml version="1.0" standalone="no"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!--
+       SVG Anteater logo
+
+To get started with SVG, I'd recommend getting the Adobe SVG plugin, and the
+xml-batik CVS module. Then have a look at the xml-batik/samples files. Use the
+SVG spec (http://www.w3.org/TR/SVG/) as a reference.
+-->
+
+<!-- See Forrest Issue: FOR-229
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
+"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"
+[
+ <!ATTLIST svg xmlns:for CDATA #FIXED "http://apache.org/forrest">
+ <!ENTITY % textExt "|for:project-name">
+ <!ELEMENT for:project-name (#PCDATA)>
+]>
+-->
+<svg xmlns="http://www.w3.org/2000/svg"
+     xmlns:xlink="http://www.w3.org/1999/xlink"
+     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+     xsl:version="1.0"
+     xmlns:for="http://apache.org/forrest"
+     width="420" height="65" >
+  <title>Anteater logo</title>
+
+  <defs>
+
+    <!--
+    <radialGradient id="radialGradient">
+      <stop style="stop-color:gold" offset="0"/>
+      <stop style="stop-color:orange" offset=".5"/>
+      <stop style="stop-color:crimson" offset="1"/>
+    </radialGradient>
+    <linearGradient id="linearGradient">
+      <stop style="stop-color:gold" offset="0"/>
+      <stop style="stop-color:orange" offset=".5"/>
+      <stop style="stop-color:crimson" offset="1"/>
+    </linearGradient>
+    -->
+
+    <linearGradient id="gradient" x1="0" y1="0" x2="0" y2="1">
+      <stop style="stop-color:white" offset="0"/>
+      <stop style="stop-color:lightgreen" offset="1"/>
+    </linearGradient>
+
+    <filter id="shadowFilter" filterUnits="objectBoundingBox" width="1.4" height="1.4">
+      <!-- Takes the alpha channel (black outline of the text), blurs it and saves as 'blur' -->
+      <feGaussianBlur in="SourceAlpha" stdDeviation="2 2" result="blur"/>
+      <!-- Takes saved 'blur' and offsets it by 4 pixels, saves as 'offsetBlur' -->
+      <feOffset in="blur" dx="4" dy="4" result="offsetBlur"/>
+      <!-- Merges SourceGraphic (original image) and 'offsetBlur', putting the
+      former 'over' the latter, and using the merged result as the finished
+      image -->
+      <feComposite in="SourceGraphic" in2="offsetBlur" operator="over"/>
+    </filter>
+
+  </defs>
+
+  <g filter="url(#shadowFilter)" fill="url(#gradient)">
+    <text x="100%" y="60%" style="font-size:24pt; font-family:Verdana ; text-anchor: end" >
+    <for:project-name />
+    </text>
+  </g>
+</svg>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/images/project.svg
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/images/usemap.gif
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/images/usemap.gif?rev=280444&view=auto
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/images/usemap.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/index.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/index.xml?rev=280444&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/index.xml (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/index.xml Mon Sep 12 16:15:33 2005
@@ -0,0 +1,170 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+<document>
+  <header>
+    <title>Welcome to the org.apache.forrest.plugin.input.ecs Plugin</title>
+  </header>
+  <body>
+    <section id="overview">
+      <title>Apache Forrest - org.apache.forrest.plugin.input.ecs Plugin</title>
+      <p>Takes responses from Amaqzons Web Services (ECS) and renders them within a Forrest site.</p>
+    </section>
+
+    <section id="usage">
+      <title>Usage</title>
+      <p>Unfortunately Amazon does not serve content with a doctypue identifier. This
+      makes it impossible for Forrest to work out which transformations need to be 
+      applied. Consequently, we need to use a naming convention to inform Forrest
+      when a file is a an Amazon file. You can use the Locationmap to hide this
+      naming structure from your users. However, in this document and the enclosed
+      samples we will using the requried naming convention.</p>
+
+      <p>All requests to be processed by this plugin must have an *.ecs.* filename.
+      The first wildcard is the requested file, the second is the requested 
+      format. The source files themselve must be named *.ecs.amazon.xml for the
+      Amazon response file. In addition you can provide an *.ecs.local.xml that defines
+      additional local information, such as your own editoriak review.</p>
+
+      <p>You can retrieve the original ECS response by requesting *.ecs.source.xml.</p>
+    </section>
+    
+    <section>
+      <title>Layout</title>
+      <p>All elements are enclosed within <code>&lt;div&gt;</code> elements
+      to enable the site designer to control the laout of their page using CSS.
+      This table below indicates the names of these section for various parts
+      of the webpage.</p>
+      
+      <table>
+        <tr>
+          <th>Page Element</th>
+          <th>div @id</th>
+        </tr>
+        <tr>
+          <td>Item Attributes</td>
+          <td>ecs_itemAttributes</td>
+        </tr>
+        <tr>
+          <td>Batteries Information</td>
+          <td>ecs_batteries</td>
+        </tr>
+        <tr>
+          <td>Manufacturer Information</td>
+          <td>ecs_manufacturer</td>
+        </tr>
+        <tr>
+          <td>Pricing Information</td>
+          <td>ecs_price</td>
+        </tr>
+        <tr>
+          <td>More details link</td>
+          <td>ecs_moreDetails</td>
+        </tr>
+        <tr>
+          <td>Small Image</td>
+          <td>ecs_smallImage</td>
+        </tr>
+        <tr>
+          <td>Medium Image</td>
+          <td>ecs_mediumImage</td>
+        </tr>
+        <tr>
+          <td>Large Image</td>
+          <td>ecs_largeImage</td>
+        </tr>
+        <tr>
+          <td>Editorial Reviews</td>
+          <td>ecs_editorialReviews</td>
+        </tr>
+        <tr>
+          <td>Customer Reviews</td>
+          <td>ecs_customerReviews</td>
+        </tr>
+        <tr>
+          <td>Summary of Customer Reviews</td>
+          <td>ecs_customerReviewsSummary</td>
+        </tr>
+      </table>
+      
+      <p>There are a couple of exceptions to this rule. Items such as customer reviews
+      and editorial reviews sometimes recur for multiple values. In this case we cannot
+      use the id attribute, so we assing a class to the div instead. The table below
+      describes the class name, this name will have the element number at the
+      end (in place of the asterisk in the table).</p>
+      
+      
+      <table>
+        <tr>
+          <th>Page Element</th>
+          <th>div @class</th>
+        </tr>
+        <tr>
+          <td>Editorial Review</td>
+          <td>ecs_editorailReview_*</td>
+        </tr>
+        <tr>
+          <td>Customer Review</td>
+          <td>ecs_customerReview_*</td>
+        </tr>
+        <tr>
+          <td>Additional Small Images</td>
+          <td>ecs_smallImage_*</td>
+        </tr>
+        <tr>
+          <td>Additional Medium Images</td>
+          <td>ecs_mediumImage_*</td>
+        </tr>
+        <tr>
+          <td>Additional Large Images</td>
+          <td>ecs_largeImage_*</td>
+        </tr>
+      </table>
+      
+      <p>You can find examples of how to use this CSS to control the display of
+      your product page in the plugins skinconf.xml file.</p>
+    </section>
+          
+
+    <section>
+      <title>Status</title>
+      <p>Support of item lookups is fairly complete, but support of 
+      the search results is minimal.</p>
+    </section>
+
+    <section id="samples">
+      <title>Samples</title>
+      <p>This section includes links to a number of samples using this plugin. The
+      plugin is intended to be self documenting through these samples. If you 
+      require further help please ask on the user mailing list.</p>
+
+      <ul>
+        <li>
+          <a href="sample/itemLookup1.ecs.html">An Item Lookup</a>
+        </li>
+        <li>
+          <a href="sample/itemSearch1.ecs.html">An Item Search</a>
+        </li>
+      </ul>
+
+      <note>The more samples included here the easier it is for users to
+      understand this plugin. If you can provide additional samples please
+      do so.</note>
+    </section>
+  </body>
+</document>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/index.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/sample/itemLookup1.ecs.amazon.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/sample/itemLookup1.ecs.amazon.xml?rev=280444&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/sample/itemLookup1.ecs.amazon.xml (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/sample/itemLookup1.ecs.amazon.xml Mon Sep 12 16:15:33 2005
@@ -0,0 +1,1084 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ItemLookupResponse xmlns="http://webservices.amazon.com/ECSECommerceService/2005-07-26">
+  <OperationRequest>
+    <HTTPHeaders>
+      <Header Name="UserAgent" Value="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6"></Header>
+    </HTTPHeaders>
+    <RequestId>12RJCM0S4G4Z0MT0CKXA</RequestId>
+    <Arguments>
+      <Argument Name="Service" Value="ECSECommerceService"></Argument>
+      <Argument Name="SubscriptionId" Value="[SUBSCRIPTION_ID]"></Argument>
+      <Argument Name="ItemId" Value="B00005BHK7"></Argument>
+      <Argument Name="ResponseGroup" Value="Large"></Argument>
+      <Argument Name="Operation" Value="ItemLookup"></Argument>
+    </Arguments>
+    <RequestProcessingTime>0.0901169776916504</RequestProcessingTime>
+  </OperationRequest>
+  <Items>
+    <Request>
+      <IsValid>True</IsValid>
+      <ItemLookupRequest>
+        <ItemId>B00005BHK7</ItemId>
+        <ResponseGroup>Large</ResponseGroup>
+      </ItemLookupRequest>
+    </Request>
+    <Item>
+      <ASIN>B00005BHK7</ASIN>
+      <DetailPageURL>http://www.amazon.co.uk/exec/obidos/redirect?tag=ws%26link_code=xm2%26camp=2025%26creative=165953%26path=http://www.amazon.co.uk/gp/redirect.html%253fASIN=B00005BHK7%2526tag=ws%2526lcode=xm2%2526cID=2025%2526ccmID=165953%2526location=/o/ASIN/B00005BHK7%25253FSubscriptionId=[SUBSCRIPTION_ID]</DetailPageURL>
+      <SalesRank>16</SalesRank>
+      <SmallImage>
+        <URL>http://images.amazon.com/images/P/B00005BHK7.02._SCTHUMBZZZ_.jpg</URL>
+        <Height Units="pixels">60</Height>
+        <Width Units="pixels">50</Width>
+      </SmallImage>
+      <MediumImage>
+        <URL>http://images.amazon.com/images/P/B00005BHK7.02._SCMZZZZZZZ_.jpg</URL>
+        <Height Units="pixels">150</Height>
+        <Width Units="pixels">125</Width>
+      </MediumImage>
+      <LargeImage>
+        <URL>http://images.amazon.com/images/P/B00005BHK7.02._SCLZZZZZZZ_.jpg</URL>
+        <Height Units="pixels">500</Height>
+        <Width Units="pixels">417</Width>
+      </LargeImage>
+      <ImageSets>
+        <ImageSet Category="primary">
+          <SmallImage>
+            <URL>http://images.amazon.com/images/P/B00005BHK7.02._SCTHUMBZZZ_.jpg</URL>
+            <Height Units="pixels">60</Height>
+            <Width Units="pixels">50</Width>
+          </SmallImage>
+          <MediumImage>
+            <URL>http://images.amazon.com/images/P/B00005BHK7.02._SCMZZZZZZZ_.jpg</URL>
+            <Height Units="pixels">150</Height>
+            <Width Units="pixels">125</Width>
+          </MediumImage>
+          <LargeImage>
+            <URL>http://images.amazon.com/images/P/B00005BHK7.02._SCLZZZZZZZ_.jpg</URL>
+            <Height Units="pixels">500</Height>
+            <Width Units="pixels">417</Width>
+          </LargeImage>
+        </ImageSet>
+      </ImageSets>
+      <ItemAttributes>
+        <BatteriesIncluded>1</BatteriesIncluded>
+        <Batteries Units="AA">2</Batteries>
+        <EAN>0708431100022</EAN>
+        <Manufacturer>LeapFrog</Manufacturer>
+        <NumberOfItems>1</NumberOfItems>
+        <PackageDimensions>
+          <Height Units="centimeters">18.0</Height>
+          <Length Units="centimeters">36.0</Length>
+          <Weight Units="Kilograms">0.9</Weight>
+          <Width Units="centimeters">25.4</Width>
+        </PackageDimensions>
+        <ProductGroup>Toy</ProductGroup>
+        <Title>Hug &amp; Learn Baby Tad</Title>
+        <UPC>708431100022</UPC>
+      </ItemAttributes>
+      <OfferSummary>
+        <LowestNewPrice>
+          <Amount>1949</Amount>
+          <CurrencyCode>GBP</CurrencyCode>
+          <FormattedPrice>£19.49</FormattedPrice>
+        </LowestNewPrice>
+        <LowestUsedPrice>
+          <Amount>999</Amount>
+          <CurrencyCode>GBP</CurrencyCode>
+          <FormattedPrice>£9.99</FormattedPrice>
+        </LowestUsedPrice>
+        <TotalNew>2</TotalNew>
+        <TotalUsed>1</TotalUsed>
+        <TotalCollectible>0</TotalCollectible>
+        <TotalRefurbished>0</TotalRefurbished>
+      </OfferSummary>
+      <Offers>
+        <TotalOffers>1</TotalOffers>
+        <TotalOfferPages>1</TotalOfferPages>
+        <Offer>
+          <Merchant>
+            <MerchantId>A3P5ROKL5A1OLE</MerchantId>
+          </Merchant>
+          <OfferAttributes>
+            <Condition>New</Condition>
+          </OfferAttributes>
+          <OfferListing>
+            <OfferListingId>GfvKO%2FwRf%2BfgMYuBPXJKSCyGKzRZRfRjZ4CUJZfwGFZzT23owuYS1Zs%2BP2Sle0984mAXZiCd0q4%3D</OfferListingId>
+            <Price>
+              <Amount>1994</Amount>
+              <CurrencyCode>GBP</CurrencyCode>
+              <FormattedPrice>£19.94</FormattedPrice>
+            </Price>
+            <Availability>Usually dispatched within 1 to 2 weeks</Availability>
+          </OfferListing>
+        </Offer>
+      </Offers>
+      <CustomerReviews>
+        <AverageRating>4.59</AverageRating>
+        <TotalReviews>22</TotalReviews>
+        <TotalReviewPages>5</TotalReviewPages>
+        <Review>
+          <ASIN>B00005BHK7</ASIN>
+          <Rating>5</Rating>
+          <HelpfulVotes>2</HelpfulVotes>
+          <CustomerId>A2WQ3MAS7UOWRD</CustomerId>
+          <TotalVotes>2</TotalVotes>
+          <Date>2004-12-08</Date>
+          <Summary>Pick up baby tad!</Summary>
+          <Content>Pick up baby tad is a catchphrase in our house. We were give Baby Tad (a slightly different looking version) 5 years ago for our daughter who still plays with it to teach her 2 year old brother. Baby Tad has been thrown, dropped, left out over night and still works on his second set of batteries!! The voice is american but clear and understable, unlike some toys of this type. The songs are nice, both in choice (traditional nursery rhymes) and a good length. All in all a very good choice of toy; for I would say 12months and up.</Content>
+        </Review>
+        <Review>
+          <ASIN>B00005BHK7</ASIN>
+          <Rating>5</Rating>
+          <HelpfulVotes>60</HelpfulVotes>
+          <TotalVotes>63</TotalVotes>
+          <Date>2001-06-15</Date>
+          <Summary>Baby Tad</Summary>
+          <Content>My daughter is 16 months old and has had this toy since she was 6 months. It was her favorite toy from day one because of its fun musical melodies and cute voices. Now she is older she is learning colours and shapes and can sing along to the music. The best bit is the I love you kiss it gives youif you squeeze baby tads cheek.Regards a doting father.</Content>
+        </Review>
+        <Review>
+          <ASIN>B00005BHK7</ASIN>
+          <Rating>5</Rating>
+          <HelpfulVotes>20</HelpfulVotes>
+          <CustomerId>A1FRK84ZKJCYSR</CustomerId>
+          <TotalVotes>22</TotalVotes>
+          <Date>2003-04-28</Date>
+          <Summary>Top Buy!!!</Summary>
+          <Content>What can I say, my daughter loves it! The songs are clear and the words are easy to understand, flip, even I enjoy playing with it!&lt;P&gt;Baby Tad has been a godsend, it really makes my daughter think, more so as she gets older. At only 5 months you could see her trying to press the flashing lights and the "Nightime" music lasts a lot longer than your standard mobile so by the time it finished she was fast asleep.&lt;P&gt;Its also just the right size to cuddle although one down point is that my daughter gets so excited she dribbles on it and it isn't washable, only sponge"able".&lt;P&gt;This is a top toy, well worth every penny. Buy one now!!</Content>
+        </Review>
+        <Review>
+          <ASIN>B00005BHK7</ASIN>
+          <Rating>5</Rating>
+          <HelpfulVotes>6</HelpfulVotes>
+          <CustomerId>A38MF87CTPFYQG</CustomerId>
+          <TotalVotes>7</TotalVotes>
+          <Date>2004-12-11</Date>
+          <Summary>One of the best young kids toys on the market</Summary>
+          <Content>This is great! &lt;P&gt;First, it's a cuddly, soft toy of substantial size (just over a foot tall). The only hard bit is the covered plastic chest area, where the lights and buttons are - this is very cleverly designed though, so small fingers are not going to get where they shouldn't.&lt;P&gt;Second, it's a night-time classical music lullaby that runs for the length of time you specific by squeezing the Tad's paw. Third - and here's where it gets really fun and educational for the slightly older kids - it sings nursery rhymes and asks you to find the right shape or colour, which you do by pressing the pre-lit shape/colour on Tad's belly. Did you get it right - if you did you'll get the reward of cool flashing lights and another nursery rhyme. Best of all? As a bonus, if you press the lipstick kiss mark on Tad's cheek, it tells you that he loves you and blows a kiss. &lt;P&gt;Tad is recommended from 6 months, however I think the night-time lullaby feature 
 could be used from birth if you kept the toy out of the cot. My little boy is just coming up to 5 months, and I have bought this as a Christmas present. I know already that he will absolutely love it, assuming I let go of it long enough to hand it over! Comes with demonstration batteries that should be changed before you hand it over. &lt;P&gt;Great toy, and great value for money.</Content>
+        </Review>
+        <Review>
+          <ASIN>B00005BHK7</ASIN>
+          <Rating>5</Rating>
+          <HelpfulVotes>1</HelpfulVotes>
+          <CustomerId>A3SRGY79N75CZH</CustomerId>
+          <TotalVotes>1</TotalVotes>
+          <Date>2005-04-07</Date>
+          <Summary>Tad always gets a smile</Summary>
+          <Content>Baby Tad came as a gift and was placed near my newborn baby daughter's nappy-changing station. I thought she was too little to enjoy Tad but I would occasionally set off the tunes so she could listen to the different sounds.&lt;P&gt;By three months she started to smile at Tad every time we laid her down to change her. Now Tad's cheery voice provides a happy cue for nappy-changing times and the classical music cues massage and bath times, getting my daughter in the mood for each.&lt;P&gt;The high-pitched American voice can grate a little - and the traditional Incey Wincey spider is sung as 'Itsy Bitsy' - but these are minor gripes about a toy which has provided much amusement in our household and will continue to do so for months to come.</Content>
+        </Review>
+      </CustomerReviews>
+      <EditorialReviews>
+        <EditorialReview>
+          <Source>Amazon.co.uk Review</Source>
+          <Content>What better way is there to introduce a child to learning? Baby Tad is an adorable, soft and cuddly frog who talks and sings and teaches shapes, colours and songs at the same time. He comes brightly coloured with flashing lights, friendly smiley face and a high, chirpy voice and sings six well-known and well-loved songs, including "Hickory Dickory Dock", "If You're Happy and You Know it Clap Your Hands", "Itsy Bitsy Spider", "Oh Where, Oh Where has my Little Dog Gone?", "Twinkle, Twinkle Little Star" and "Baa Baa Black Sheep".&lt;p&gt; Turn him on and he'll say "Hi I'm Baby Tad, Lets Sing" and begin his enthusiastic play. In "Daytime" play mode, babies can press the smiley shapes on his bib has six buttons for a response. Babies are encouraged to press the button which is lit, and are rewarded with enthusiastic greetings and songs. Baby Tad also says cute phrases that babies will love at random times, such as "Peekaboo, I see you" and "Lets Snuggle". Press
 , or kiss the pink lip button on his cheek and Baby Tad kisses back, saying "mmmwahh, I love you!"&lt;p&gt; Possibly the most useful feature on the new and improved Baby Tad is the brand new "Night-time" phrase, a brilliant idea for babies who like familiar songs to go to sleep to. This mode is calming rather than interactive. Baby Tad can be programmed play up to six minutes of soothing classical music and lights, simply by pressing his hand, once, twice, and so on, up to six times for six minutes. He will announce "one minute to night night, two minutes to night night" etc: and the music then plays for the allotted time and stops without ceremony, a comforting series of tunes which will help lull little ones to sleep. &lt;p&gt; While using the toy, children can develop perceptual and reasoning skills; motor skills are also enhanced as children physically push a flashing shape, song and "kiss" buttons. Playing with Baby Tad also provides opportunities for exploration, creat
 ivity and social development, all necessary ingredients for children's learning. The toy is accompanied by an excellent parents' guide and instruction manual which is straightforward and easy to follow, has a handy volume control on the battery box and comes complete with three AA batteries. &lt;p&gt; This toy is recommended by the manufacturer for toddlers aged nine months and over. --&lt;I&gt;Susan Naylor&lt;/I&gt;</Content>
+        </EditorialReview>
+      </EditorialReviews>
+      <SimilarProducts>
+        <SimilarProduct>
+          <ASIN>B0000AC9CM</ASIN>
+          <Title>Teletubbies Bath Island</Title>
+        </SimilarProduct>
+        <SimilarProduct>
+          <ASIN>B000062XQ8</ASIN>
+          <Title>LeapStart Learning Table</Title>
+        </SimilarProduct>
+        <SimilarProduct>
+          <ASIN>B00005BHK3</ASIN>
+          <Title>Discovery Ball</Title>
+        </SimilarProduct>
+        <SimilarProduct>
+          <ASIN>B00005BHK9</ASIN>
+          <Title>Learning Drum</Title>
+        </SimilarProduct>
+        <SimilarProduct>
+          <ASIN>B00005OWEP</ASIN>
+          <Title>Alphabet Pal</Title>
+        </SimilarProduct>
+      </SimilarProducts>
+      <Accessories>
+        <Accessory>
+          <ASIN>B00006JIO3</ASIN>
+          <Title>Thomas &amp; Friends - Thomas and the School Trip - My First LeapPad Interactive Book</Title>
+        </Accessory>
+        <Accessory>
+          <ASIN>B00011PJB8</ASIN>
+          <Title>Duracell Multicharger for NiMH</Title>
+        </Accessory>
+        <Accessory>
+          <ASIN>B00011PJC2</ASIN>
+          <Title>Duracell Plus AA Batteries x 12</Title>
+        </Accessory>
+        <Accessory>
+          <ASIN>B00011PJBI</ASIN>
+          <Title>Duracell Plus AA Batteries x 20</Title>
+        </Accessory>
+        <Accessory>
+          <ASIN>B0002FQWXM</ASIN>
+          <Title>Duracell Rechargeable AA 4 pack</Title>
+        </Accessory>
+      </Accessories>
+      <BrowseNodes>
+        <BrowseNode>
+          <BrowseNodeId>3998101</BrowseNodeId>
+          <Name>General</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>3374191</BrowseNodeId>
+              <Name>Development &amp; Learning Toys</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>660552</BrowseNodeId>
+                  <Name>Kids</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>660550</BrowseNodeId>
+                      <Name>Education Resources</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>3998111</BrowseNodeId>
+          <Name>Activity Toys</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>3374191</BrowseNodeId>
+              <Name>Development &amp; Learning Toys</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>660552</BrowseNodeId>
+                  <Name>Kids</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>660550</BrowseNodeId>
+                      <Name>Education Resources</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>3374211</BrowseNodeId>
+          <Name>Electronic Learning</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>3374191</BrowseNodeId>
+              <Name>Development &amp; Learning Toys</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>660552</BrowseNodeId>
+                  <Name>Kids</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>660550</BrowseNodeId>
+                      <Name>Education Resources</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>3374201</BrowseNodeId>
+          <Name>First Learning</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>3374191</BrowseNodeId>
+              <Name>Development &amp; Learning Toys</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>660552</BrowseNodeId>
+                  <Name>Kids</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>660550</BrowseNodeId>
+                      <Name>Education Resources</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>3998061</BrowseNodeId>
+          <Name>Light &amp; Sound</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>3374191</BrowseNodeId>
+              <Name>Development &amp; Learning Toys</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>660552</BrowseNodeId>
+                  <Name>Kids</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>660550</BrowseNodeId>
+                      <Name>Education Resources</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>10201381</BrowseNodeId>
+          <Name>General</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>10201371</BrowseNodeId>
+              <Name>Baby Toys</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>10201281</BrowseNodeId>
+                  <Name>Nursery Equipment</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>3374191</BrowseNodeId>
+                      <Name>Development &amp; Learning Toys</Name>
+                      <Ancestors>
+                        <BrowseNode>
+                          <BrowseNodeId>660552</BrowseNodeId>
+                          <Name>Kids</Name>
+                          <Ancestors>
+                            <BrowseNode>
+                              <BrowseNodeId>660550</BrowseNodeId>
+                              <Name>Education Resources</Name>
+                            </BrowseNode>
+                          </Ancestors>
+                        </BrowseNode>
+                      </Ancestors>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>3998081</BrowseNodeId>
+          <Name>Soft Toys</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>3374191</BrowseNodeId>
+              <Name>Development &amp; Learning Toys</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>660552</BrowseNodeId>
+                  <Name>Kids</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>660550</BrowseNodeId>
+                      <Name>Education Resources</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>3967251</BrowseNodeId>
+          <Name>Development &amp; Learning</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>3960761</BrowseNodeId>
+              <Name>Toys (0-12 Months)</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>596736</BrowseNodeId>
+                  <Name>Baby (0-12 Months)</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>589884</BrowseNodeId>
+                      <Name>Age Ranges</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>3967291</BrowseNodeId>
+          <Name>Electronic Toys</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>3960761</BrowseNodeId>
+              <Name>Toys (0-12 Months)</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>596736</BrowseNodeId>
+                  <Name>Baby (0-12 Months)</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>589884</BrowseNodeId>
+                      <Name>Age Ranges</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>3960961</BrowseNodeId>
+          <Name>General</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>3960761</BrowseNodeId>
+              <Name>Toys (0-12 Months)</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>596736</BrowseNodeId>
+                  <Name>Baby (0-12 Months)</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>589884</BrowseNodeId>
+                      <Name>Age Ranges</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>3960871</BrowseNodeId>
+          <Name>Light &amp; Sound</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>3960761</BrowseNodeId>
+              <Name>Toys (0-12 Months)</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>596736</BrowseNodeId>
+                  <Name>Baby (0-12 Months)</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>589884</BrowseNodeId>
+                      <Name>Age Ranges</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>3960931</BrowseNodeId>
+          <Name>Soft Toys</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>3960761</BrowseNodeId>
+              <Name>Toys (0-12 Months)</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>596736</BrowseNodeId>
+                  <Name>Baby (0-12 Months)</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>589884</BrowseNodeId>
+                      <Name>Age Ranges</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>3853141</BrowseNodeId>
+          <Name>General</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>1095842</BrowseNodeId>
+              <Name>Toys (1-2 Years)</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>596738</BrowseNodeId>
+                  <Name>1-2 Years</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>589884</BrowseNodeId>
+                      <Name>Age Ranges</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>3967051</BrowseNodeId>
+          <Name>Development &amp; Learning</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>1095842</BrowseNodeId>
+              <Name>Toys (1-2 Years)</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>596738</BrowseNodeId>
+                  <Name>1-2 Years</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>589884</BrowseNodeId>
+                      <Name>Age Ranges</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>595634</BrowseNodeId>
+          <Name>Electronic Learning</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>1095842</BrowseNodeId>
+              <Name>Toys (1-2 Years)</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>596738</BrowseNodeId>
+                  <Name>1-2 Years</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>589884</BrowseNodeId>
+                      <Name>Age Ranges</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>3967091</BrowseNodeId>
+          <Name>Electronic Toys</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>1095842</BrowseNodeId>
+              <Name>Toys (1-2 Years)</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>596738</BrowseNodeId>
+                  <Name>1-2 Years</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>589884</BrowseNodeId>
+                      <Name>Age Ranges</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>3961011</BrowseNodeId>
+          <Name>First Learning</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>1095842</BrowseNodeId>
+              <Name>Toys (1-2 Years)</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>596738</BrowseNodeId>
+                  <Name>1-2 Years</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>589884</BrowseNodeId>
+                      <Name>Age Ranges</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>3961041</BrowseNodeId>
+          <Name>Light &amp; Sound</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>1095842</BrowseNodeId>
+              <Name>Toys (1-2 Years)</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>596738</BrowseNodeId>
+                  <Name>1-2 Years</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>589884</BrowseNodeId>
+                      <Name>Age Ranges</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>1095846</BrowseNodeId>
+          <Name>Nursery</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>1095842</BrowseNodeId>
+              <Name>Toys (1-2 Years)</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>596738</BrowseNodeId>
+                  <Name>1-2 Years</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>589884</BrowseNodeId>
+                      <Name>Age Ranges</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>1095850</BrowseNodeId>
+          <Name>Soft Toys</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>1095842</BrowseNodeId>
+              <Name>Toys (1-2 Years)</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>596738</BrowseNodeId>
+                  <Name>1-2 Years</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>589884</BrowseNodeId>
+                      <Name>Age Ranges</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>3853411</BrowseNodeId>
+          <Name>Full Range</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>596138</BrowseNodeId>
+              <Name>LeapFrog</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>470432</BrowseNodeId>
+                  <Name>Characters &amp; Brands</Name>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>10176641</BrowseNodeId>
+          <Name>LeapFrog Baby (0-12 Months)</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>10176631</BrowseNodeId>
+              <Name>LeapFrog By Age</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>596138</BrowseNodeId>
+                  <Name>LeapFrog</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>470432</BrowseNodeId>
+                      <Name>Characters &amp; Brands</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>10176651</BrowseNodeId>
+          <Name>LeapFrog 1-2 Years</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>10176631</BrowseNodeId>
+              <Name>LeapFrog By Age</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>596138</BrowseNodeId>
+                  <Name>LeapFrog</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>470432</BrowseNodeId>
+                      <Name>Characters &amp; Brands</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>10176601</BrowseNodeId>
+          <Name>LeapPad Learning System</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>596138</BrowseNodeId>
+              <Name>LeapFrog</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>470432</BrowseNodeId>
+                  <Name>Characters &amp; Brands</Name>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>3851901</BrowseNodeId>
+          <Name>General</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>595334</BrowseNodeId>
+              <Name>Development &amp; Learning</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>595314</BrowseNodeId>
+                  <Name>Toy Types</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>595312</BrowseNodeId>
+                      <Name>Toys</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>595456</BrowseNodeId>
+          <Name>Activity Toys</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>595334</BrowseNodeId>
+              <Name>Development &amp; Learning</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>595314</BrowseNodeId>
+                  <Name>Toy Types</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>595312</BrowseNodeId>
+                      <Name>Toys</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>595340</BrowseNodeId>
+          <Name>Electronic Learning</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>595334</BrowseNodeId>
+              <Name>Development &amp; Learning</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>595314</BrowseNodeId>
+                  <Name>Toy Types</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>595312</BrowseNodeId>
+                      <Name>Toys</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>595338</BrowseNodeId>
+          <Name>First Learning</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>595334</BrowseNodeId>
+              <Name>Development &amp; Learning</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>595314</BrowseNodeId>
+                  <Name>Toy Types</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>595312</BrowseNodeId>
+                      <Name>Toys</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>3851861</BrowseNodeId>
+          <Name>Light &amp; Sound</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>595334</BrowseNodeId>
+              <Name>Development &amp; Learning</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>595314</BrowseNodeId>
+                  <Name>Toy Types</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>595312</BrowseNodeId>
+                      <Name>Toys</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>3851881</BrowseNodeId>
+          <Name>Soft Toys</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>595334</BrowseNodeId>
+              <Name>Development &amp; Learning</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>595314</BrowseNodeId>
+                  <Name>Toy Types</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>595312</BrowseNodeId>
+                      <Name>Toys</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>3852101</BrowseNodeId>
+          <Name>General</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>1193380</BrowseNodeId>
+              <Name>Electronic Toys</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>595314</BrowseNodeId>
+                  <Name>Toy Types</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>595312</BrowseNodeId>
+                      <Name>Toys</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>1095922</BrowseNodeId>
+          <Name>Educational</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>1193380</BrowseNodeId>
+              <Name>Electronic Toys</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>595314</BrowseNodeId>
+                  <Name>Toy Types</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>595312</BrowseNodeId>
+                      <Name>Toys</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>3852111</BrowseNodeId>
+          <Name>Other</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>1193380</BrowseNodeId>
+              <Name>Electronic Toys</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>595314</BrowseNodeId>
+                  <Name>Toy Types</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>595312</BrowseNodeId>
+                      <Name>Toys</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>595632</BrowseNodeId>
+          <Name>General</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>3852751</BrowseNodeId>
+              <Name>Baby Toys</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>1095912</BrowseNodeId>
+                  <Name>Nursery Equipment</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>595314</BrowseNodeId>
+                      <Name>Toy Types</Name>
+                      <Ancestors>
+                        <BrowseNode>
+                          <BrowseNodeId>595312</BrowseNodeId>
+                          <Name>Toys</Name>
+                        </BrowseNode>
+                      </Ancestors>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>3853271</BrowseNodeId>
+          <Name>General</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>595516</BrowseNodeId>
+              <Name>Soft Toys</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>595314</BrowseNodeId>
+                  <Name>Toy Types</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>595312</BrowseNodeId>
+                      <Name>Toys</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>595524</BrowseNodeId>
+          <Name>Teaching Toys</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>595516</BrowseNodeId>
+              <Name>Soft Toys</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>595314</BrowseNodeId>
+                  <Name>Toy Types</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>595312</BrowseNodeId>
+                      <Name>Toys</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>595526</BrowseNodeId>
+          <Name>Walking, Talking &amp; More</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>595516</BrowseNodeId>
+              <Name>Soft Toys</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>595314</BrowseNodeId>
+                  <Name>Toy Types</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>595312</BrowseNodeId>
+                      <Name>Toys</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+        <BrowseNode>
+          <BrowseNodeId>3853261</BrowseNodeId>
+          <Name>Other</Name>
+          <Ancestors>
+            <BrowseNode>
+              <BrowseNodeId>595516</BrowseNodeId>
+              <Name>Soft Toys</Name>
+              <Ancestors>
+                <BrowseNode>
+                  <BrowseNodeId>595314</BrowseNodeId>
+                  <Name>Toy Types</Name>
+                  <Ancestors>
+                    <BrowseNode>
+                      <BrowseNodeId>595312</BrowseNodeId>
+                      <Name>Toys</Name>
+                    </BrowseNode>
+                  </Ancestors>
+                </BrowseNode>
+              </Ancestors>
+            </BrowseNode>
+          </Ancestors>
+        </BrowseNode>
+      </BrowseNodes>
+      <ListmaniaLists>
+        <ListmaniaList>
+          <ListId>3TMK8W5ANZSSM</ListId>
+          <ListName>Hodgepodge of My Recent Purchases</ListName>
+        </ListmaniaList>
+        <ListmaniaList>
+          <ListId>2I0CQBVIRJ39U</ListId>
+          <ListName>My Top 25 Items</ListName>
+        </ListmaniaList>
+        <ListmaniaList>
+          <ListId>2XH4SQ1DJZYS5</ListId>
+          <ListName>Children's Stuff</ListName>
+        </ListmaniaList>
+        <ListmaniaList>
+          <ListId>835YEOQOMMUF</ListId>
+          <ListName>Non-Theme List</ListName>
+        </ListmaniaList>
+      </ListmaniaLists>
+    </Item>
+  </Items>
+</ItemLookupResponse>
\ No newline at end of file

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/sample/itemLookup1.ecs.amazon.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/sample/itemLookup1.ecs.local.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/sample/itemLookup1.ecs.local.xml?rev=280444&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/sample/itemLookup1.ecs.local.xml (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/sample/itemLookup1.ecs.local.xml Mon Sep 12 16:15:33 2005
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<item>
+<EditorialReviews  xmlns="http://webservices.amazon.com/ECSECommerceService/2005-07-26">
+  <EditorialReview>
+    <Source>Our Local Review</Source>
+    <Content>This is a product review by our own staff. 
+    This product is really fantastic. Why not buy twenty of them.
+    It's got squeaky bits and eveything. It even talks with a non-descript
+    American/Computer accent. Go one, you know you want to ;-)</Content>
+  </EditorialReview>
+</EditorialReviews>
+</item>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.ecs/src/documentation/content/xdocs/sample/itemLookup1.ecs.local.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message