Subject: RE: [xsl] Developing an image browser in XSL From: "Richard Lander" <rlander@xxxxxxxxxxxxx> Date: Wed, 9 May 2001 09:40:19 -0700 |
Hello, If I understand your request, you may want to check out a photoAlbum app that I built @ http://msxml.com/photoalbum.html. I believe it does most of what you want. Rich -----Original Message----- From: Sher.Khurshid@xxxxxxxxxxxxxxxxxxx [mailto:Sher.Khurshid@xxxxxxxxxxxxxxxxxxx] Sent: Wednesday, May 09, 2001 6:57 AM To: xsl-list-digest@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] Developing an image browser in XSL Hi, I'm thinking of developing an image browser using just XML & XSL (which would be put together to generate HTML). and I was wondering if anyone had any suggestions. By imagebrowser I mean a web interface for selecting an image to put on your web page Here's what I'm thinking: 1) A directory of images 2) XML files (residing in each directory) holding all the information regarding the images (URL, width, height etc) in a particular directory (a seperate XML file for each directory). 3) XML files (residing in each directory) holding all the information regarding the directories (the names of all the sub directories) in a particular directory (a seperate XML file for each directory). 4) An XSL file which would be capable of displaying portions of the XML files and generating next/previous links for navigating through the rest of the information. 5) Some script which would recurse through the directory and apply the XSL file to the XML files and generate static HTML pages which would comprise an "imagebrowser". So for example a directory DIR1 may have sub directories: SUB_1 SUB_2 ... SUB_N and a DIR1_CATEGORIES.xml file. It may also have images: IMAGE_1 IMAGE_2 ... IMAGE_N and a DIR1_IMAGES.xml file I would then need an XSL file which would be capable of displaying portions of the XML files (given an offset and a displaysize parameter). For example given an offset of 4 and a display size of 5, I would want the XSL file to display images 4 through 9 and generate the Next/Previous buttons (by generate I mean in the resulting HTML page). I cannot figure out how to do this kind of logic in XSL (XSL seems limited in this regard since it's not straigtforward to do something like this - perhaps because it wasn't intended for such a purpose). Thoughts ? Suggestions ? Am I approaching this correctly (or should I be doing something completely different) ? Has anyone tackled something like this ? Any suggestions would be greatly appreciated. Thanks :-) -Sher XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Developing an image brows, Chris Bayes | Thread | [xsl] How to sort this xml out, Sri ni |
RE: [xsl] Ordering of Blocks based , Michael Kay | Date | Re: [xsl] substrings and identical , Dan Diebolt |
Month |