Hi,
I'm really interested in using the dynamic menu and although it works perfectly fine with HTML pages, I want to create a section on my site based on XML data and an XSL stylesheet. I've tried copying the JavaScript straight into the stylesheet but when I visit the XML page, I just "Line 1 Char 1 Syntax Error".
Any ideas?
Regards, Asa
Menu in XSL stylesheet?
What javascript? The call for the menu? I don't know xml, but I do remember having to use something about cdata around javascript for some reason. The only site I know that is xml and uses the menu is http://www.mercuryexposure.org which uses <
So, if any of the Milonic peaple whatches this conversation, please answer.....
Thanks for the reply, Bischoff.
Found Mozilla's explanation: http://www.mozilla.org/projects/xslt/faq.html Sadly no real solution and I don't envy the guys at Milonic trying to find an alternative to something as basic as document.write! I just can't believe Mozilla doesn't allow it, it's ridiculous.
For now, I'll use normal menu hyperlinks for Mozilla with
Cheers, Asa
Found Mozilla's explanation: http://www.mozilla.org/projects/xslt/faq.html Sadly no real solution and I don't envy the guys at Milonic trying to find an alternative to something as basic as document.write! I just can't believe Mozilla doesn't allow it, it's ridiculous.
For now, I'll use normal menu hyperlinks for Mozilla with
but if someone here can edit the javascript to support it, at least two people would be very grateful! Incidentally, I'm using v3 if that's any easier to work with.<xsl:if test="system-property('xsl:vendor')='Transformiix'">
<!-- Mozilla specific markup -->
</xsl:if>
Cheers, Asa
Kerstin
If you're using version 5 could you repost your first response to Asa in the Support Section for that version? I went to the page, but I get nothing but errors when using IE5.5. It shows text such as images/spacer.gif, images/abstand.gif This is not really something I would know about, but I thought if a page were posted someone with more knowledge might be able to help. So, if you could repost your information in Help and Support Version 5, perhaps under XML, XSL and Version 5 as the title or something so they know what's being questioned. Thanks
Asa,
are you using version 3 of the menu? That version is no longer supported, it is very out of date and most of us don't even know the parameters involved with it, so I'm not sure anyone can help with your situation. If you can upgrade it might be better, especially since Version 5 is more in line with all the new developments in browsers and web browsing.
Ruth
If you're using version 5 could you repost your first response to Asa in the Support Section for that version? I went to the page, but I get nothing but errors when using IE5.5. It shows text such as images/spacer.gif, images/abstand.gif This is not really something I would know about, but I thought if a page were posted someone with more knowledge might be able to help. So, if you could repost your information in Help and Support Version 5, perhaps under XML, XSL and Version 5 as the title or something so they know what's being questioned. Thanks
Asa,
are you using version 3 of the menu? That version is no longer supported, it is very out of date and most of us don't even know the parameters involved with it, so I'm not sure anyone can help with your situation. If you can upgrade it might be better, especially since Version 5 is more in line with all the new developments in browsers and web browsing.
Ruth