0 Replies Latest reply on Mar 1, 2010 2:10 PM by rtrbama

    Help w/ client side XSLT for loading album id and key from smugmug gallery to web page

    rtrbama

      I'm working on a school website that allows a staff member to update portions the web site via an xml file which is then displayed via client-side XSLT.

       

      I'm able to do this successfully with the smugmug video service (ShizVidz).

      However, the code for the photo galleries (ShizSlides) is formatted a bit different and is causing me grief.

       

       

      Here is their boilerplate smugmug photo gallery code to embed in a web page:

       

       

      <object align="middle" height="600" width="600">
      <param name="movie" value="http://www.smugmug.com/ria/ShizamSlides-2007090601.swf">
      <param name="flashvars" value="AlbumID=2504559&AlbumKey=fO3Dg&transparent=true&...">
      <param name="wmode" value="transparent">
      <param name="bgcolor" value="000000">
      <param name="allowNetworking" value="all">
      <param name="allowScriptAccess" value="always">
      <embed src="http://www.smugmug.com/ria/ShizamSlides-2007090601.swf"flashvars="AlbumID=2504559&AlbumKey=fO3Dg&transparent=true&crossFadeSpeed=500&clickUrl=http://www#46;smugmug#46;com"
      wmode="transparent" type="application/x-shockwave-flash" allowScriptAccess="always" allowNetworking="all" height="600" width="600"></embed></object>
      
      ...

      Each album ID and Key are unique so the values below are just an example. I am wanting to parse the Album Id numbers and Album Key letters from the xml file into the xslt page.

      ...

      The relevant tags for the xml file that would be input by the staff member modifying the web page would be:

      <id>2504559</id>
      <key>fO3Dg</key>
      

       

      I've hit brick wall trying to place those numbers and letters into their boilerplate code above (the bold sections).

      I have tried permutations such as value="AlbumID='{id}'&AlbumKey='{key}'......" but I can't get it to work.

      I think it has something to do with so much of the code being in quotes.

      ...

      Any help to plug these values into AlbumID and AlbumKey would be much appreciated.