• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Making XML "go".

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
One of the people in another post said XML needs a parser and a rendering engine. Is the parser and rendering engine something that is part of a browser's source code? Or is it a plug-in to the browser?
Also, where does the Style Sheet come into play with the parser and renderer?
 
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Internet Explorer ( 5.5 and above ) has built-in XML support. So I guess it does have a built in parser.
Stylesheets are used to render XML data. You feed an XML document and a XSL stylesheet to an XSLT engine. The engine produces the output, which is usually a renderable format like XHTML or text etc.
------------------
Ajith Kallambella M.
Sun Certified Programmer for the Java�2 Platform.
 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ajith
What about Netscape?Do they have inbuilt xml suppoerter?
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I feel quite strongly that XML parsing and transformation in the browser is just a gimmick. Browsers are already far too bloated with support for all sorts of formats. Use XML for data transfer, storage and representation, then transform it on the server into whatever format is "native" to the requesting client. The requesting client may be a HTML browser, a WAP phone, a text viewer, or a custom client.
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've really only been able to think of one situation where browser-side transformation makes sense, and that's when there's a set of data that the client may wish to view different ways. Since the browser will (should) cache the XML document when it comes down, displaying a different view of that data would only require a download of a new stylesheet, rather than requiring the entire data set to be downloaded again. In my opinion, the "native" support for XML in IE5 is just a toy, really - to move any usable content to a client, it ultimately needs to wind up in some rich presentation format the client understands, such as HTML or WML. And, as Frank says, this is typically done by styling the XML on the server with an XSLT stylesheet.
- Kevin
------------------
Kevin Williams
Senior System Architect, Equient Corporation
author of: Professional XML Databases
reply
    Bookmark Topic Watch Topic
  • New Topic