Hi Ryan,

thanks for your reply. I followed your advice and reordered my data into two 
separate files: 
{
  "items": [
    {
      "id": 228,
      "label": "IDS_BLABLUB_228",
      "fileReferences": [
        "file_4975",
        "file_4976",
        "file_4977",
        "file_4978"
      ],
      "name": "IDS_BLABLUB",
      "count": 4
    },
  ],
  "properties": {
    "count": {
      "valueType": "number"
    },
    "name": {
      "valueType": "text"
    },
    "fileReferences": {
      "valueType": "item"
    }
  }

and the file reference data:
----snip----
    {
      "label": "file_4975",
      "id": 4975,
      "fileName": "D:\\Development\\blabla.java",
      "lineNumber": 39,
      "line": "currentDialogID \u003dIDS_BLABLUB"
    },
    {
      "label": "file_4976",
      "id": 4976,
      "fileName": "D:\\Development\\\blublu.java",
      "lineNumber": 130,
      "line": "case IDS_BLABLUB:"
    },
----snip----

You were right my core question was how to extract the first n elements and 
display them - the order of the references isn't important. But I still 
don't know how to do that... 

Best,
Chris

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/simile-widgets/-/-lGCgiGKUiMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en.

Reply via email to