473,395 Members | 1,442 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Bad Transform or Bad Engine?

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
Oct 4 '05 #1
1 1258
Eric Anderson wrote:
Problem:
XML/XSLT files don't seem to process under any engines I have tried
except libxslt (from Gnome Project). [...] http://afaik.us/files/sitelayout.xml
http://afaik.us/files/menu.xsl


Works perfectly with Saxon-8, but I had to remove the reference to the DTD
because "../../../../framework/sitelayout.dtd" is a physical impossibility
when the URI is http://afaik.us/files/sitelayout.xml (presumably it refers
to something on your system outside the scope of the server document root).

The output is at http://silmaril.ie/menu.xml

///Peter

Oct 4 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Luther Baker | last post by:
My team is using the FO library to generate PDFs. We are also required to use https. The XSL transform page fed into javax.xml.transform.Transformer starts with <?xml version="1.0"?>...
1
by: Barry Anderberg | last post by:
I have an XML document that I am trying to display in my ASP.NET page. I am using an XSL Transform to display repeating XML data in a specific format. It reads the data, and displays it on my...
6
by: Mungo Henning | last post by:
Hi Folks, Beg pardon for this simplistic question (I've searched via Google but got lost with all the terminology). An application I have created dumps out some data in XML format to a file. ...
7
by: Peter | last post by:
I have noticed a difference in the processing of XSL transforms between dotnet and MSXML. Dotnet formats the resulting output differently, and since we use the <pre> tag in the HTML output it makes...
8
by: Luther Miller | last post by:
I am using the XML tranform functionality in .NET to transform data in a DataSet into XMLSS using an XSLT file I have created. There are about 100 columns and only about 120 rows in the data...
3
by: b0yce | last post by:
Hi Group, I think I have found a problem with the <xsl:element> when being transformed by the .NET xmlTransform class. When using XmlSpy for development and debugging, the <xsl:number>...
1
by: the_dog_gabby | last post by:
Hello, I have a stylesheet that contains C# functions to generate XML. When I apply the stylesheet to my document, everything works perfectly except the data I get back is escaped like so: ...
7
by: Bilal | last post by:
Hello all, I came across this problem while working out the bugs in my identity trasnformation stylesheets but sidestepped it for later to see if there is an easier/better solution. This is...
6
by: Pete Verdon | last post by:
Summary: Can I do an XSLT transform, in the client, of a tree of nodes taken from the displayed page DOM in IE? This works in Firefox. Hi, I'm just starting the process of rewriting part of a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.