i have a big problem: it is when i have a path (chemin) data in xml document such as pictures wich is in the hard disk, i can't reload the view (aperçu) with a xslt page it can't be reloaded?
Yes it can be done with XSLT, though you did not specify how you're trying to accomplish this. The easiest way is to use xsl:element to create an HTML img tag then display images from your hard disk.
The xml file (I called it gallery.xml)
<?xml:stylesheet type="text/xsl" href="gallery.xsl"?>
<description>Description for Image 1.</description>
<description>Description for Image 2.</description>
The xsl file (I called it gallery.xsl)
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xslutput method="html" />
<title>My Image Gallery</title>
I can't seem to get this code to run under Opera 7.11 or Netscape 7.1 in fact I can only view it correctly in IE 6.0
I could be wrong,but I dont think Opera has a built in processor for XML file rendering,It should have worked for NS though.
Opera 7 can parse and display XML documents.
Opera does not support XSL formatting objects or
Netscape 7 supports XML. Not sure about xslt.
Try to get an xslt parser to work with your browsers.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)