Re: XSL file load

"Seamus" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.layout.xslt
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Apologies..I thought it might be easier if you coul see everything I was 
doing...

The script of importance is:

            //set up the XSL DOC and transformer
            var xslDoc = document.implementation.createDocument("", "", 
null);
            xslDoc.async = false;
//            xslDoc.loadXML(xslStr);
            xslDoc.load(xslSource);

            alert("xslDoc >> \n" + xslDoc.xml);

I can use the .xml element as I have added a get on the node for this 
information.  It never displays anything from the load.  If I load from 
String using the loadXML call, all is OK and it displays the nodes of the 
loadded string.  The syntax  of the XSL file is still included below and the 
path is rel to the running script.

    var xslSource = "script\xslt\alertsSummary-rtam.xslt";


thanks again...




"Martin Honnen" <[email protected]> wrote in message 
news:[email protected]...
>
>
> Seamus wrote:
>
>
>> I am attaching my entire script....
>
> Sorry but that is a lot of script, I am not willing to look through all of 
> that, maybe using Venkman, the Mozilla JavaScript debugger, can help you 
> find the problem yourself.
> Or try to reduce the stuff to show a problem and then post a URL as 
> posting scripts usually only makes it harder (due to inserted line breaks) 
> for anyone reading to test.
>
>
>
> -- 
>
> Martin Honnen
> http://JavaScript.FAQTs.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.