|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
showing XML output in XSL
I've created an xml file for database output. The file is located in a virtual directory /t/ on the webserver. The query in the file works well using http://localhost/nwind/t/categories.xml.
When I attempt to format the output through an xsl file using http://localhost/nwind/t/categories.xml&xsl=categories.xsl, I get 404 error 'page cannot be found'. The .xsl file resides in the same directory as the xml file. Is this not the right location? Do the permissions on the directory have to be readable for webpages to view the output? If I try to produce the same output by referencing the xsl file within the xml template, http://localhost/nwind/t/categoriesxsl.xml the error says: End tag 'HEAD' does not match the start tag 'META'. Error processing resource. But if I right click and save the source of the error page in the standard web folder, the page is viewable. Is this a browser issue? I'm using I.E. V6.0.26 |
|
#2
|
|||
|
|||
|
I'm having the same problem right now. Something in the output is adding a <meta> tag in the <head> area but in a non-xml compliant way (no /> at the end). Because this makes your entire xml output not well-formed any XSL transformation will abort prematurely.
The goal here is to find out what exactly is putting that unwanted <meta> tag in the source code. |
|
#3
|
|||
|
|||
|
Hi,
Well to start off with you have to use ? instead of ampersand to start your query string. Secondly the correct way to specifiy the xsl sheet to use is to specify it with in your XML document itself. Finaly it's a good idea to use a server side XSLT engine instead of relying on the client, since some clients do not have xslt engines installed. ] http://localhost/nwind/t/categories...=categories.xsl
__________________
A lean and mean secure FTP applet with GUI. Just 150 kb in size http://www.radinks.com/sftp |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > showing XML output in XSL |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|