PDA

View Full Version : Using DDAccordion with XML/XSLT and FF3.5



ksmckeetx
09-25-2009, 05:55 PM
1) Script Title: Accordion Content script (v1.7)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ddaccordion.htm

3) Describe problem: I am using XSLT to translate an XML file and using ddaccordion to hide and show sections of the page. This works fine in IE 7, but the page never renders in FF 3.5. If I translate the XML to HTML in Visual Studio, and then load it in FF3.5 it works fine. I have a DOCTYPE declaration at the start of the rendered HTML. If I comment out the call to ddaccordion.init in my XSLT, the page renders fine.

Is this a supported capability? I had originally tried animatedcollapse, but couldn't get it to work at all. ddaccordion setup was much simpler and fit my needs just fine, so I would like to use it. I can provide a copy of the XSLT and a simplified XML file if needed.