blob: ca640ceb8fe420b7e3094ac4d7d1e102832f9350 [file] [log] [blame]
<?xml version="1.0" standalone="no"?>
<!DOCTYPE s1 SYSTEM "sbk:/style/dtd/document.dtd"[
<!ENTITY done-c SYSTEM "sbk:/sources/xalan/c/DONE">
<!ENTITY status-c SYSTEM "sbk:/sources/xalan/c/STATUS">
<!ENTITY bugs-c SYSTEM "sbk:/sources/xalan/c/BUGS">]>
<!--
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 1999 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
*
* 3. The end-user documentation included with the redistribution,
* if any, must include the following acknowledgment:
* "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowledgment may appear in the software itself,
* if and wherever such third-party acknowledgments normally appear.
*
* 4. The names "Xalan" and "Apache Software Foundation" must
* not be used to endorse or promote products derived from this
* software without prior written permission. For written
* permission, please contact apache@apache.org.
*
* 5. Products derived from this software may not be called "Apache",
* nor may "Apache" appear in their name, without prior written
* permission of the Apache Software Foundation.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
* ====================================================================
*
* This software consists of voluntary contributions made by many
* individuals on behalf of the Apache Software Foundation and was
* originally based on software copyright (c) 1999, Lotus
* Development Corporation., http://www.lotus.com. For more
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
-->
<s1 title="Xalan C++ XSL Transformer">
<s2 title="Xalan C++">
<p>Like Xalan-Java, Xalan-C++ implements <resource-ref idref="xsl-draft-used"/>. Version 0.19.0 is our first release,
including a build for Win32. We plan to add a build for Linux in the near future, other builds to follow.</p>
<p>The build includes 8 DLLs and an executable (TestXSLT.exe, a command-line utility). To use this utility
to perform transformations, place these files in a directory with the Xerces dynamic link library, xerces-c_1_0.dll.</p>
</s2>
<s2 title="Command-line utility">
<p>&xslt4c; implements a subset of the same interface provided by &xslt4j;. This version accepts the following switches
and arguments:</p>
<source>
-IN inputXMLURL
-XSL XSLTransformationURL
-OUT outputFileName
-E (Keep--do not expand -- entity refs)
-V (Version info)
-QC (Quiet Pattern Conflicts Warnings)
-Q (Quiet Mode)
-INDENT (Number of spaces to indent each level in output tree --default is 0)
-VALIDATE (Validate the XML and XSL input -- validation is off by default)
-XML (Use XML formatter and add XML header)
-TEXT (Use simple Text formatter)
-HTML (Use HTML formatter)
-PARAM name expression (Set a stylesheet parameter)
</source>
<p>Use -IN to specify the XML source document, -XSL to specify the XSL stylesheet, and -OUT to specify the
output file.</p>
<p>Use -TEXT if you want the output to include only element values (not element tags with element names and
attributes). Use -HTML to write 4.0 transitional HTML (some elements, such as ltxxbr&gt;, are
not well formed.</p>
<p>To set stylesheet parameters from the command line, use -PARAM name expression. If
you want to set the parameter to a string value, enclose the string in single quotes (') to
make it an expression.</p>
</s2>
<s2 title="API">
<p>The API documentation, generated using Doc++ from comments in the header files, is still in very preliminary form. For example,
it lists public classes, class members, and functions, but does not yet identify which of these are exported.
With this in mind, see <jump href="c-apidocs/aindex.html">Xalan C++ API: Table of Contents</jump>.</p>
</s2>
<s2 title="&xslt4c; Features">
<ul>
<li>Implements the <resource-ref idref="xsl-draft-used"/>.</li>
<li>Uses the &xml4c; XML parser></li>
<li>Can output to SAX or DOM</li>
</ul>
</s2>
<s2 title="Version Notes">
&done-c;
&status-c;
&bugs-c;
</s2>
<s2 title="Contact Info and Bug Reports">
<p>Contact information for &xslt4c;: <human-resource-ref idref="dnbertoni"/>,
<human-resource-ref idref="pweir"/>.</p>
</s2>
</s1>