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

Similar Messages

  • 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.

  • 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 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

  • Reference Library for Converting Between LabVIEW and XML Data (GXML)

    Please provide feedback, comments and questions on the Reference Library for Converting Between LabVIEW and XML Data (GXML) in this thread.
    The latest version of the NI GXML Library is availble in VIPM on the NI LabVIEW  Tools Network repository.

    Francesco, Thank you for the feedback.  With this component it was my intention to make a more "terse" version of the LabVIEW Flatten to XML VI that was also supported on RT and that gave the user more flexbility regarding the structure of the parsing type definition. I think you are right that the XML parser is not compliant to section 2.11 of the XML spec.  The parser does specifically looking for a #D#A and this appears to be an oversight on my part.  Please confirm for me, the specifcation is saying that the XML parser should be able to recognize three possibilities as an "end of line" character: #D#A, #D, or #A.  Am I reading this right?There are more efficient (and in some cases much more efficient) ways of sharing data between LabVIEW and LabVIEW: some examples are flattened binary strings and the datalog binary format.  XML is slower than these optons but the upside is that it is human readable.  Furthermore XML is inherently hierarchical which is convenient for complex data structures like clusters of arrays of clusters, etc.  If you don't care about human readability then you are correct XML doesn't make as much sense.I will return to the GXML source code and try to fix this in the near future but I would hope that instead of creating yet another custom VI from scratch that you could reuse what I have provided for you.  I included enough documentation in the source code so that users could make some modificiations themselves. The target application for this reference library was LabVIEW to LabVIEW communication.  As such I documented the schema on the dev zone document from a LabVIEW perspective.  It includes all the supported datatypes and all the supported data structures (cluters, arrays, multidimensional arrays, clusters of multidimensional arrays, etc.)  I do see some value in making a more conventional XML spec but the time investment required didn't really line up with my intended use case. Were there any other downsides to GXML that I have missed?  Best Regards, Jeff TippsSystems Engineer - Sound and VibrationMessage Edited by Jeff T. on 04-21-2010 10:09 AM

  • 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

  • I am using garageband.  May upgrade.I am looking for more sounds....

    Hi,
    I am looking for more guitar sounds and software sounds (violin). Does Logic Express provide this? Is there a list of what it provides (I mean different guitar sounds and software sounds for a MIDI keyboard)
    Thanks!

    Just add more sounds to GB.
    "Upgrade" to Logic if you want more knobs to twist, not because you'd like a few more samples.

  • 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

  • I am looking for a way to enter multiple dates into a field without the form becoming too long.

    I am looking for a way to enter multiple dates into a field without the form becoming too long.
    This will be used by an old school bookeeper who needs the form to fit on one page.
    Any ideas?

    Hi,
    If you don't need the field to provide a date picker, verify it's a date, or don't need to sort the dates in the table, you can just use a text area field, and have your form filler enter the dates comma separated.  Otherwise you'd have to add multiple fields.  However, you can lessen the space each field takes up veritically, by using the "Labels Left" option (in the toolbar).
    Thanks,
    Todd

  • I teach neuroanatomy and am looking for an app that would allow me to use a stylus on the iPad to label a wordforMac or powerpoint document.  Any suggestions?

    Help needed:  I teach neuroanatomy and am looking for an app that would allow me to use a stylus on the iPad screen to label diagrams in wordforMac or powerpoint format. Any suggestions?

    I don't believe it will open a Word document, but Writepad allows for handwritten conversion of notes to text and then to email. Might help you some of the way...

  • Formatting tags in xml data set used for spry region

    I am trying to put <p>,,,</p> tags in my xml data set but they cause the field to not load. For example I would like to create an xml file as follows:
    <blog>
          <blogentry>
              <blogdate>Jan 2009</blogdate>
              <blogtitle>January Blog</blogtitle>
              <blogtext><p> this is a paragraph</p>
    <p>and so is this</p>
              </blogtext>
         </blogentry>
    </blog>
    When I do this I don't get anything in the spry region.  If I remove the <p>,</p> tabs it works.
    Is there anyway to do this (not just with <p> but with any tags ... ie. tables, etc.).
    Thanks/Hal

    I have an online example:
    http://www.pearlmanpr.com/perspective_test.html
    The spBlog.xml file contains test junk.  If I put the <[[CDATA....]]> inside the BlogEntry/BlogText tag it doesn't work at all.
    http://www.pearlmanpr.com/perspective_test_2.html
    If I use it without the <[[CDATA..]] it doesnt work either.
    http://www.pearlmanpr.com/perspective_test_3.html
    If I use it without any <> within the tag it sort of works (still needs to be aligned).

  • 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.

  • Ubber Newbie Looking for Basic Samples

    Hello- I've spent the last 3 hours or so trying to create a very basic calculator in Flex (aka: add a couple input cells). Spent time looking through videos, reading documentation, etc. Much of it assumes programming background or web development experience of which I have little.
    So, wanted to find some very basic application samples I could take apart and learn from. I found some, but they are pretty advanced and most depend on communication to/from the internet (tons of facebook and photo apps).
    I'm just looking for a simple calculator/mortgage calculator application I can take apart and learn from.
    Anyone know where I can find examples for super basic users?
    Thanks!
    - Mr. Bill

    Here is an extremely basic example of one way it can be done. You of course would need more operators, conditional code to handle those operators, and several other functions and formulas - especially for mortgages - but hopefully this will get you started on the basic method.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" height="208" width="444">
       <mx:Script>
         <![CDATA[
         private function BasicCalc():void
         var CalculatedValue:Number=Number(TextInput1.text) + Number(TextInput2.text);
         ResultText.text=String(CalculatedValue);    
         ]]>
         </mx:Script>
        <mx:TextInput id="TextInput1" x="24" y="41" width="50" textAlign="right" text="1"/>
        <mx:TextInput id="TextInput2"  x="24" y="71" width="50" textAlign="right" text="2"/>
        <mx:Text id="ResultText" x="44" y="101" text="0" width="30" textAlign="right"/>
        <mx:Button id="CalcButton" x="82" y="41" label="Calc" width="57" height="52"  click="BasicCalc()"/>
    </mx:Application>

  • Unable to load Facebook on MBP in any browser - looking for more information

    I have searched the Internet far and wide trying to figure out what is wrong, but every suggestion I have tried has failed.  So here is my question:
    Last night, I turned on my MBP and tried to log onto Facebook.  I use Google Chrome as my default browser.  Chrome was unable to connect to www.facebook.com.  I tried in Safari also with no luck.  Facebook seems to be the only web site I cannot connect to.  Over the same wifi connection, I was able to connect to Facebook from my home PC, my iPad, and my iPhone (the actual web site and thru the app).
    This morning, I brought my MBP to work to try again.  Same problem.  I cannot access Facebook from my MBP, but I can from my work PC and my other iOS devices.  I even tried turning Personal Hotspot on my iPad and connected my MBP to that.  Still no luck.
    Based on everything I've read online, I've done many things to try to resolve this.  I've cleared my cache and cookies, I've rebooted my MBP several times, I've flushed my DNS.  I've even tried using Open DNS.  I even tried some of the more ridiculous sounding ideas, like changing the date on my MBP.  I am currently running Sophos in hopes that maybe the reason this is happening is because of some malware or trojan or something.  The only thing I HAVEN'T done yet is completely reinstalled Mountain Lion.  Honestly, I would rather avoid having to try this approach, as it seems that is a slightly extreme approach to fixing what should be a relatively straightforward problem to diagnose.
    I've been racking my brain, trying to think of any updates I could have done in the last day or two that might have caused this very specific problem.  According to System Information, the last set of updates I probably made right before this problem manifested were for Microsoft Office.  I'm showing "Office 2011 14.2.5 Update", "Microsoft Error Reporting for Mac", and the very cryptic sounding "Plugin" as all having been installed yesterday.  Based on the times each was installed, "Plugin" was not installed with the Office updates, so I'm wondering if maybe that is the culprit.  Unfortunately, I have no more information than that.
    I guess what I'm looking for are ideas on how I can better diagnose what is going on.  I've tried the solutions people have posted online to no avail. If I knew what was happening behind the scenes, that might help me figure out what I really need to do to get this working again, before I'm forced to resort to a reinstall of Mountain Lion that may or may not even resolve this issue.  If anyone has better ideas on what could be wrong or ways in which I can get more information to better diagnose this problem, please post them here.  Thank you!

    I didn't think reinstalling was gonna do me any good except for getting rid of every single thing I have ever installed since getting this MBP.  I'm thinking it has to be something that is on my computer causing this, especially since it only affects my ability to get to this one site and I only started seeing this problem yesterday.
    So, I went ahead and disabled all my Chrome extensions and I don't have any Safari extensions at all.  That didn't fix my issue.
    I've been trying to run Sophos on here, thinking that maybe I've got a Trojan or some kind of malware, but it never seems to finish a full scan of my hard drive.  That "Plugin" that I mentioned above has me very suspicious, except that whatever that is, it's been on my computer since basically when I first got it.  Maybe it's malicious, or maybe it's just a poorly named piece of software.  In any case, it got updated last night around 11pm, about the same time I noticed my problem.  After trying everything I have, it's hard for me to overlook that as coincidence.
    But, where do I go to gain more information about what that could be?  I should mention that this MBP is basically my first Apple computer.  I've been a PC guy (still am mostly) forever, but I finally dove in and got a Mac to start iOS development.  So I'm sure there are ways to get more information than I am currently aware of.
    Also, apologies if I posted this in the wrong forum.

Maybe you are looking for

  • Error while saving config in MSY

    Hi, I am working on taking MSA 5.0 SP7 go-live. I am working in MDW. I posted a SDN post long back regarding the custom partner functions in MSA and got it resolved (followed the note 521871). I am trying to do the same in the PROD system and i am fa

  • SRM 4.0 (oracle 9.2) and ECC 6.0 (oracle 10.2) compatiblity

    Dear Experts, have a question reqarding compatibility of SRM 4.0 (SRM SERVER 500) on Oracle 9.2 with ECC 6.0 (Oracle 10.x). Currently we are on SRM 4.0 (Oracle 9.2) and R/3 4.6c (oracle 9.2) and we wanted to know if SRM 4.0 will work with ECC 6.0 on

  • How to Remove Unwanted HTML Text Appearing in Compiled Help Topics

    I am working on a RoboHelp HTML project in version 7.03.001. Recently, when checking files into source control, the program we use informed me that two of my topics (htm files) and the index file (.hhk) were "conflicted." When I examine the compiled

  • Help? Black Screen? Panicking!

    I was out for the day and had no internet connection on my iphone 4; but i was sending messages to a friend via app and they weren't connecting because obviously no internet connection. My phone was working perfectly fine until I got home; where wifi

  • Vlc problems since recent updates [solved]

    hello.  out of nowhere VLC started acting up.  it loads with a terrible messed up skin and i cannot access any options or preferences from it.  at the command line I get this: VLC media player 0.8.6b Janus [00000284] main dialogs provider error: no d