XUL Talk:Templates with XML
Hello!
Does anybody try datasources with an XML file??? I have tried several times with differents configurations and I get nothing. I have my .xul file and my .xml file in the same folder so the datasource value is "name_of_file.xml"
help please!!!
I have not been able to get this to work, either. But you can just pull your xml file's content into the xul, stick it in an invisible box of some source, and use a local datasource of the form #myXMLTag. This is what I've been doing, since my XML comes from an ajax query... Hope that helps.
Here's a new question --- how does one get the tag of a piece of XML so that one can test it in a where clause? Seems like one should be able to do this using the xpath function node-name, but that doesn't work for me....