Re: XSLT and DTD
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <[email protected]> |
Here is the key part of the js where the xml and xslt files ar loaded
using xmlhttprequest into xmlhttprequset and xmlhttprequest
respectively.
{
href=document.location.href;
xslprocessor.importStylesheet(xslhttprequest.responseXML);
xslprocessor.setParameter(null,"uri",href);
xhtml=xslprocessor.transformToFragment(xmlhttprequest.responseXML,document);
while(document.hasChildNodes())document.removeChild(document.lastChild);
document.appendChild(xhtml.firstChild);document.close
}
On Apr 9, 8:21 am, Martin Honnen <[email protected]> wrote:
> [email protected] wrote:
> > 2) JS on load of stub page gets the URL and uses the XSLT JS file to
> > create the desired page
>
> Do you have an uncompressed version of the JS file? Don't expect anyone
> to try to pretty print your code to be able to understand it.
>
> --
>
> Martin Honnen
> http://JavaScript.FAQTs.com/