spacer
Yehuda Shiran December 18, 2001
Great Ways to Use XSLT
Tips: December 2001

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
Mandrake Linux Founder Back, Virtually
Amazon: We're a Technology Company
Sun Expands MySQL With Closed Source
By combining XML data with an XSL Transformations (XSLT) style sheet, you have a powerful way to dynamically transform and present information. Just as cascading style sheets (CSS) enhance static HTML pages, XSLT style sheets make XML data presentation much more attractive to the viewer. Moreover, XSLT goes beyond pretty printing, and offers the ability to transform XML data into completely new data tailored specifically to a particular user, media, or client. You can use XSLT to transform generic data into application-specific. XSLT provides a mechanism for packaging, exchanging, and presenting XML data. Here are typical usages of XSLT:

  • Transform XML schema to another schema. A food retailer may represent an order based on one schema while the manufacturer may represent it with another. With XSLT, a customer order taken by the retailer can be transformed into an order that matches the manufacturer's requirements.
  • Transform XML documents into HTML. New Internet devices may not understand XML, but almost always will support HTML. XSLT transformations transform XML to HTML for devices such as handheld PCs, mobile phones, and TV set-top boxes.
  • Transform XML documents into PDF. Printers do not understand HTML, but almost always accept the Package Definition Format (PDF).
  • Filter information. Suppose you have an XML-based catalog for a certain food manufacturer. You can use one style sheet to present one set of information to retail customers, while using another XSLT file to present information to wholesale customers.

People who read this tip also read these tips:

Look for similar tips by subject:

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

webref The latest from WebReference.com Browse >
Administering RBAC in PHP 5 CMS Framework · xref: Automatic Cross Referencing Script · Book Review: Content Rich
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
MS Access and MySQL · Cisco AutoQoS: VoIP QoS for Mere Mortals · While VoIP Adoption Explodes in Enterprise, Carrier Spending Lags