This should be simple but I can't make it work

Hi, I hope you can help with this problem.
I have an .xml file as a dataset that is something like this:
<events>
<monthly_events>
<month>June</month>
<event>
<date>June 1</date>
<name>Quilting with Sadie</name>
</event>
<event>
<date>June 24</date>
<name>Fancy Patterns</name>
</event>
</monthly_events>
<monthly_events>
<month>July</month>
<event>
<date>July 4</date>
<name>Stars and Stripes Sewing</name>
</event>
<event>
<date>July 17</date>
<name>Summertime Fancies</name>
</event>
</monthly_events>
</events>
How can I use spry to create datasets and repeat regions to
display something like:
JUNE
June 1 Quilting with Sadie
June 24 Fancy Patterns
JULY
July 4 Stars and Stripes
July 17 Summertime Fancies
Thanks so much for any advice. I could make a simple list
work, but adding the month level has really thrown me.

It may not appear so, but you have a complex data structure.
Check out this page on Nested Data Sets.
http://labs.adobe.com/technologies/spry/samples/data_region/NestedXMLDataSample.html
Thanks,
Don

Similar Messages

  • Is my Refurbished 8120 a Fake, it doesn't looks fake, but provider can't make it work!

    Hi Community,
    Bought a Pearl 8120 for my wife. I thought it was a refurbisehd one.
    Calls and receives OK, accepted new themes, etc. Even navigates the web!
    Thing is that it is always with "gprs" in small letters instead of caps "GPRS".
    The wife subscribed the Vodafone BB mail plan and then trouble begun.
    Now Vodafone claims that it is not a real BB.
    Is there a database where I can check the PIN/IMEI numbers on my device?
    all inside stickers (even the made in Hungary) look genuine and the IMEI /PIN on the stickers match the software.
    Seller said to ask for a new PIN at the provider! is that possible???
    Thank you all.
    Mike
    Solved!
    Go to Solution.

    Mike, Greetings, and welcome to the BlackBerry.com Support Forums.
    The device PIN is assigned to each BlackBerry and cannot be changed or varied. It is hard coded to each device. No getting a new one, unless you get a new device. You seller is silly.
    So, do this: Call your carrier and have them escalate your call to a RIM tech support specialist. Ask them specifically IF your PIN and IMEI have been suspended or banned. That is done to reported lost or stolen devices. If it is, you can't UNsuspend it.
    At that point, you should return your device to the seller and get your money back as an non-working device. Because it isn't.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Can't make JScrollPane work

    Hello!
    I'm just trying to make this have those things that you can scroll with.
    Here is my code, it's retty close to a exemple code from a O'reilly book but I can't make it work.
    (In case it's important DrawingArea extends JPanel)
    import javax.swing.JFrame;
    import javax.swing.JScrollPane;
    import java.awt.Color;
    public class SlidingWindows {
         public static void main(String[] args) {
              JFrame frame = new JFrame( "Sliding windows" );
              DrawingArea pane = new DrawingArea();
              JScrollPane scroll = new JScrollPane(pane);
              frame.getContentPane().add( scroll );
              frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
              frame.setSize( 500, 200 );
             frame.setVisible( true );
    }

    Your code is working but what you are putting inside the scroll pane is resizing so it never needs to scroll (unless you make it really small) try the code below which uses a JTextArea to demonstrate:
    public class SlidingWindows {
         public static void main(String[] args) {
              JFrame frame = new JFrame( "Sliding windows" );
              JPanel panel = new JPanel();
              JTextArea textArea = new JTextArea(100,200);
              panel.add(textArea);
              JScrollPane scroll = new JScrollPane(panel);
              frame.add(scroll);
              frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
              frame.setSize( 500, 200 );
             frame.setVisible( true );
    }

  • How can i make Tomcat work as JMS message Provider?

    i've installed Tomcat on my windows 2000. but how can i make it works as a JMS message provider? pls help!

    Tomcat only implements the Servlet and JSP specifications, not JMS. See JBoss.org or SwiftMQ, or OpenJMS, etc.

  • LabSQL can´t make it work

    HI
    I´ve been trying to use LabSQL, but without any success, I followed the step by
    step installation readme which came with LabSQL 1.1a, I create the DSN and everything
     (I think), but when I try to run the
    examples I only get warnings and errors, and the  coecctionstring is not wired correctly
    I´m using Windows Vista ultimate, and Labview 8.0
    Any Idea?
    Thanks in advance

    thanks for the information, but still can´t make it work,
    here I attached a picture were you can see the the problem in the connected
    wired
    thanks!!!
    Attachments:
    labsql.JPG ‏95 KB

  • Making a join seems simple but I can't get it to work

    Hi All,
    I have 2 tables LUGallery and LUSubGallery, the tables are related by the GalleyID field
    LUGallery
    Gallery ID
    ClientID
    GalleryName
    5
    50
    Australia
    8
    50
    Weddings
    12
    33
    Portraits
    4
    33
    Landscapes
    LUSubGallery
    SubGalleryID
    GalleryID
    GalleryName
    67
    5
    NSW
    68
    5
    QLD
    69
    8
    Reception
    70
    8
    Location
    87
    8
    Ceromony
    97
    4
    Rain Forest
    What I am try to do seems simple but I can't get it to work the way I want it.
    I am trying to write a query to display Galleries from the LUGallery tbl that have a Sub Gallery attached to them (ie. It's GalleryID appears in the LUSubGallery tbl)
    So the query for the above example would list Australia, Weddings & Landscapes
    I have tried to write code both with inner joins and nested queries but just can't get it right,
    Any help would be greatly appreciated.
    Thanks in advance
    Kris

    I just want to
    display the GalleryNames from the LUGallery tbl once
    Then you probably do not want include all the extra columns from the LUSubGallery table.
    It returns all of the records from both tables that Have
    the same GalleryID
    That is the way this type of JOIN works. It will return one record for each matched GalleryID. If you only want to display the unique gallery names you can either:
    1) Use an EXISTS clause.  It will return the distinct records from the main gallery table IF a matching record exists in the LUSubGallery table
    --- Not tested ---
    SELECT  LUGallery.GalleryID,
    LUGallery.GalleryName
    FROM    LUGallery
    WHERE   EXISTS (
            SELECT  *
            FROM LUSubGallery
            WHERE LUGallery.GalleryID = LUSubGallery.GalleryID
    http://www.techonthenet.com/sql/exists.php
    ... OR ....
    2) Use the DISTINCT operator to return only the unique combinations of the selected columns. Note: DISTINCT considers all columns in the SELECT list . So if you only want unique galleries, do not include the LUSubGallery columns in the SELECT list.
    http://www.w3schools.com/SQl/sql_distinct.asp
    Message was edited by: -==cfSearching==-

  • This should be easy! How can I change the background colour of my fields?

    Apologies if this has already been posted but nothing has come up via Google nor the Forum search.
    I'm sure this should be easy but it's really doing my head in!
    I have a number of textboxes, dropdown lists, etc within my form - I have set Custom backgrounds on each which are visible within Design View. However, in Preview PDF all the fields have a default blue colour and only change to my Custom backgrounds when you enter the field.
    Is there a way of removing the default colouring of fields so that it's the same as my Custom backgrounds? My Custom backgrounds are 'linear to bottom' so I don't want to just set border.fill.color to one colour.
    Thanks for any help,

    Hi,
    If you include this Javascript in the docReady event of the root node (default "form1").
    app.runtimeHighlight = false;
    This will turn off the field highlight. It doesn't prevent the user from turning back on the highlight, but it will mean that your form opens with the highlight off.
    Hope that helps,
    Niall
    Assure Dynamics

  • I want to transfer an audiobook and a movie from my MacBook Pro to my iPhone 4S, and can't figure out how.  I went to "Help" and it said after connecting the two devices I should "Click Apps," but I can't find anything labeled "Apps" to click.  Help?!!

    I want to transfer an audiobook and a movie from my MacBook Pro to my iPhone 4S, and can't figure out how.  I went to "Help" and it said after connecting the two devices I should "Click Apps," but I can't find anything labeled "Apps" to click.  Help?!!

    If you have iTunes 11 on your Mac then you can enable the left-hand sidebar via option-command-S, that might make it easier to navigate.
    Connect the phone to your Mac and select it on that left-hand sidebar, and on the right-hand side of the screen there should be a series of tabs which you can use to select what to sync to the phone. If it's an audiobook then it should appear on the Books tab for selecting/syncing, and films will be on the Movies tab. When you've got the audiobook on your phone you should get an Audiobooks option in the Music app (you might need to tap the '...' tab at the bottom of the Music app to see it).

  • My sons iPhone 5c is disabled, it says connect to iTunes, when we do that it says do you trust this computer and then it says you must confirm this on your phone, but I can't because it is disabled

    my sons iPhone 5c is disabled, it says connect to iTunes, when we do that it says do you trust this computer and then it says you must confirm this on your phone, but I can't because it is disabled

    http://support.apple.com/kb/ht1212
    Look at the section titled:
    If you have never synced your device with iTunes

  • My iPad is acting funny after 6.1.3 update the only way I see fixing this issue to downgrade but I can't find anything on downgrading

    My iPad is acting funny after 6.1.3 update the only way I see fixing this issue to downgrade but I can't find anything on downgrading

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
     Cheers, Tom

  • When i burn videos to a dvd-r disc it works on my macbook but not on a windows/pc or my dvd player. How can i make it work on all the above and not just a mac product?

    when i burn videos to a dvd-r disc it works on my macbook but not on a windows/pc or my dvd player. How can i make it work on all the above and not just a mac product?

    Unfortunately, the recording & movie industry does not respect the rights of the people who make them money, and thus you can only use the paid-for content in ways they see fit. Even if I lived in a bunker where no one else could possibly see the movie I paid for, therefor I'm not 'sharing it illegally', I would still not be allowed in a blue moon to copy that movie to DVD for TV viewing. Someone will tell you to get an AppleTV. How about Apple give us one for free? Until this changes, people wanting to use their content in multiple locations will continue to download music & movies via torrents, legally or illegally.

  • Hello, I use MAC AIR OSX 10.6.8 and have Adobe CS2, that I was using 2 years ago on my older computer. I stopped using it because it would close down in the middle of work. Now I would like to reinstall it on the MacAir but I can not get it working. It te

    Hello, I use MAC AIR OSX 10.6.8 and have Adobe CS2, that I was using 2 years ago on my older computer. I stopped using it because it would close down in the middle of work. Now I would like to reinstall it on the MacAir but I can not get it working. It tells Adobe doesnT support my System. But I can not update my old version or activate it. What can I do?

    The mac you want to install photoshop cs2 on is running mac os x 10.6.8 Snow Leopard?
    (photoshop cs2 won't run on intel macs with mac os x newer than snow leopard)
    Did you ever have cs2 installed on this particular computer before?
    If the problem is that you already installed cs2, but it won't activate, that's because adobe took the activation servers offline for some older adobe products such as cs2.
    You'll need to use the non activation version of cs2 from here and the supplied serial number:
    Activation server shut down for Creative Suite 2, Acrobat 7, and Macromedia products

  • I have mac air mid 2011 but I can't make mirror of MAC screen on TV .What to do? Pls help

    I have Mac air mid 2011 But I can't make mirror screen of my Mac to TV. What to do? Pls help

    AirPlay Mirroring requires a second-generation Apple TV or later, OS X 10.8 or better and is supported on the following Mac models: iMac (Mid 2011 or newer), Mac mini (Mid 2011 or newer), MacBook Air (Mid 2011 or newer), and MacBook Pro (Early 2011 or newer). You can see which Mac you have and which operating system you are using by selecting 'About this Mac' from the Apple menu in the top left corner of your Mac and selecting the 'More Info' button.

  • 2 days ago i rented The Avengers, beside it took almost 7h to download, at the end it did not get fully downloaded... 20 last minutes were not there. I know is just 5 dollars, but, how can i make a claim for the amount paid?

    2 days ago i rented The Avengers, beside it took almost 7h to download, at the end it did not get fully downloaded... 20 last minutes were not there. I know is just 5 dollars, but, how can i make a claim for the amount paid?, what if I buy a movie later? i will get the same problem!!! still I do not know how the avengers ends!! please do not tell me haha, focus on the problem here!

    Welcome to the Apple Community.
    Apple's policy on sales of digital content is that all sales are final. If however you wish to appeal to Apple, select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History on your computer.
    Currently, if your purchase happens to be your most recent purchase you will not be redirected to the report form, in this case use the report a problem option from the invoice that was emailed to you.
    I believe your issues are probably a network issue, which unless you resolve are likely to be repeated again.

  • HT5625 I cannot send a text thru iMessage.  I followed the directions over and over again but can't make it work.  Also how can I find out all the apple ids I may have.

    I cannot send a text thru iMessage.  I followed the directions over and over again but can't make it work.  Also how can I find out all the apple ids I may have.

    A wet phone is out of warranty. This is considered user damage. Even if you were able to get it to start now, the chances of it working for long are slim. I suggest going to Apple and see about an OOW replacement. One for the iPhone 4 is only $149USD and it would come with a short warranty. It is a refurbished device and you would not be worried about encountering additional problems.

Maybe you are looking for

  • Weblogic 10.3.0.0 deployment problem

    Hi All, Im trying to deploy a hibernate application i.e app1.war file on Weblogic 10.3.0.0 and it shows following error on console while deploying(Please have a look at the bottom section which contains exception details captured from log file) : Err

  • Payee name on check but posting to Expense account

    Hi all I want to make an outgoing posting to an expense account i.e Expense Dr,  Bank Cr. But while printing the cheque, I want the vendor name to be printed on the check. Wat system functionality can I use in this case apart from the Free Form Payme

  • Problem with accessing apex_collection data

    Hello, I got a problem with a apex_collection. I'm trying to fill this collection within a loop threw a database-cursor. It's part of a process (on load - before header). It looks like following: loop     FETCH curs_1 INTO l_key;     EXIT WHEN curs_1

  • Web Traffic Crawls through CX Module

      Hello,   I recently reverted from 9.2.1.2-50 to 9.2.1.1-48 because 9.2.1.2-50 introduced a bug that was crashing my data plane. After the code rollback traffic was very sluggish through the CX. It appears that the more traffic being sent to it the

  • Tiger to Snow Leopard

    Hi Apple community, We are currently running Tiger on our iMac.  Is it possible to upgrade straight to Snow Leopard skipping Leopard?   Is it safe and stable to upgrade? Regards Keith & Shem