Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Can't figure out how to covnert this XML to XSL for a gridview

Can't figure out how to covnert this XML to XSL for a gridview

Scheduled Pinned Locked Moved ASP.NET
xmlhelpcomadobetutorial
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Albert83
    wrote on last edited by
    #1

    Hi, I am trying to bind a XML file to a grdiview and get an error: The data source for GridView with id 'gvPhotos' did not have any properties or attributes from which to generate columns. Ensure that your data source has content. I found out that I have to make and xsl format to solve this issue. Here is the original XML file. What's the correct XSL format for it ? Thanks for the time and effort. <gallery> <settings> <imagesFolder>friedmans-admin/Photos/</imagesFolder> <bgImage alpha="100" source="images/bg.jpg"/> <image align="center" cornerRadius="0" scaleMode="fill" transitionEffect="fade" useShadow="true"/> <thumbnail width="60" height="40" cornerRadius="0" alpha="70" outlineColor="0xFFFFFF" outlineColorOnRollOver="0xFFFFFF" outlineColorOnClick="0x8B0000" useShadow="true" usePreview="true"/> <thumbBar scrollSpeed="10" position="bottom"/> <preview alpha="100" width="200" height="100" outlineColor="0xFFFFFF" useShadow="true" cornerRadius="0"/> <caption position="bottom" visibleMode="onRollOver" bgAlpha="30" color="0xFFFFFF" bgColor="0x000000" fontName="Verdana" fontSize="12"/> <slideshow start="false" delay="3" loop="true" stopAutoOnClick="true"/> <preloader alpha="100" usePreloader="true" /> <buttons fullScreenButton="true" navigationButtons="true" slideshowButton="true" /> <sounds onRollOver="sounds/over.mp3" onClick="" /> <picasa user="" albumID="" /> </settings> <items> <item source="1.jpg" thumb="" description="Image 1" link="http://flash-gallery.com" target="_blank"/> </items> </gallery>

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups