Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Anthony Candaele 1197 posts 2049 karma points
    Jun 13, 2013 @ 15:04
    Anthony Candaele
    0

    access first item in DynamicXML object

    Hi,

    Is there a way to get the first item from a DynamicXML object?

    In my code, I check to see if the DynamicXML object contains more then one item:

    count = publication.publicationAuthors.Count(); 

    if it has more then 1 item, I just want to show the first item.

    thanks for your help,

    Anthony

  • Anthony Candaele 1197 posts 2049 karma points
    Jun 13, 2013 @ 15:22
    Anthony Candaele
    100

    found it:

    @publication.publicationAuthors[0].InnerText

Please Sign in or register to post replies

Write your reply to:

Draft