Change ATOM and RSS feed representations to use name value pairs instead of just strings, to allow support for all ATOM and RSS attributes and avoid confusion with non-feed string results.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1079292 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5b33dc5c5a
commit
49b878b1b0
80 changed files with 805 additions and 1505 deletions
|
|
@ -24,6 +24,10 @@
|
|||
<link rel="stylesheet" type="text/css" href="/ui.css"/>
|
||||
<title>Store</title>
|
||||
|
||||
<script type="text/javascript" src="/util.js"></script>
|
||||
<script type="text/javascript" src="/elemutil.js"></script>
|
||||
<script type="text/javascript" src="/xmlutil.js"></script>
|
||||
<script type="text/javascript" src="/atomutil.js"></script>
|
||||
<script type="text/javascript" src="/component.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
|
@ -50,8 +54,9 @@ function catalog_itemsResponse(items, exception) {
|
|||
|
||||
}
|
||||
|
||||
function shoppingCart_getResponse(feed) {
|
||||
if (feed != null) {
|
||||
function shoppingCart_getResponse(doc) {
|
||||
if (doc != null) {
|
||||
var feed = parseXML([doc]);
|
||||
var entries = feed.getElementsByTagName("entry");
|
||||
var list = "";
|
||||
for (var i=0; i<entries.length; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue