EagleDocker Posted April 1, 2006 Share Posted April 1, 2006 Hello All,I was wondering if it is possible to reverse the order of an XML Data Island?TIA,EagleDocker Link to comment Share on other sites More sharing options...
boen_robot Posted April 1, 2006 Share Posted April 1, 2006 What is that suppose to mean? Link to comment Share on other sites More sharing options...
EagleDocker Posted April 3, 2006 Author Share Posted April 3, 2006 ^ Sorry bout that. I have a XML Data Island loading information from an XML file. The information loaded loads from top to bottom ie the first record in the XML sheet gets loaded first etc. Because i have appended the information in the XML file, i wanted the information at the bottom of the XML file to load first. I can reverse the XML file to get the desired result, but was wondering if there was a simpler way.Hope i explained that better. TIA,EagleDocker Link to comment Share on other sites More sharing options...
boen_robot Posted April 3, 2006 Share Posted April 3, 2006 Not with data islands. With XSLT is simpler though. There's the <xsl:sort> element, specialized for this task. Link to comment Share on other sites More sharing options...
EagleDocker Posted April 3, 2006 Author Share Posted April 3, 2006 Hmmm,Yes i previously linked the XML document to the XSL file and then loaded the XML file in one of the framesets within an HTML file and everything went along swimmingly. Unfortunately the page has been redesigned and the frames have gone. I think it maybe easier for me to add a frame back to this page, but i'd think that i should be able to load the XML file thru a parser displaying it as defined in the XSL. But my attempts at loading and displaying the XML file has not been successful. Is this possible? Link to comment Share on other sites More sharing options...
boen_robot Posted April 3, 2006 Share Posted April 3, 2006 Yes. You must insert the code from this topic in all of your XHTMLs and of course, adjust it properly. That code would display the transformation at the place of the element which has the appropriate ID. Link to comment Share on other sites More sharing options...
EagleDocker Posted April 4, 2006 Author Share Posted April 4, 2006 That worked too easlierly ... i suppose it helps when you know what your doing.Thanks man Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now