E
Eric Anderson
Problem:
XML/XSLT files don't seem to process under any engines I have tried
except libxslt (from Gnome Project).
Background:
* The XML file describes the site structure of a website.
* This structure is presented on the site in a couple of ways.
* One presentation is through a Javascript menu from Dynarch
(http://www.dynarch.com/products/dhtml-menu/). The Dynarch menu reads a
bunch of <ul> and <li> tags to build the menu.
* In the transform if menuitem[@menu='true'] or menu[@menu='true'] then
it is included in the javascript menu.
Why I need this to work:
* Works fine under LibXSLT
* LibXSLT with Perl extension difficult to install under Windows
* Using XML::XSLT::Wrapper so can choose engine.
* XML::XSLT and XML::Sablotron is easier to install under Windows but
neither produces the results I want.
* I assume since only one engine is giving me the correct result it is a
problem with my transformation but I am unsure how to determine the
problem. The results from the transformation in the engines that don't
work is an empty string.
To avoid wrapping the XML and XSLT files in an newsgroup post I have
simply placed links below to the files:
http://afaik.us/files/sitelayout.xml
http://afaik.us/files/menu.xsl
Any help or pointers would be greatly appreciated.
Eric
XML/XSLT files don't seem to process under any engines I have tried
except libxslt (from Gnome Project).
Background:
* The XML file describes the site structure of a website.
* This structure is presented on the site in a couple of ways.
* One presentation is through a Javascript menu from Dynarch
(http://www.dynarch.com/products/dhtml-menu/). The Dynarch menu reads a
bunch of <ul> and <li> tags to build the menu.
* In the transform if menuitem[@menu='true'] or menu[@menu='true'] then
it is included in the javascript menu.
Why I need this to work:
* Works fine under LibXSLT
* LibXSLT with Perl extension difficult to install under Windows
* Using XML::XSLT::Wrapper so can choose engine.
* XML::XSLT and XML::Sablotron is easier to install under Windows but
neither produces the results I want.
* I assume since only one engine is giving me the correct result it is a
problem with my transformation but I am unsure how to determine the
problem. The results from the transformation in the engines that don't
work is an empty string.
To avoid wrapping the XML and XSLT files in an newsgroup post I have
simply placed links below to the files:
http://afaik.us/files/sitelayout.xml
http://afaik.us/files/menu.xsl
Any help or pointers would be greatly appreciated.
Eric