Hi Jochen,

I think that you need to include your "tags" values in an array, using
syntax like this:
...
"pages" : "218-255",
"tags" : ["Averroism", "Thomas", "Ockham"],
"language" : "ger."
},

You can then probably eliminate the "ex:if-exists" tag, assuming that
all records have at least one tag value and you are not doing special
formatting in the rendering of the records.

HTH,
-Mark


On Sep 19, 2:52 am, Jochen Baumbach <[email protected]>
wrote:
> Hello,
>
> I'm trying to show different 'Categories' on a webpage. To do this I'm
> using a .jason snippet
>
>  {
>
>           "pub-type" : "Article",
>           "type" : "Publication",
>           "identifier" : "3",
>           "author" : "Bessner, Wolfgang",
>           "label" : "Aspekte von Gemeinsamkeit in den Lehren Ockhams
> und des hlg. Thomas gegenüber dem Averroismus",
>           "journal-titles" : "Prima philosophia",
>           "number" : "1",
>           "year" : "1988",
>           "pages" : "218-255",
>           "tags" : "Averroism",
>           "tags" : "Thomas",
>           "tags" : "Ockham",
>           "language" : "ger."
>           },
>
> The tags are my Categories which I'm trying to display.
>
> My Problem is that I don't know to put the function to display all
> Categories.
>
> By this:
>
> <div ex:if-exists=".tags" class="tags">
>   Categories: <span ex:content=".tags"></span>
> </div>
>
> only the last tag is displayed.
>
> Thank you to anybody who helps.

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
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