Jump to content

XML Data Islands


EagleDocker

Recommended Posts

^ :) 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

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...