Spry Dataset XML Import Blank (Where's the problem?)

I have a weird predicament I've worked myself into and need to figure out a way to clean up this process.
Background: I am working within the constraints of a content management system that doesn't have full content management capabilities, switching CMS is not an option, server I believe is Tomcat, but JSP/ASP/PHP I think is irrelevant because of the constraints of the CMS.  The current dilemma I have is that they want a list built on a page, 40 items per page.  Very manual process.  Get Excel list --> Move to HTML --> And then playing musical chairs rotating things around.  This last part is the reason I'd like to move it towards XML.  It might not be as pretty, but I'm hoping to eliminate as much tedious coding as I possibly can (code looks bad enough as it is, no where near valid, definitely not accessible for Murray, but out of my control as far as changing at the moment).
The project also moves around so not everyone has the same software and moving to a database, is not an option.
Where I'm at: Because there are multiple parties involved the only link between them is the dreaded Micrsoft Office (v. 2007).  So I figured it was worth a shot looking into Excel's XML capabilities.  I created the XSD file for Excel to map from, and let Excel save the file as XML.  Now I have used the XML feature before in DW with datasets using XML files that either I hand-coded or where cached from database queries.  I tried to import it into DW and normally where you preview the data, in this case, nothing is visible.  So my first though is, maybe the XML from Excel doesn't validate, but then it does so that doesn't appear to be the issue. It validates just fine.
My ideal is that users can save just an Excel file and when these pages are made, the XML can be exported for DW and then if things need to be re-ordered they can easily do it in Excel which everyone has, but the web person can just upload an XML.  Below is the XML and XSD files that were used.  There is only one row of data in the XML file and data is sample data because of proprietary things.  Any help with this problem is greatly appreciated.
XSD:
<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="list">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="list_item" minOccurs="1" maxOccurs="unbounded">
          <xs:complexType>
            <xs:attribute name="name" type="xs:string" use="required" />
            <xs:attribute name="address" type="xs:string" use="required" />
            <xs:attribute name="imagepath" type="xs:string" use="required" />
            <xs:attribute name="product" type="xs:string" use="required" />
            <xs:attribute name="productlink" type="xs:string" use="required" />
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>
XML:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<list>
          <list_item name="google" address="http://www.google.com" imagepath="image/path/image.jpg" product="googles" productlink="http://www.somedomain.com/index.html"/>
</list>

I do not see a problem with the XML file. In fact I used the data as a file called untitled1.xml in the following
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<script src="http://labs.adobe.com/technologies/spry/includes_minified/xpath.js"></script>
<script src="http://labs.adobe.com/technologies/spry/includes_minified/SpryData.js"></script>
<script type="text/javascript">
var ds1 = new Spry.Data.XMLDataSet("untitled1.xml", "list");
</script>
</head>
<body>
<div spry:region="ds1">
  <table>
    <tr>
      <th spry:sort="list_item">List_item</th>
      <th spry:sort="list_item/@address">List_item/@address</th>
      <th spry:sort="list_item/@imagepath">List_item/@imagepath</th>
      <th spry:sort="list_item/@name">List_item/@name</th>
      <th spry:sort="list_item/@product">List_item/@product</th>
      <th spry:sort="list_item/@productlink">List_item/@productlink</th>
    </tr>
    <tr spry:repeat="ds1">
      <td>{list_item}</td>
      <td>{list_item/@address}</td>
      <td>{list_item/@imagepath}</td>
      <td>{list_item/@name}</td>
      <td>{list_item/@product}</td>
      <td>{list_item/@productlink}</td>
    </tr>
  </table>
</div>
</body>
</html>
and it works fine.
However, if I that was confronted with the problem, I would save the Excel file to a CSV and use the Spry CSV Data Set as per http://labs.adobe.com/technologies/spry/samples/data_region/CSV_sample.html
Gramps

Similar Messages

  • Apple maps has received a poor performance rating just after introduction of the iPhone 5. I am running google maps app on the phone. Siri cannot seem to get me to a specific address. Where does the problem lie? Thanks.

    Apple maps has received a poor performance rating just after introduction of the iPhone 5. I am running Google Maps app on the phone. SIRI cannot seem to get me to a specific address. Where does the problem lie? Also can anyone tell me the hierarchy of use between the Apple Maps, SIRI, and Google maps when the app is on the phone? How do you choose one over the other as the default map usage? Or better still how do you suppress SIRI from using the Apple maps app when requesting a "go to"?
    I have placed an address location into the CONTACTS list and when I ask SIRI to "take me there" it found a TOTALLY different location in the metro area with the same street name. I have included the address, the quadrant, (NE) and the ZIP code into the CONTACTS list. As it turns out, no amount of canceling the trip or relocating the address in the CONTACTS list line would prevent SIRI from taking me to this bogus location. FINALLY I typed in Northeast for NE in the CONTACTS list (NE being the accepted method of defining the USPS location quadrant) , canceled the current map route and it finally found the correct address. This problem would normally not demand such a response from me to have it fixed but the address is one of a hospital in the center of town and this hospital HAS a branch location in a similar part of town (NOT the original address SIRI was trying to take me to). This screw up could be dangerous if not catastrophic to someone who was looking for a hospital location fast and did not know of these two similar locations. After all the whole POINT of directions is not just whimsical pasttime or convenience. In a pinch people need to rely on this function. OR, are my expectations set too high? 
    How does the iPhone select between one app or the other (Apple Maps or Gppgle Maps) as it relates to SIRI finding and showing a map route?  
    Why does SIRI return an address that is NOT the correct address nor is the returned location in the requested ZIP code?
    Is there a known bug in the CONTACTS list that demands the USPS quadrant ID be spelled out, as opposed to abreviated, to permit SIRI to do its routing?
    Thanks for any clarification on these matters.

    siri will only use apple maps, this cannot be changed. you could try google voice in the google app.

  • Sometimes my iphone 5S produces low sound even on full volume level. Then i do restart it. But i am not sure where exactly the problem is? Need help.

    Sometimes my iphone 5S produces low sound even on full volume level. Then i do restart it. But i am not sure where exactly the problem is? Need help.

    Hi saiyed adil, 
    Thank you for contributing to the Apple Support Communities. 
    It appears that your iPhone 5s sometimes produces low sound, but a restart corrects it. 
    It can take some time to isolate and resolve intermittent issues like this one, and I'd recommend going through the steps in this guide the next time it occurs:
    If you hear no sound or distorted sound from your iPhone, iPad, or iPod touch speaker - Apple Support
    All the best,
    Jeremy 

  • Error in downloading. Where's the problem?

    I just joined Creative cloud, installed trial version of InDesign, tried to install Bridge, Photoshop and then Illustrator. With all of them i get this same info : Error in downloading. Where's the problem??

    I was trying to download trial versions, with this creative cloud window popping each time after one trial downloading (Indesign-downloading went just fine, after it all I'm getting is this 'latausvirhe' notification = 'error in downloading').
    Sorry - my mac speaks Finnish. No notes or codes, just this window and i don't know how to proceed.

  • Macbook Pro (late) 2008 won't recognize HD and MAC OS X installed, but recognizes SAME HDD with Windows installed ... where is the problem !???D a

    Macbook Pro (late) 2008 won't recognize HDD and MAC OS X installed, but recognizes SAME HDD with Windows installed ... where is the problem !???
    And HDD is APPLE certified ( 250 GB )

    Hello JashaCOLD,
    Thank you for the details of the issue you are experiencing with your external hard drive.  I found an article with steps you can take when an external device is not being recognized.
    I recommend following the steps in the section titled "Top troubleshooting tips" in the following article:
    USB and FireWire Quick Assist
    http://support.apple.com/kb/HT1151
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • When I navigate web with Firefox my Thinkpad trackpoint center button is not working. With other web browsers it works well. Where is the problem in firefox, how to enable TrackPoint center button?

    When I navigate web with Firefox my Thinkpad trackpoint center button is not working. With other web browsers it works well. Where is the problem in firefox, how to enable TrackPoint center button?

    I have exactly the same settings in Options (in both computers)
    for history, these 2 add-ons and all other stuff in Options. The only difference is that on 1 pc sessions can be saved and closed tabs can be reopened, on other main pc they stopped to work. + no any other add-on that does similar things works on this pc.
    It is also interesting that I can reopen closed visited sites from History Panel, but not by pressing the Button. For now I only manually bookmark links to a temporary folder.
    Recently (some 2 month ago) I pressed x and Firefox closed all tabs without saving them without displaying save & quit pop up.
    so I changed 4 settings in about.config
    browser.tabs.warn on close true
    browser.warn on quit true
    browser.warn on restart true
    browser.show.quit warning true
    but the problem with sessions appeared only 1 week ago.
    So I guess the problem is not with the History settings or other settings. Seems that something responsible for button or for storing info about tabs/sessions got corrupted. :(

  • Color space-creating a book in My publisher-.when I look at the share book pre print the colors are all dulled out. I work in pro photo rgb in LR and PS -.My Pub is sRGB-.where is the problem?

    Color space…creating a book in My publisher….when I look at the share book pre print the colors are all dulled out. I work in pro photo rgb in LR and PS ….My Pub is sRGB….where is the problem?

    I finally got to my references. This had to do with "soft proofing" on screen in Photoshop.
    So this may not help you at all. Re: Strange sRGB soft-proofing behavior  So go ahead and leave that setting at Basic.
    However there is a Color Management forum that you also go to and see if anyone has answers for your particular problem.
    Here is the link: Color management
    I hope they can help you out.
    Gene

  • Hi! I updated my Mozilla Firefox to new verison(Mac OS X), and now in some pages all texts is in bold. Where is the problem? Thanks!

    Hi! I updated my Mozilla Firefox to new version(Mac OS X), and now in some pages all texts is in '''bold'''. Where is the problem? Thanks!

    Did you do a font check in Font Book?
    Be aware that a default encoding of UTF-16 as shows in your screenshot may lead to problems.<br />
    The default is Western (ISO-8859-1) and you should change the default encoding to that setting unless you have changed that deliberately to UTF-16 for specific web pages, but even in that case it is better to make the change via View > Character Encoding or set Auto-Detect to Universal or UTF-16.

  • I can't sync my iPad to the iTunes it's give me an unknown error  message 0xe8000012 I don't know how to fix it and where is the problem could be need format or the problem is in the charging port please can any one help me

    I can't sync my iPad to the iTunes it's give me an unknown error  message 0xe8000012 I don't know how to fix it and where is the problem could be need format or the problem is in the charging port please can any one help me

    Unknown Error containing "0xE" when restoring
    To resolve this issue, follow the steps in iPhone, iPad, iPod touch: Unknown error containing '0xE' when connecting. If you have a Windows computer with an Intel® 5 series/3400 series chipset, you may need updates for your chipset drivers. See iTunes for Windows: Issues syncing iOS devices with P55 and related Intel Chipsets for more information.
    From Here  >  http://support.apple.com/kb/TS3694

  • Hello, I have paid the application ADOBE PREMIERE PRO CC, in Creative Cloud still shows "buy", where is the problem?

    Hello, I have paid the application ADOBE PREMIERE PRO CC, in Creative Cloud still shows "buy", where is the problem?

    Does your Cloud subscription properly show on your account page?
    If you have more than one email, are you sure you are using the correct Adobe ID?
    https://www.adobe.com/account.html for subscriptions on your Adobe page
    If yes
    Some general information for a Cloud subscription
    Log out of your Cloud account... Restart your computer... Log in to your paid Cloud account
    -Sign in help http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html
    -http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html
    -http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
    -http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html
    If no
    This is an open forum, not Adobe support... you need Adobe staff to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • LR 5 is very slow to give me a visual so I can properly select them for import. What's the problem?

    LR 5 is very very very slow in giving me a visual of my images so I can properly select them for import. What's the problem? I'm very disappointed with this glitch! Please Adobe fix it quickly! Has anyone else come across this problem? Any solutions? thanks

    trygzuz wrote:
    LR 5 is very very very slow in giving me a visual of my images so I can properly select them for import. What's the problem? I'm very disappointed with this glitch! Please Adobe fix it quickly! Has anyone else come across this problem? Any solutions? thanks
    Is "very very very slow" 30 seconds or 30 minutes or 30 hours or 30 years?
    It is possible that you have a hardware problem which is causing the slow operation (in my case, it was a bad card reader, but it could also be a bad USB port or USB cable or bad camera card). In fact, in my opinion, these issues are 99.9% of the time hardware issues.

  • Dw cs5.5 + Phonegap + spry dataset xml and images links broken

    Hi all,
    I'm building an app using DW CS5.5 and Phonegap.
    This is what I've done:
    created pages using the starter template (local)
    I created a php page that run a query on a mysql database and output an xml file
    I created a spry dataset using the php (see 2) file as data file
    It works locally and on-line on my website.
    But if I package an app using the android sdk from dw CS5.5 I have problems: all images are all broken. It seems that the link to image is not correct.
    In fact, all images are not using absolute path (http://www.mysite.com/images/...) but are set this way: /images/....
    So, my question is: have I to specify all images sources using absolute paths to make it work when packaged?
    TIA for any reply
    tony

    Hi Gramps,
    I just solved the problem with image paths (I made all src paths absolute).
    There is only one problem left: I opened another discussion: http://goo.gl/ysNDH
    But here the link you (correctly) need to trobleshoot the problem): http://www.camar.it/newsxml
    It should work on desktop browsers but it fails when I pack the app for android and install it on an android smartphone: I get "error loading page" when clicking on any details link (the button label is: DETTAGLI) on the news page.
    Tony

  • XML for Analysis - where's the 7.0 docs?

    Trying to install and run 7.01 w XML for Analysis Services, but the doc included with Deployment Services is based on 6.6 and 6.5 - files, locations, etc. are all changed.Anyone know where the real 7.0.X documentation/installation instructions are?

    Got to that documentation - it's the 6.6/6.5 config information.What was good news is that most of the config had already been done. What was missing was the URL to the XMLA service on EDS which is:http://<host>:8080/xmla/EssbaseXmlForAnalysisWhich I got from tech support.Now I'm up and running. Works fine (and quickly) w the Microsoft XML/A sample application.

  • CPU issues on MacBook (over 70%) - where is the problem?

    Hello!
    This week, all of a sudden, my CPU percentages went up, approx. to 70%. And now it is running really slow.
    I have made an EtreCheck and can't really figure out, what is causing it. On my activity monitor, this particular program is called "Inkjet4". But where can I find it?
    Heres my etrecheck as well if it helps
    Hardware Information:
              MacBook Pro - model: MacBookPro9,2
              1 2.5 GHz Intel Core i5 CPU: 2 cores
              4 GB RAM
    Video Information:
              Intel HD Graphics 4000 - VRAM: 1024 MB
    System Software:
              OS X 10.9.1 (13B42) - Uptime: 0 days 1:20:22
    Disk Information:
              APPLE HDD TOSHIBA MK5065GSXF disk0 : (500.11 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) /: 499.25 GB (406.93 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              HL-DT-ST DVDRW  GS31N 
    USB Information:
              Apple Inc. FaceTime HD Camera (Built-in)
              Apple Inc. BRCM20702 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Inc. Apple Internal Keyboard / Trackpad
              Apple Computer, Inc. IR Receiver
    FireWire Information:
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
    Kernel Extensions:
    Problem System Launch Daemons:
              [failed] com.apple.AOSNotificationOSX.plist 3rd-Party support link
              [failed] com.apple.softwareupdated.plist 3rd-Party support link
              [failed] com.apple.wdhelper.plist 3rd-Party support link
    Problem System Launch Agents:
    Launch Daemons:
              [loaded] com.adobe.fpsaud.plist 3rd-Party support link
              [loaded] org.macosforge.xquartz.privileged_startx.plist 3rd-Party support link
    Launch Agents:
              [loaded] com.hp.help.tocgenerator.plist 3rd-Party support link
              [loaded] com.samsung.AWPAgent.plist 3rd-Party support link
              [loaded] org.macosforge.xquartz.startx.plist 3rd-Party support link
    User Launch Agents:
              [loaded] com.adobe.ARM.[...].plist 3rd-Party support link
    User Login Items:
              iTunesHelper
              Moveslink2
              Mail
              AdobeResourceSynchronizer
    Internet Plug-ins:
              JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Cannot contact Oracle
              FlashPlayer-10.6: Version: 11.9.900.170 - SDK 10.6 3rd-Party support link
              QuickTime Plugin: Version: 7.7.3
              Flash Player: Version: 11.9.900.170 - SDK 10.6 Cannot contact Adobe
              Default Browser: Version: 537 - SDK 10.9
              GarminGpsControl: Version: 4.0.4.0 Release - SDK 10.6 3rd-Party support link
              iPhotoPhotocast: Version: 7.0
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 1.9 - SDK 10.9
              AppleAVBAudio: Version: 2.0.0 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    3rd Party Preference Panes:
              Flash Player  3rd-Party support link
    Bad Fonts:
              None
    Old Applications:
              /Applications/iWork '09
              Wireless Setting:          Version: 1.2.7 - SDK 10.5 3rd-Party support link
                        /Users/[redacted]/Downloads/Wireless Setting.app
    Time Machine:
              Time Machine not configured!
    Top Processes by CPU:
                   2%          WindowServer
                   1%          Activity Monitor
                   0%          EtreCheck
                   0%          Moveslink2
                   0%          sysmond
    Top Processes by Memory:
              61 MB          Finder
              29 MB          EtreCheck
              29 MB          WindowServer
              17 MB          Activity Monitor
              16 MB          mds_stores
    Virtual Memory Information:
              22 MB          Free RAM
              720 MB          Active RAM
              656 MB          Inactive RAM
              667 MB          Wired RAM
              1.50 GB          Page-ins
              25 MB          Page-outs
    If somebody could please help me or figure out what's wrong.. that would be really helping!

    Force-quit the process in Activity Monitor to solve the problem temporarily. Empty the print queues in the Printers & Scanners preference pane (which has a slightly different name in each recent version of OS X.) If you don't use an HP printer, remove the software. Otherwise, if the problem is recurrent, update the software (which may not help) or contact HP support.

  • Using CASE in the join statement in the AND clause. Where's the problem?

    All,
    I have my code, where based on the case statement, I would like to restrict the number of records in my JOIN condition. It's the CASE statement that I have used, that's giving me the problem. Not sure, what the problem is. The error says (in my case expression):
    Msg 102, Level 15, State 1, Line 59
    Incorrect syntax near '>'.
    Select a.Col1, a.Col2, b.Col1, b.Col2, b.Col3
    From Table1 a
    Join Table2 b
    On a.id = b.id
    Join Table3 c
    On c.FiltId = a.FiltId
    And
    Case
    When b.Col3 <> 5 --b.Col3 is an INT field
    Then (b.OutDate >= DATEADD(DAY, -30, c.InsertDate) And b.OutDate <= DATEADD(DAY, 30, c.InsertDate))
    When b.Col3 = 5
    Then (b.InDate >= DATEADD(DAY, 5, c.InsertDate))
    End
    Join Table 4 -- Other Join conditions and where clause conditions

    You do not know the CASE is an expression and fields are not columns. This is fundamental and probably means that a lot of your code needs work. 
    You can probably re-write the query with something like this: 
    SELECT A.col1, A.col2, B.col1, B.col2, B.col3
      FROM Table_1 AS A, Table_2 AS B, Table_3 AS C
     WHERE A.generic_id = B.generic_id
       AND C.foobar_id = A.foobar_id
       AND CASE
           WHEN B.col3 <> 5 
                AND (B.something_out_date 
                     <= DATEADD(DAY, -30, C.something_insertion_date) 
           THEN 'T'
           WHEN B.col3 = 5 
                AND (B.something_out_date 
                    >= DATEADD(DAY, -30, C.something_insertion_date) 
           THEN 'T'
           ELSE 'F' END = 'T' ;
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

Maybe you are looking for

  • Export HRMS data to a flat file

    Hi All! Are there any ways of exporting employee related data to a flat file without using a client app (PeopleCode or Integration Broker), that is simply generate a CSV feed from UI?

  • Mobile Me Sign In Window Doesn't Appear

    I have no trouble publishing my iWeb website to Mobile me from my own computer. but when traveling, and trying to publish to Mobile me from a friend's computer, I get as far as the pop up window that tells me to sign in at Mobile Me, but when I click

  • Use javascript to make a Flex panel?

    Trying to make a functional indeterminate progress bar, i'we tried almost anything i could think of. nothing worked (or it worked badly). the one thing i haven't tried yet is to use actionscript to create a palette with a swf movie inside. but i need

  • Event handling for radiobuttonGroup in HTML

    Hi All, In HTML , for a group of radio buttons we need to give the same name to each button so that all other RBs are deselected if , one is selected , but for triggering a server side event from an element using HTML , in BSP application we have to

  • Where is PS Elements 10 download, serial number?

    I bought Intuos 5 touch tablet, which was sold with elements 10 program. I downloaded the complementary program following instructions on the cd, but cannot activate the download without a serial number. I have tried every code on the box but they se