Spry XML Data Sets can't set from internet ?

for example.
i build a rss feed on my computer ,
when i use:
var ds_topic = new Spry.Data.XMLDataSet("/blog/rss.php",
"rss/channel/item");
then the page will working,
but:
var ds_topic = new Spry.Data.XMLDataSet("
http://124.10.118.236/blog/rss.php",
"rss/channel/item");
then the page will show me this msg
"Exception caught while loading
http://124.10.118.236/blog/rss.php:
[object Error]"
and the page show nothing .
i can see the XML schema in dreamweaver in both way.
anybody know what's wrong? thanks!

Sr.No
Book Name
Book Description
1)
Book1(image)
Accordion1
AccordionPAnelTAb(for eg:- John)
AccordionPAnelContent(for eg:- Marsh)
AccordionPAnelTAb(for eg:- Silver)
AccordionPAnelContent(for eg:- Austin)
2)
Book2(img)
Accordion2
AccordionPAnelTAb(for eg:- John1)
AccordionPAnelContent(for eg:- Marsh1)
AccordionPAnelTAb(for eg:- Silver1)
AccordionPAnelContent(for eg:- Austin1)
using xml
<employees>
   <employee>
       <firstname>John</firstname>
       <lastname>Marsh</lastname>
   </employee>
   <employee>
       <firstname>Silver</firstname>
       <lastname>Austin</lastname>
    </employee>
     <employee>
       <firstname>John1</firstname>
       <lastname>Marsh1</lastname>
   </employee>
   <employee>
       <firstname>Silver1</firstname>
       <lastname>Austin1</lastname>
    </employee>
</employees>

Similar Messages

  • Spry xml data set, accessing specific rows

    Hello. I've been trying to build a website using Spry XML
    Data Sets, and while I've accomplished my goals for now, I don't
    think the solution I came up with is the best.
    The website consists of several areas that show projects.
    Each project has several fields that are to be filled with content
    retrieved from the xml files, but the projects are not all exactly
    alike and some have specific fields that others don't require.
    All the info is available in several languages, so for now
    I've created an xml file for each one. An xml file could be like
    Code Part1. (Why I can't add several code snippets along the post
    baffles me. I mean, I can't, right?)
    This dataset, for simplicity purposes, is not dependent on
    the language (Code Part2).
    And then there are the content areas (Code Part3).
    So as you see, each project has its own structure. This makes
    using spry:repeat a not very effective method for filling in all
    the content. Ideally I should be able to access each row in the
    dataset through some sort of value, like id, or one of its
    children's values. The ds_RowID depends on the row order, so unless
    there's another way to use it, it doesn't solve my problem.
    Here's what I've come up with (Code Part4).
    This works (in FF3 OSX, at least), although there are some
    other problems that might make it necessary to create a spry:region
    (or at least use spry:repeat) for each field. Anyway, it sounds
    silly and wasteful to go through every row of the dataset everytime
    for each of the fields that need to be filled.
    My hope is that I'm ignorant of some much better method of
    achieving my goals, something more direct and elegant.
    Can anyone help me out with this? Thank you very much in
    advance.

    Hi there
    You are indeed absolutely correct a spry region should have been shown, my appologise for that, the code is wrapped in a standard spry region.
    That being said i have used a work around in the SQL SELECT statement of the xmlExportObj, Recordset to find the information required without having to do any IF, ELSE on the page.
    Many thanks for your reply and for pointing out my mistake in how I had presented my question.
    My next question is to follow seperately
    Regards
    Ray

  • Designing a 'sample time feed' for Spry XML Data Set

    Hi!
    Often when I call a Spry XML Data Set I find I can't get the
    schema. If offers you the option to design a sample time feed but
    doesn't give you enough info to be able to even guess how to do
    this.
    Is the answer in modifying that php line somehow?
    Any guidance would be much appreciated!
    Mike

    The idea for Design Time XML is that you can use a static XML
    file instead of a dynamic source, in case you don't have access to
    the real data. You can use the Design Time XML to make the query
    and design the page.
    This gives you access to the data references for designing
    the page.
    If you are getting schema errors, the numbers that the dialog
    shows is the line number and character number (1,1)
    You should be able to see the XML directly in the browser. If
    you can, then DW should be able to consume it.

  • Including HTML tags in Spry XML data sets

    How does one add HTML tags to Spry XML data sets so that the displayed items include that markup?
    For example, I might want to bold-face words within XML data items. I have tried adding the markup, but instead of seeing, for example:
    This is bold face
    in the Spry table, I see:
    This is <b>bold</b> face
    I have tried using CDATA elements in the XML to no avail.

    Set the data type for the column as per
    var ds1 = new Spry.Data.XMLDataSet("myData.xml", "rows/row");
    ds1.setColumnType("myColumn", "html");
    Gramps

  • Crystal Report with text(csv) data file, can we set it as input parameter?

    Hi,
    I am a new user of Crystal Reports 2008.
    I have created a report with charts in it. The input data comes from a csv text file.
    Can I set the name of this text file as an input parameter?
    as I need to generate 44 similar reports with different text filenames(and data)?
    Thank you.
    Regards

    Brian,
    Thanks much.
    I did exactly what you said.
    Just to see any change, I first gave a bad report file name just to see if I am accidentally pointing to a different file,
    but I got an error saying report not found.
    Then I renamed my original datafile name and generated a report and it still generated one without giving an error.
    Then I also gave a junk name to the logoninfo and printed that name, the new name was assigned to logoninfo, but the code did not error out.
    It ended up generating the report.
    Now here is what I think is happening,
    1) The save data in report option seems to be still on even though I have turned it off in 2 locations
    a) file -> Report Options
    b) file -> Options -> Reporting tab.
    2) For some reason the logoninfo is getting ignored as well.
    Since I did not see any answers yesterday I posted a link to this thread on the .Net forum
    Crystal Report with text(csv) data file, can we set it as input param? C#
    and Ludek Uher says that I am connecting to the text file via a DAO database engine and so need to use the same code for changing the text file as for changing an Access database.
    But the link he gave me tells me to try the same thing that we have been trying..
    Here is my plan,
    1) I will first try and find out why my save data with report option is still on ( but it shows off in Crystal ).
    2) why is LogonInfo getting ignored.
    Meanwhile any suggestions from anyone are welcome.

  • Crystal Report with text(csv) data file, can we set it as input param? C#

    Hi,
    I am new to the forums and posted a question which belonged to the .net - SAP Crystal reports group.
    Can someone help me with my problem? following is the thread that I have started.
    Crystal Report with text(csv) data file, can we set it as input parameter?
    Thank you in advance.

    Looking at the original thread, you are connecting to the text file via the DAO database engine:
    "I added the text file as follow, new connection -> Access/Excell (DAO) -> select the file and the database type as text"
    Thus I would use the same code for changing the text file as for changing an Access database. See Kbase [1218178 - Error: "Logon failed" when connecting to Access database in .NET application|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313338333133373338%7D.do] for more information. If that does not work, you may want to consider connecting via ODBC or feeding the data from the text file to and ADO .NET dataset and pointing the report at the dataset.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Error specifying spry xml data source?

    I have been using Dreamweaver's Spry XML Data Sets without any trouble until I added the calendar YUI widget. After that I get an error message "no expected entity name for reference (65, 23)". Also nothing shows in the Bindings Panel. I have a Mac OS X, which I find very frustrating after being on a PC for 15 years. I can never find anything I am looking for in the help section.
    Here is what I have tried so far that has not worked.
    1. Removed the YUI extension
    2. Deleted the ******.dat file from the configuration folder in the library user folder
    3. Renamed the configuration folder in the library user folder
    4. Copied the configuration library folder from my functioning laptop
    5. Uninstalled and reinstalled Dreamweaver CS4
    I can code everything by hand, but that is very time consuming and makes this software a virtual paper weight.
    I would appreciate any advise that could be offered.

    The preferences files for Mac programs is in your user account folder/Library/Preferences.  The files that DW and other applications create end in .plist.  These files are creating by Mac OS for many different applications.  If you delete one, the OS will re-create another preferences file upon the next opening of the application.
    Also the other files that DW saves during a re-install are saved only if you go through the uninstall process and enable that option.  This is the same for the Windows version.  Sometimes if there are strange errors you can contact Adobe support for general information.
    If not and you need to do a re-install I would recommend de-activating first.  Then running the adobe CS# clean tool.  Just type that phrase into Google and you will find it as the top result for CS3 or CS4.
    Adobe - Adobe CS3Clean Script
    Adobe - Adobe CS4 Clean Script
    Those do more than just remove the program.  They will remove all components in the applications folder and shared in the user library and system library.  That is the only true way to do a re-install as far as I know.  But you will need to de-activate before doing this because it will erase every file and all serial numbers from all Adobe programs with this tool.

  • Spry XML Data won't diplay - Help

    Here is my code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml"
    xmlns:spry="
    http://ns.adobe.com/spry">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    <!--
    #apDiv1 {
    position:absolute;
    left:8px;
    top:27px;
    width:266px;
    height:115px;
    z-index:1;
    -->
    </style>
    <script language="JavaScript" src="SpryAssets/xpath.js"
    type="text/javascript"></script>
    <script src="SpryAssets/SpryData.js"
    type="text/javascript"></script>
    <script type="text/javascript">
    <!--
    var dsEvent = new Spry.Data.XMLDataSet("events.xml",
    "events/event");
    //-->
    </script>
    </head>
    <body>
    <div id="apDiv1">
    <div spry:region="dsEvent">
    <table width="278" >
    <tr>
    <th>Name</th>
    <th spry:sort="location">Location</th>
    </tr>
    <tr spry:repeat="dsEvent" spry:setrow="dsEvent">
    <td>{name}{date}</td>
    <td>{location}</td>
    </tr>
    </table>
    </div>
    </div>
    </body>
    </html>
    Here is my problem:
    If I use UNC path it display the data.
    If I use IIS --- such as http:\\testServer\devhome\test.cfm
    it will give me a blank white page. No xml data.
    Can any one point me out what I am doing wrong?
    Thanks in advance.

    Here is my new finding : After I changed ".cfm" to ".html"
    --- it work's !!!!!!!!!!
    My new question is why it is not working in coldfusion. I
    tried in two diffrent server --- same result.
    Need some help here.
    Thanks in Advance.

  • Looking for more samples of spry xml data in use

    I was curious if there's a resource out there that shows more
    samples of using the spry xml data widget. Almost like a template
    or sample gallery. Am I dreaming?

    Look
    Here

  • Spry XML Data Set

    I have made a basic XML file that gets written to from the
    inputs of a form. All the information is written in the XML file
    correctly, but when the data is inserted, the new data doesnt
    display in the Spry table (evan with DW closed). I have a page for
    the form and a page to display All the data. The only way i can get
    the table to show the updated data is to close the browser and
    reopen. After i insert the data to the file i get the "File has
    been modified outside of Dreamweaver, Reload it" prompt. Is there a
    setting i should change? My XML file is in the root folder of my
    site on the local machine, i am using Vista Ultimate and
    ASP.

    Well I had it working when I stripped back everything and
    just had the dss data set and a single onclick function, but now
    that I put it back together it hash foobared again.
    Here are the relevant bits of code that I've changed.
    The function to change server id:
    //function to run when changing the server id
    function changeServer ( sid ) {
    //set the url to use the current server id
    dss.setURL = ( '../../cgi-bin/server_details.pl' , { method:
    'POST' , postData:
    'sid=7gv1m3vjvagfl7h7qeefb8iodj8evhmb&ip=127.0.0.1&cid='+sid
    //force a reload of the server data
    dss.loadData();
    The inital load of the data set
    var dss = new Spry.Data.XMLDataSet (
    '../../cgi-bin/server_details.pl' , 'yams' , { method: 'POST' ,
    postData:
    'sid=7gv1m3vjvagfl7h7qeefb8iodj8evhmb&ip=127.0.0.1&cid=0' ,
    subPaths: [ "auth" , "plugins" , "plugins/plugin" ] , keepSorted:
    "true", sortOnLoad: "plugins/plugin/order", sortOrderOnLoad:
    "descending", useCache: false, loadInterval: 10000 } );
    And the part that changes the server id
    <td align="left" style="cursor:default; width:174px;"
    onclick="changeServer({dsv::servers/server/@id})">{dsv::servers/server/name}</td>
    I checked that the function is receiving the correct server
    id and I even tried hard coding the cid variable to 2 in the change
    function but it still wasn't changing on the server side.
    Any ideas?
    Thanks

  • Spry XML data set and dynamic post variables

    Hi,
    I am trying to create an XML data set that has dynamic post
    variables.
    Everytime something is pressed on the page a variable changes
    and I then want to reload the XML data set using the new variable.
    I know I can just pull in an XML with all possible variables
    and filter client side but this would make it way too large.
    Does anyone know what I may need to do.
    I tried this:
    var myVar = 0;
    var dss = new Spry.Data.XMLDataSet (
    '../../cgi-bin/server_details.pl' , 'top' , { method: 'POST' ,
    postData: sid=ajaja21&ip=127.0.0.1&cid=' . myVar ,
    subPaths: [ "auth" , "plugins" , "plugins/plugin" ] , keepSorted:
    "true", sortOnLoad: "plugins/plugin/order", sortOrderOnLoad:
    "descending", useCache: false, loadInterval: 10000 } );
    onclick="myVar=1";
    But the script doesn't understand the post variables sent (it
    does when I remove the . myVar part and put in a static value). I
    think it isn't sending that dynamic variable with the post
    variables.
    Any ideas anyone?
    Thanks

    Well I had it working when I stripped back everything and
    just had the dss data set and a single onclick function, but now
    that I put it back together it hash foobared again.
    Here are the relevant bits of code that I've changed.
    The function to change server id:
    //function to run when changing the server id
    function changeServer ( sid ) {
    //set the url to use the current server id
    dss.setURL = ( '../../cgi-bin/server_details.pl' , { method:
    'POST' , postData:
    'sid=7gv1m3vjvagfl7h7qeefb8iodj8evhmb&ip=127.0.0.1&cid='+sid
    //force a reload of the server data
    dss.loadData();
    The inital load of the data set
    var dss = new Spry.Data.XMLDataSet (
    '../../cgi-bin/server_details.pl' , 'yams' , { method: 'POST' ,
    postData:
    'sid=7gv1m3vjvagfl7h7qeefb8iodj8evhmb&ip=127.0.0.1&cid=0' ,
    subPaths: [ "auth" , "plugins" , "plugins/plugin" ] , keepSorted:
    "true", sortOnLoad: "plugins/plugin/order", sortOrderOnLoad:
    "descending", useCache: false, loadInterval: 10000 } );
    And the part that changes the server id
    <td align="left" style="cursor:default; width:174px;"
    onclick="changeServer({dsv::servers/server/@id})">{dsv::servers/server/name}</td>
    I checked that the function is receiving the correct server
    id and I even tried hard coding the cid variable to 2 in the change
    function but it still wasn't changing on the server side.
    Any ideas?
    Thanks

  • Spry xml data does not work in ie

    Hello all,
    I'm attempting to use a spry data set / xml. Works great in FF. I can't get it to function in IE. On my test machine, it will blink the html content without the xml data and then just disappear. No error. I've created a simple test page for trouble shooting. I'm using Spry version 1.6.1.
    Can you please take a look and see if you can tell what I'm doing wrong? Thanks in advance.
    Links to the test pages:
    http://psstudios.com/clients/tesseract/caltest.htm
    <meta http-equiv="Content-Type" content="text/xml; charset=UTF-8" />
    http://psstudios.com/clients/tesseract/caltest1.htm
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    and the xml:
    http://psstudios.com/clients/tesseract/tesseract_events.xml
    http://psstudios.com/clients/tesseract/tesseract_news.xml

    Your server is sending xml files with the content-type header text/plain. XML files should have the content-type text/xml. If you fix this, it would work. If you cannot change the server settings to serve the appropriate header see my post over at the Spry forums: http://forums.adobe.com/message/2179253#2179253
    It might fixes the issue for you, but that still doesn't mean it would fix your server

  • Spry XML Data causing lots of 404s

    I have an html document with an XML data set of various products bound to the document. The data displays fine like its supposed to, except in the case of the thumbnail sources and URL links they each cause a 404 error for every single product displayed on the page each time it is accessed. Here is an example of the code for my product thumbnails and links to each of their pages:
    <div spry:region="ds1">
         <div id="container">
              <div id="item" spry:repeat="ds1" spry:setrow="ds1">
                   <a href="{ds1::url}"><img src="{ds1::thumb}" width="75" height="75" style="border:solid 1px #AAA;" alt="{ds1::product}" /></a>
              </div>
         </div>
    </div>
    Again, it displays properly in IE, Firefox, Chrome, and Opera... its just that the img.src and href data is causing 404 errors every time they're displayed. Do I need to adjust the data brackets or Javascript in the header to fix this?

    Hmm, that sounds interesting.
    So basically you're saying that I should generate the tags themselves with Spry? Something like this?
    CURRENT
    <a href="{url}"><img src="thumbnail" /></a>
    YOUR SUGGESTION
    <{tagA}><{tagImg} /></{tagAend}>
    So in a way I'm essentially tricking the browser and website log into believing that there really isn't an actual image or URL for it? And that will prevent the 404 errors I described from occurring since it won't be looking at them for links or image sources?
    EDIT************************
    I tried your suggestion but I don't know of a way for a XML data reference to be read as an html tag, unless you meant something else when you said to generate the tags in Spry.

  • How can i change from internet explorer to Mozilla firefox when entering adobe ID?

    I ordered a photoshop element 13 licence. Everything went fine until I am asked to put my Adobe ID and password. My windows computer in combination with internext explorer cannot open the adobe internet side. When I am using Mozilla firefox I am able to log into www.adobe.com. Therefore I would like to ask if there is any chance to switch from internet explorer to mozilla firefox during login process?

    wickie_10 wrote:
    I ordered a photoshop element 13 licence. Everything went fine until I am asked to put my Adobe ID and password. My windows computer in combination with internext explorer cannot open the adobe internet side. When I am using Mozilla firefox I am able to log into www.adobe.com. Therefore I would like to ask if there is any chance to switch from internet explorer to mozilla firefox during login process?
    If you can login on Adobe.com then clearly you are logged in  on Adobe platform.  If you want to login to use these forums then click this link and login in the usual way using Firefox browser:
    <https://forums.adobe.com/welcome>
    The sign in button is on the top right corner next to the search button.
    Is this what you are asking?  If not please clarify again.

  • HP 722C prints blank pages from Word 2010 But can print successfully from Internet Explorer 9

    I installed the patch from HP for my printer.  I can print successfully from IE 9.  However, blank pages are all I get when printing documents from Microsoft word 2010.  My operating system is Windows 7 64-bit. home premium  I do not get any error messages when printing.  Any suggestions are appreciated.

    I still cannot print from Word 2010.  I can print from Adobe reader.  I did uninstall and reinstall Office 2010.  I still cannot print from Word 2010.

  • Can't print from internet

    not able to copy sheet music I purchased from internet site.   This company tried to help put said had to be something I needed to contact HP.  My operating system is  Internet exp. 11.0 Windows 7.0   Can copy from microsoft office outlook.  or email.   

    Hello Ktsavannah,
    Welcome to the HP Forums.
    I see that you are having some printing issues.
    If you are only having issues when printing from the internet, I suggest that you start off by doing a virus scan.  If it comes back clean, then try disabling the Pop UP blocker from the tools menu at the top of the browser window.  IF you are still having issues, I then suggest trying another browser.  If you are using Internet explorer, try using Mozilla Fire Fox instead.
    To check to see if the printer is marked as Offline, go to Devices and Printers and right mouse click on the printer icon. Here you will see if it is offline or not.
    Thanks for your time.
    Cheers,  
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

Maybe you are looking for

  • Document does not appear

    I cannot find my document of pages. It had saved now after a month it has diappeared. Could it have been saved/sent elsewhere?

  • New Domain, New Application, Bad Namespace, HELP!

    Hey guys, I created my own new domain and application. In this application I deployed portal tools(tools and toolSupport), but when I call the web application associated with tools I get an exception: Error while parsing uri /portalTools/application,

  • Short-dump in GR_TREE- DISPLAY( ).

    Hi, i use an new alv-tree (like SALV_DEMO_TREE_SIMPLE). When i take about 100 record i have no problems. But when i have an hierachie with about 1000 Records i get an shortdump. The dump comes from AC_FLUSH_CALL which is called in GR_TREE->DISPLAY( )

  • Blackberry ID Update issues

    I have Blackberry Tour 9630 and I was using Blackberry App World 2.0.0.38. I tried downloading apps on App world and it asked me to upgrade before I can do any downloads. After doing the upgrade to Blackberry World 4.3.0.32. I cannot logon using the

  • Urgent help--reinstallation of Mac OS 10.4...thank you so much!!

    Hey everyone, So I am selling my computer TOMORROW so I booted off the Tiger Install DVD CD and deleted my old computer files using the "7-pass." I think accidentally I did it twice, though. Selecting both icons of the harddrive...not sure if I was o