Re: [xsl] Displaying one section of XML file at a time -- posting again

Subject: Re: [xsl] Displaying one section of XML file at a time -- posting again
From: "Jon Gorman" <jonathan.gorman@xxxxxxxxx>
Date: Tue, 28 Mar 2006 11:40:35 -0600
> > You really do need to make sure you have some way of
> > viewing the
> > generated html page.  Either using view generated
> > source via a plugin
>
> You mean something like Sarissa, right? That's what I
> am planning on to do next.

No, actually.  Sarissa is essentially an XSLT processor within
JavaScript if I understand correctly (take this with a grain of salt,
my only exposure to Sarissa is through other people on this list).
I'm talking about a plugin that lets you view the current source (or
the current state of the DOM after xslt transformation and then any
JavaScript manipulations).  For example, the Web Developer plugin for
Firefox you can go to View Source  -> View Generated Source.  I
believe there are plugins of a similar nature for IE.

Viewing generated source is always a little problematic via the
plugins, but it's better than just random guessing.

>
> > or browser setting
>
> Could you please expand on this one? When I send the
> XMl file with stylesheet PI to the browser, and view
> the source, I see the XML file. Is there a way to view
> the transformation by changing the browser settings?

Don't know.  I've vaguely remember hearing someone mention there was a
browser that you could change the view source to be generated, but it
wasn't one of the more popular ones.  You'll have to do research for
the browsers of your choice.

I can't imagine developing for the web and not using Web Developer.
Before I had some similar home-brew tools that had similar
functionality but it's much easier with Web Developer.

Jon Gorman

Current Thread