A.26 AxAddRootProcessor

     

This allows you to map all XML files with the given root element to be mapped to the specified stylesheet(s):

 AxAddRootProcessor text/xsl /stylesheets/book.xsl book 

Namespaces are fully supported via the following syntax:

 AxAddRootProcessor text/xsl /stylesheets/homepage.xsl \ {http://myserver.com/NS/homepage} homepage 

This syntax was taken from James Clark's "Introduction to Namespaces" article (http://jclark.com/xml/xmlns.htm).



XML Publishing with AxKit
XML Publishing with Axkit
ISBN: 0596002165
EAN: 2147483647
Year: 2003
Pages: 109
Authors: Kip Hampton

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net