Print

Print


Slight misunderstanding. I am presenting the XML document to the browser.
The client-side script in the stylesheet is then processing, extracting and
displaying the required data. View Source displays the original document.
However, and this is really beside the point, is an XSL or other stylesheet
"pure" XML? More importantly, in my case I do not want to present the
entire XML document to the browser. I am presenting procedure and systems
documentation to both our internal IT department and our customers. Most
documents include audience-specific (i.e. internal IT department specific)
sections - a server-side script totally removes these sections from the XML
document before presenting it to the external audience.

Julian Burman
Technical Author
EMEA IT Services
Platinum Technology





Fredrik Lindgren <[log in to unmask]> on 03/12/98 18:35:15

Please respond to General discussion of Extensible Markup Language
      <[log in to unmask]>

To:   [log in to unmask]
cc:    (bcc: Julian Burman/Pti)
Subject:  Re: Cool XML Websites




IMO It does absolutely not defeat the purpose with XML. (my purpose
using it, that is)

The beauty with XML, as I see it, is the possibility to give the client
(it's not always a browser) the source document with the data and
structure intact. If you include a style sheet the client will be able
to present it visually if that is the intended use. (Search engines
probably shouldn't care about the style sheet)

If you convert to the presentation style before sending it, you could as
well use any storage format your script can process. I see server side
presentation processing mainly as a migration path towards handing the
source data to the client. That way you can start converting your source
data to XML. You can serve XML and html from the same source at the same
time, using separate URLs or http content negotiation. (Please correct
me if I'm wrong. I haven't checked that)

Fredrik Lindgren
Information systems consultant
Upright Engineering

Julian Burman wrote:
>
> This would defeat the purpose of XML. XML defines a document's data and
> structure, not its style and appearance. A script, whether in Perl,
> JavaScript, or whatever, extraxts data from the XML database, and
presents
> it to the browser in a style defined by a style sheet, for example XSL.
>
> Julian Burman
> Technical Author
> Platinum Technology
>
> "Hunting, Sam" <[log in to unmask]> on 03/12/98 16:28:22
>
> Please respond to General discussion of Extensible Markup Language
>       <[log in to unmask]>
>
> To:   [log in to unmask]
> cc:    (bcc: Julian Burman/Pti)
> Subject:  Re: Cool XML Websites
>
> Unfortunately, both Shakespeare and the Annotated Spec, great though they
> both are, are really HTML generated from XML.
>
> How about a "pure" (dread word) XML site where XML would be visible where
> View Source to be turned on?
>
> > ----------
> > From:         Liora Alschuler[SMTP:[log in to unmask]]
> > Sent:         Thursday, December 03, 1998 10:34 AM
> > To:   [log in to unmask]
> > Subject:      Re: Cool XML Websites
> >
> > And don't neglect www.XML.com 's annotated XML spec by Tim Bray. Also,
> his
> > explanation of how this was created.
> >
> > Liora
> >
> > At 09:35 AM 12/3/98 -0500, Timothy W. Croy wrote:
> > >Joe,
> > >
> > >You might also try http://www.sgml.saic.com/aat.
> > >
> > >It has a variety of XML demos.
> > >
> > >Tim Croy
> > >----- Original Message -----
> > >From: Joe Carmel <[log in to unmask]>
> > >To: <[log in to unmask]>
> > >Sent: Thursday, December 03, 1998 6:27 AM
> > >Subject: Cool XML Websites
> > >
> > >
> > >>Does anyone know of any cool XML websites to show off IE 5? I really
> > >>like the Shakespeare site at
> > >>http://www.guy-murphy.easynet.co.uk/shakespeare/
> > >>
> > >>Know any others? Thanks,
> > >>
> > >>Joe Carmel
> > >>
> > >
> >