How to display the title from the category.config file in the album.config file

  •  01-28-2010, 1:50 PM

    How to display the title from the category.config file in the album.config file

    I am trying to make a dropdown list or a gridview of the titles of my categories so that a client can click on the title to view only those pictures.
     
    What I have tried to do is create an xmldatasource that is linked to the album.config file  my only problem is the album.config file only displays the category id and not the title.  The title of the category is in the Category Folder in the category.config file.
     
    Is there anyway to get the album.config file to look like this:
     

    <album id="null" name="Residential Main" nextcategoryid="6" lastPhotoTime="2010-01-28 10:40:18">

    <category id="2" albumid="null" title="Residential" description="" properties="" />

    <category id="3" albumid="null" title="Commercial" description="" properties="" />

    <category id="4" albumid="null" title="Fairbairn" description="" properties="" />

    <category id="5" albumid="null" title="TEst" description="" properties="" />

    </album>

     
     
     
    as opposed to it looking like this:

    <album id="null" name="Residential Main" nextcategoryid="6" lastPhotoTime="2010-01-28 10:40:18">

    <category id="2"  />

    <category id="3"  />

    <category id="4"  />

    <category id="5"  />

    </album>
     
    Your assistance is greatly appreciated.
View Complete Thread