home
NEWS       BLOGS       FORUMS       NEWSLETTERS       RESEARCH       EVENTS       DIGITAL LIBRARY       CAREERS  
Network Computing Network Computing Powered by InformationWeek Business Technology Network

IMMERSE YOURSELF:

SOA

  |

Data Center

  |

802.11n

  |

Data Privacy

  |
APO  |

Virtualization

  |

NAC

  |

Security

  |

Network Mgmt

  |

Enterprise Apps

  |

Storage & Servers



Technology Business Applications
B U Y E R ' S   G U I D E  
XSLT Editors

  September 15, 2003
  By Lori MacVittie


TOC Issue TOC
Printer Print full article
Printer Print this page
Printer Download as PDF
E-Mail E-Mail this URL
Discuss Discuss this article
flame author Flame the author
 
  In this article
arrow
Introduction
arrow
Must Haves | Bonus Features
arrow
Interactive Buyer's Guide
arrow
XSLT Editors
arrow
Chart
arrow
Customize Chart
arrow
Product Directory
arrow
Search

XML is likely being used within your organization as a means of transferring data between internal applications or as a mechanism for exchanging data with your business partners. Although XML is by definition flexible, that trait can cause some problems when data is passed around among applications.

For instance, you may have massaged an XML document so it would meet a particular application's data needs. If so, you're familiar with XSL (Extensible Stylesheet Language) and XSLT (XSL Transformation). Even die-hard Web gurus who prefer editing tools such as vi and notepad can appreciate the features and functionality of an XSLT editor--especially when debugging transformations or trying to use an external XSLT engine.

There is a multitude of XSLT editors on the market, so make sure your choice provides all the essentials.

External XSLT Engine Support

The most commonly used XSLT engines are MSXML3, Saxon, XT and Xalan. The output from these XSLT engines may vary from that of others, and each product has its own quirks. Because of these slight but important processing differences, it's imperative that an organization use a single XSLT engine throughout its project-development life cycle. This ensures that transformations perform identically in development and in production. It also provides enterprisewide consistency and encourages XSLT code reuse. Therefore, the XSLT editor you choose must include support for external engines so you can specify the engine on which your organization has standardized.


In addition, as XSLT becomes more pervasive--particularly in the Web services arena--the speed at which an engine can perform transformations is critical. Hardware-based XSLT engines, such as DataPower's XA35, are crucial to the success of your XML-based projects. But to take advantage of such products, an editor must be able to use an alternative external XSLT engine.

Full Debugger

An XSL transformation may include data manipulation, such as mathematical calculations, iterations over sequences of elements and even the restructuring of data elements within the original XML document. These processes are no different than those used with C or Java code, so it's imperative that your XSLT editor include a full debugger. When things go wrong, you'll want to be able to walk through the transformation. Though "print" statements littered throughout your code is one method of debugging, it's not efficient. A full debugger with step capabilities, break points and watch points makes the debugging process immeasurably easier.

A large portion of XSLT consists of finding specific elements within an XML document, then performing some sort of manipulation on the element or subelements. To search efficiently through an XML document, which can be large, many editors use XPath.

XPath queries can be complicated and may involve the use of specific functions, such as local-name() and position(). Although XSL provides some mechanisms for manipulating elements, it is rare to find XSLT without XPath, which provides the basic syntactical constructs necessary to select and address nested elements.

A good XSLT editor should support XPath queries and help you evaluate them. XPath analysis can speed up the construction of XSLT by letting you test XPath queries to see the resulting node. Such analysis removes the need to run the transformation in order to determine whether your XPath query is correct.

Tag Handling

No development environment would be complete without color syntax highlighting. Even the most rudimentary editor should provide customizable highlighting and support not only XSLT but XSL, XML and HTML.

XSLT editors' tag handling capabilities have grown considerably and are now almost on a par with a professional C/C++/Java environment. Features such as drop-down lists make writing XSLT a breeze. The "automatic but optional feature" lists attributes with mandatory values and can reduce mistakes and save you time.

Miscellaneous Goodies

Version-control integration really should be a requirement. Project-based management of files--keeping your XSL, XSLT and other related files together--is another. Finally, a hierarchical, tree-based view of your XML is a great option, especially if provided internally rather than through an external browser.

Lori MacVittie is a Network Computing technology editor working in our Green Bay, Wis., labs. Write to her at lmacvittie@nwc.com.

Post a comment or question on this story.


start top Introduction Must Haves | Bonus Features 





Ready to take that job and shove it?

Function:

Keyword(s):

State:
SPONSOR
RECENT JOB POSTINGS
CAREER NEWS
Go beyond Google and get vertical. These specialized search sites will help you find the business information you need -- fast.

Ari Balogh was named to the post of chief technology officer as the companys for a "realignment" of employees.










InformationWeek U.S. IT Salary Survey 2008
Salaries for business technology professionals are falling. Here's what you need to know in order to make good hiring decisions and personal career choices. Download Today
 
ROLLING RIGHT ALONG
Follow key Network Computing Reviews from conception to completion. This Week: Holistic APM.



Network Computing Reports Emerging Enterprise Podcast Series: Secrets to Success








TechSearch


Microsite of the Week


Powerful Information at Your Fingertips



InformationWeek Business Technology Network
InformationWeekInformationWeek 500InformationWeek 500 ConferenceInformationWeek AnalyticsInformationWeek CIO
InformationWeek EventsInformationWeek ReportsInformationWeek MagazinebMightyByte and SwitchDark Reading
Digital LibraryIntelligent EnterpriseInternet EvolutionNetwork ComputingNo JitterPlug Into The Cloud
space
Techweb Events Network
InteropVoiceConWeb 2.0 ExpoWeb 2.0 SummitEnterprise 2.0 ConferenceMobile Business ExpoSoftware ConferenceCSI - Computer Security Institute
Black HatGTECEnergy CampMashup CampStartup Camp
space
Light Reading Communications Network
Light ReadingLight Reading EuropeUnstrungLight Reading's Cable Digital NewsConstantinopleInternet EvolutionPyramid Research
Heavy ReadingLight Reading Live!Light Reading InsiderEthernet ExpoOptical ExpoTeleco TVTower Technology Summit
space
Financial Technology Network
Advanced TradingBank Systems & TechnologyInsurance & TechnologyWall Street & TechnologyAccelerating Wall StreetBank Systems & Technology Executive SummitBuyside Trading SummitInsurance & Technology Executive Summit
space
Microsoft Technology Network
MSDN MagazineTechNetThe Architecture Journal
space


App Infrastructure   |   Messaging & Collaboration   |   Network & Systems Mgmt   |   Network Infrastructure   |   Security  |   Storage & Servers   |   Wireless   |   Enterprise Apps
About Us  |  Contact Us  |  Site Map  |  Technology Marketing Solutions  |  Advertising Contacts  |   Briefing Centers
Copyright © 2009  United Business Media LLC  |  Privacy Statement  |  Terms of Service  |  Your California Privacy Rights