Book description
Web developers rely on XML to separate data from presentation and create a consistent templating system for a web site. Although limited XML-to-HTML conversion is possible within some browsers, web developers creating dynamic or complex sites will find server-side XML transformation a necessity. Unfortunately, until recently, there have been few XML tools available for server-side XML transformation or authoring. AxKit, a mod_perl and Apache-based XML content delivery solution, was designed to meet that need with a cost-effective and efficient plugin architecture. AxKit allows the developer to quickly design modules to create faster web sites, and deliver them in a wide variety of media formats. AxKit also takes care of caching so the developer doesn't have to worry about it. AxKit meets the demands of the web developer nicely, but, as with any new toolkit, there is a learning curve. For developers who want to flatten that learning curve and get right to work with AxKit, XML Publishing with AxKit provides detailed information on how to install, configure, and deploy AxKit effectively. The first book solely devoted to AxKit, XML Publishing with AxKit also offers a concise and focused look at how to create XSLT and XPathScript-based pipelines for XML data transfer. This solidly useful new book presents web programmers with the hands-on knowledge they need to get really creative with AxKit. It features a thorough introduction to XSP (extensible Server Pages), which applies the concepts of Server Pages technologies (embedded code, tag libraries, etc) to the XML world, and covers integrating AxKit with other tools such as Template Toolkit, Apache:: Mason, Apache::ASP, and plain CGI. The book also includes invaluable reference sections on configuration directives, XPathScript, and XSP. With XML Publishing with AxKit, web developers will have all the tools they need to deliver complex XML-based systems quickly, the power to develop their own systems for style sheet negotiation, and the flexibility to design completely new style sheet languages. XML Publishing with AxKit gives those new to XML all the background and the courage they need to jump right in and deploy AxKit. And it gives XML-savvy professionals everything they need to hit the ground running.
Table of contents
-
XML Publishing with AxKit
- Preface
- 1. XML as a Publishing Technology
- 2. Installing AxKit
- 3. Your First XML Web Site
-
4. Points of Style
- Adding Transformation Language Modules
- Defining Style Processors
- Dynamically Choosing Style Transformations
-
Style Processor Configuration Cheatsheet
- Rule 1: Style Processors at the Same Lexical Level Are Evaluated in Configuration-File Order
- Rule 2: Conditional Processing Directives Are Evaluated Only Against the Original XML Source
- Rule 3: Style Processors Are Prepended to the Processing Chain as You Descend into the Directory Hierarchy
- Rule 4: Processors in the Named BlocksAre Always Evaluated Last
- 5. Transforming XML Content with XSLT
- 6. Transforming XML Content with XPathScript
- 7. Serving Dynamic XML Content
-
8. Extending AxKit
- AxKit’s Architecture
- Custom Plug-ins
- Custom Providers
- Custom Language Modules
-
Custom ConfigReaders
-
ConfigReader API
- get_config( )
- StyleMap( )
- CacheDir( )
- ContentProviderClass( )
- StyleProviderClass( )
- DependencyChecks( )
- PreferredStyle( )
- PreferredMedia( )
- CacheModule( )
- DebugLevel( )
- LogDeclines( )
- HandleDirs( )
- IgnoreStylePI( )
- AllowOutputCharset( )
- OutputCharset( )
- ErrorStyles( )
- GzipOutput( )
- DoGzip( )
- GetMatchingProcessors( )
- XSPTaglibs( )
- OutputTransformers( )
- Plugins( )
-
ConfigReader API
- Getting More Information
- 9. Integrating AxKit with Other Tools
-
A. AxKit Configuration Directive Reference
- AxCacheDir
- AxNoCache
- AxDebugLevel
- AxTraceIntermediate
- AxDebugTidy
- AxStackTrace
- AxLogDeclines
- AxAddPlugin
- AxGzipOutput
- AxTranslateOutput
- AxOutputCharset
- AxExternalEncoding
- AxAddOutputTransformer
- AxResetOutputTransformers
- AxErrorStylesheet
- AxAddXSPTaglib
- AxIgnoreStylePI
- AxHandleDirs
- AxStyle
- AxMedia
- AxAddStyleMap
- AxResetStyleMap
- AxAddProcessor
- AxAddDocTypeProcessor
- AxAddDTDProcessor
- AxAddRootProcessor
- AxAddURIProcessor
- AxResetProcessors
- <AxMediaType>
- <AxStyleName>
- Index
- Colophon
Product information
- Title: XML Publishing with AxKit
- Author(s):
- Release date: June 2004
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596002169
You might also like
book
Tidy First?
Messy code is a nuisance. "Tidying" code, to make it more readable, requires breaking it up …
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
book
Working Effectively with Legacy Code
This book provides programmers with the ability to cost effectively handlecommon legacy code problems without having …
book
Communication Patterns
Having a great idea or design is not enough to make your software project succeed. If …