diff --git a/doc/API.html b/doc/API.html
index 2dd3baa9..bb0307d7 100644
--- a/doc/API.html
+++ b/doc/API.html
@@ -83,12 +83,12 @@ of libxslt/xsltproc.c and the tutorial
xmlSubstituteEntitiesDefault(1); xmlLoadExtDtdDefaultValue = 1; xmlLoadExtDtdDefaultValue = 1; Steps 2,3, and 5 will probably need to be changed depending on you
diff --git a/doc/FAQ.html b/doc/FAQ.html
index 3c0cd636..0746e047 100644
--- a/doc/FAQ.html
+++ b/doc/FAQ.html
@@ -75,21 +75,23 @@ A:link, A:visited, A:active { text-decoration: underline }
|
Of course, bugs reports with a suggested patch for fixing them will diff --git a/doc/contribs.html b/doc/contribs.html index 72f3c69b..fe793950 100644 --- a/doc/contribs.html +++ b/doc/contribs.html @@ -78,34 +78,34 @@ A:link, A:visited, A:active { text-decoration: underline }
I'm still waiting for someone to contribute a simple XSLT processing diff --git a/doc/docbook.html b/doc/docbook.html index fee2f30a..6d5fc083 100644 --- a/doc/docbook.html +++ b/doc/docbook.html @@ -86,39 +86,39 @@ few pointers and informations which may be helpful:
export XMLCATALOG=$HOME/xmlcatalog
should allow to process DocBook documentations without requiring +
should allow to process DocBook documentations without requiring network accesses for the DTd or stylesheets
-xmllint --valid --noout path_to_document
to make sure that your input is valid DocBook. And fixes the errors +
to make sure that your input is valid DocBook. And fixes the errors before processing further. Note that XSLT processing may work correctly with some forms of validity errors left, but in general it can give troubles on output.
-Libxslt is also available from CVS:
The Gnome - CVS base. Check the Gnome CVS Tools - page; the CVS module is libxslt.
The Gnome + CVS base. Check the Gnome CVS Tools + page; the CVS module is libxslt.
+This document describes the work needed to write extensions to the @@ -110,7 +110,7 @@ two ways to extend an XSLT engine:
In both cases the extensions need to be associated to a new namespace, @@ -133,8 +133,8 @@ element.
And extension module is defined by 3 objects:
Currently a libxslt module has to be compiled within the application using @@ -174,10 +174,10 @@ typedef void *(*xsltExtInitFunction)(xsltTransformContextPtr ctxt,
There is a single call to do this registration:
@@ -222,8 +222,8 @@ find one from the other:xsltTransformContextPtr xsltXPathGetTransformContext (xmlXPathParserContextPtr ctxt);-
xmlXPathContextPtr
associated to an
+ xmlXPathContextPtr
associated to an
xsltTransformContext
is stored in the xpathCtxt
field.valuePush(ctxt,
obj)
xmlXPathFreeObject(obj)
Well some of the pieces missing:
diff --git a/doc/help.html b/doc/help.html index 150503ed..e336ee3b 100644 --- a/doc/help.html +++ b/doc/help.html @@ -80,14 +80,14 @@ subscribe to the mailing-list as explained before, check the Get in touch with me before to avoid synchronization problems and check that the suggested fix will fit in nicely :-)
diff --git a/doc/internals.html b/doc/internals.html index a0a97b5d..b84e029b 100644 --- a/doc/internals.html +++ b/doc/internals.html @@ -78,22 +78,22 @@ A:link, A:visited, A:active { text-decoration: underline }
This document describes the processing of libxslt, the XSLT C library developed for the Gnome project.
@@ -107,10 +107,10 @@ stylesheet document and generates an output document: the following operations:For the XSLT processing, entity nodes should not be generated (i.e. they should be replaced by their content). Most nodes also contains the following "navigation" informations:
Elements nodes carries the list of attributes in the properties, an attribute itself holds the navigation pointers and the children list (the @@ -176,21 +176,21 @@ used by the application to hold specific data on this node.
level:A few things should be noted here:
The closure is usually done through the XSLT apply-templates construct recursing by applying the adequate template on the input node children or on the result of an associated XPath selection lookup.
-Note that large parts of the input tree may not be processed by a given stylesheet and that on the opposite some may be processed multiple times. @@ -292,15 +292,15 @@ logic. xsltApplyStylesheet() is the entry point, it allocates an xsltTransformContext containing the following:
Then a new document gets allocated (HTML or XML depending on the type of output), the user parameters and global variables and parameters are @@ -354,13 +354,13 @@ transformation the context is maintained within the XSLT context. Its content follows the requirements from the XPath specification:
For the purpose of XSLT an extra pointer has been added @@ -403,17 +403,17 @@ the stack).
nargs
for proper handling of errors or functions
with variable numbers of parametersobj =
+ - pop the parameters from the stack using
obj =
valuePop(ctxt);
-- do the function specific computation
-- push the result parameter on the stack using
valuePush(ctxt,
+ - do the function specific computation
+ - push the result parameter on the stack using
valuePush(ctxt,
res);
-- free up the input parameters with
+
- free up the input parameters with
xmlXPathFreeObject(obj);
-- return
+ - return
Sometime the work can be done directly by modifying in-situ the top object
on the stack ctxt->value
.
diff --git a/doc/intro.html b/doc/intro.html index abdbcad4..a79a9d6b 100644 --- a/doc/intro.html +++ b/doc/intro.html @@ -81,15 +81,15 @@ the XSLT C library developed for the
Here are some key points about libxslt:
Mostly a bug fix release.
styledoc
: is a libxml2 document tree. It is obtained by
parsing the XML file "test.xsl" containing the stylesheet.style
: this is a precompiled stylesheet ready to be used
by the following transformations (note the plural form, multiple
transformations can resuse the same stylesheet).doc
: this is the document to apply the transformation to.
In this case it is simply generated by parsing it from a file but any
other processing is possible as long as one get a libxml2 Doc. Note that
HTML tree are suitable for XSLT processing in libxslt. This is actually
how this page is generated !result
: this is a document generated by applying the
stylesheet to the document. Note that some of the stylesheet informations
may be related to the serialization of that document and as in this
@@ -217,11 +217,11 @@ string with libxml2. Note how this stylesheet:
bar
style = libxslt.parseStylesheetDoc(styledoc) doc = libxml2.parseDoc("<doc/>") diff --git a/doc/xslt.html b/doc/xslt.html index c58320d8..839d0ab5 100644 --- a/doc/xslt.html +++ b/doc/xslt.html @@ -208,7 +208,7 @@ platform, get in touch with me to upload the package. I will keep them in the page; the CVS module is libxslt.