diff --git a/ChangeLog b/ChangeLog index 49f36ee1..1713fd68 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Sun Nov 30 23:25:22 HKT 2003 William Brack + + * doc/Makefile.am: small further enhancement to makefile + * doc/APIchunk[127].html, doc/libxslt-api.xml, doc/libxslt-refs.xml, + doc/html/libxslt-transform.html: updated to reflect last change + to transform.c + Sun Nov 30 22:44:07 HKT 2003 William Brack * doc/newapi.xsl, doc/api.xsl, doc/apibuild.py, doc/site.xsl, diff --git a/doc/APIchunk1.html b/doc/APIchunk1.html index 8ca9ce52..98e4613a 100644 --- a/doc/APIchunk1.html +++ b/doc/APIchunk1.html @@ -164,7 +164,8 @@ A:link, A:visited, A:active { text-decoration: underline } xsltCopyNamespaceList
adding
xsltParseStylesheetProcess
address
xsltSetDebuggerCallbacks
-
after
xsltGetProfileInformation
+
after
xsltApplyOneTemplate
+xsltGetProfileInformation
aliases
_xsltStylesheet
xsltCopyNamespace
xsltCopyNamespaceList
@@ -259,19 +260,19 @@ A:link, A:visited, A:active { text-decoration: underline } xsltSystemPropertyFunction
xsltUnparsedEntityURIFunction
array
_xsltStylesheet
+xsltApplyStylesheetUser
xsltComputeSortResult
xsltDefaultSortFunction
xsltDoSortFunction
xsltEvalUserParams
+xsltRunStylesheet
+xsltRunStylesheetUser
xsltVariableLookup
arry
xsltApplyStylesheet
-xsltApplyStylesheetUser
xsltDefaultSortFunction
xsltDoSortFunction
xsltProfileStylesheet
xsltQuoteUserParams
-xsltRunStylesheet
-xsltRunStylesheetUser
associated
_xsltStylesheet
xsltAddTemplate
xsltExtShutdownFunction
diff --git a/doc/APIchunk2.html b/doc/APIchunk2.html index 3951494f..c0eb83f3 100644 --- a/doc/APIchunk2.html +++ b/doc/APIchunk2.html @@ -16,8 +16,7 @@ A:link, A:visited, A:active { text-decoration: underline } o-p q-s t-w -

Letter b:

back
xsltApplyOneTemplate
-
based
_xsltStylesheet
+

Letter b:

based
_xsltStylesheet
been
xsltGetNsProp
before
xsltEvalGlobalVariables
xsltEvalUserParams
@@ -80,6 +79,7 @@ A:link, A:visited, A:active { text-decoration: underline } xsltSaveResultToFilename
xsltSaveResultToString
bytes
xsltGetUTF8Char
+xsltRunStylesheet
xsltSaveResultToFd
xsltSaveResultToFile

Letter c:

calibration
xsltCalibrateAdjust
diff --git a/doc/APIchunk7.html b/doc/APIchunk7.html index 30bebb69..1c61f2d2 100644 --- a/doc/APIchunk7.html +++ b/doc/APIchunk7.html @@ -78,6 +78,7 @@ A:link, A:visited, A:active { text-decoration: underline } CHECK_STOPPED0
xsltAllocateExtra
xsltAllocateExtraCtxt
+xsltApplyOneTemplate
xsltAttrTemplateProcess
xsltAttrTemplateValueProcess
xsltAttrTemplateValueProcessNode
diff --git a/doc/Makefile.am b/doc/Makefile.am index 881a6e7d..270ef010 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -23,7 +23,6 @@ APIPAGES=APIconstructors.html APIfiles.html APIfunctions.html \ EXTRA_DIST = \ libxslt-api.xml \ libexslt-api.xml \ - libxslt-decl.txt \ xsltproc.xml \ apibuild.py \ libxslt.xsa \ @@ -33,7 +32,7 @@ man_MANS = xsltproc.1 all: web $(top_srcdir)/NEWS libxslt.xsa $(man_MANS) -api: libxslt-api.xml libxslt-refs.xml $(APIPAGES) $(srcdir)/html/index.html $(WIN32_DIR)/libxslt.def.src +api: libxslt-api.xml libxslt-refs.xml $(APIPAGES) $(srcdir)/html/index.html $(WIN32_DIR)/libxslt.def.src $(WIN32_DIR)/libexslt.def.src web: $(PAGES) @@ -88,13 +87,10 @@ $(WIN32_DIR)/libexslt.def.src: libexslt-api.xml $(bindir)/xsltproc -o $(WIN32_DIR)/libexslt.def.src \ --nonet $(WIN32_DIR)/defgen.xsl libexslt-api.xml ; fi ) -api: libxslt-api.xml libxslt-refs.xml $(WIN32_DIR)/libxslt.def.src $(WIN32_DIR)/libexslt.def.src - clean-local: rm -f *~ *.bak *.hierarchy *.signals *-unused.txt maintainer-clean-local: clean - rm -rf libxslt-decl-list.txt libxslt-decl.txt rebuild: api all diff --git a/doc/html/libxslt-transform.html b/doc/html/libxslt-transform.html index 760dcbe7..f7c22762 100644 --- a/doc/html/libxslt-transform.html +++ b/doc/html/libxslt-transform.html @@ -47,14 +47,14 @@ A:link, A:visited, A:active { text-decoration: underline }
cur:source node being executed
node:data node being processed
templ:temlate that applies to node
ctxt:the xslt transform context

Function: xsltApplyImports

void	xsltApplyImports		(xsltTransformContextPtr ctxt, 
xmlNodePtr node,
xmlNodePtr inst,
xsltStylePreCompPtr comp)

Process the xslt apply-imports node on the source node

ctxt:a XSLT process context
node:the node in the source tree.
inst:the xslt apply-imports node
comp:precomputed information

Function: xsltApplyOneTemplate

void	xsltApplyOneTemplate		(xsltTransformContextPtr ctxt, 
xmlNodePtr node,
xmlNodePtr list,
xsltTemplatePtr templ,
xsltStackElemPtr params)
-

Process the apply-templates node on the source node, if params are passed they are pushed on the variable stack but not popped, it's left to the caller to handle them back (they may be reused).

+

Process the apply-templates node on the source node, if params are passed they are pushed on the variable stack but not popped, it's left to the caller to handle them after return (they may be reused).

ctxt:a XSLT process context
node:the node in the source tree.
list:the template replacement nodelist
templ:if is this a real template processing, the template processed
params:a set of parameters for the template or NULL

Function: xsltApplyStripSpaces

void	xsltApplyStripSpaces		(xsltTransformContextPtr ctxt, 
xmlNodePtr node)

Strip the unwanted ignorable spaces from the input tree

ctxt:a XSLT process context
node:the root of the XML tree

Function: xsltApplyStylesheet

xmlDocPtr	xsltApplyStylesheet	(xsltStylesheetPtr style, 
xmlDocPtr doc,
const char ** params)

Apply the stylesheet to the document NOTE: This may lead to a non-wellformed output XML wise !

style:a parsed XSLT stylesheet
doc:a parsed XML document
params:a NULL terminated arry of parameters names/values tuples
Returns:the result document or NULL in case of error

Function: xsltApplyStylesheetUser

xmlDocPtr	xsltApplyStylesheetUser	(xsltStylesheetPtr style, 
xmlDocPtr doc,
const char ** params,
const char * output,
FILE * profile,
xsltTransformContextPtr userCtxt)

Apply the stylesheet to the document and allow the user to provide its own transformation context.

-
style:a parsed XSLT stylesheet
doc:a parsed XML document
params:a NULL terminated arry of parameters names/values tuples
output:the targetted output
profile:profile FILE * output or NULL
userCtxt:user provided transform context
Returns:the result document or NULL in case of error

Function: xsltApplyTemplates

void	xsltApplyTemplates		(xsltTransformContextPtr ctxt, 
xmlNodePtr node,
xmlNodePtr inst,
xsltStylePreCompPtr comp)
+
style:a parsed XSLT stylesheet
doc:a parsed XML document
params:a NULL terminated array of parameters names/values tuples
output:the targetted output
profile:profile FILE * output or NULL
userCtxt:user provided transform context
Returns:the result document or NULL in case of error

Function: xsltApplyTemplates

void	xsltApplyTemplates		(xsltTransformContextPtr ctxt, 
xmlNodePtr node,
xmlNodePtr inst,
xsltStylePreCompPtr comp)

Process the apply-templates node on the source node

ctxt:a XSLT process context
node:the node in the source tree.
inst:the apply-templates node
comp:precomputed information

Function: xsltAttribute

void	xsltAttribute			(xsltTransformContextPtr ctxt, 
xmlNodePtr node,
xmlNodePtr inst,
xsltStylePreCompPtr comp)

Process the xslt attribute node on the source node

@@ -94,9 +94,9 @@ A:link, A:visited, A:active { text-decoration: underline }

Registers all default XSLT elements in this context

ctxt:the XPath context

Function: xsltRunStylesheet

int	xsltRunStylesheet		(xsltStylesheetPtr style, 
xmlDocPtr doc,
const char ** params,
const char * output,
xmlSAXHandlerPtr SAX,
xmlOutputBufferPtr IObuf)

Apply the stylesheet to the document and generate the output according to @output @SAX and @IObuf. It's an error to specify both @SAX and @IObuf. NOTE: This may lead to a non-wellformed output XML wise ! NOTE: This may also result in multiple files being generated NOTE: using IObuf, the result encoding used will be the one used for creating the output buffer, use the following macro to read it from the stylesheet XSLT_GET_IMPORT_PTR(encoding, style, encoding) NOTE: using SAX, any encoding specified in the stylesheet will be lost since the interface uses only UTF8

-
style:a parsed XSLT stylesheet
doc:a parsed XML document
params:a NULL terminated arry of parameters names/values tuples
output:the URL/filename ot the generated resource if available
SAX:a SAX handler for progressive callback output (not implemented yet)
IObuf:an output buffer for progressive output (not implemented yet)
Returns:the number of by written to the main resource or -1 in case of error.

Function: xsltRunStylesheetUser

int	xsltRunStylesheetUser		(xsltStylesheetPtr style, 
xmlDocPtr doc,
const char ** params,
const char * output,
xmlSAXHandlerPtr SAX,
xmlOutputBufferPtr IObuf,
FILE * profile,
xsltTransformContextPtr userCtxt)
+
style:a parsed XSLT stylesheet
doc:a parsed XML document
params:a NULL terminated array of parameters names/values tuples
output:the URL/filename ot the generated resource if available
SAX:a SAX handler for progressive callback output (not implemented yet)
IObuf:an output buffer for progressive output (not implemented yet)
Returns:the number of bytes written to the main resource or -1 in case of error.

Function: xsltRunStylesheetUser

int	xsltRunStylesheetUser		(xsltStylesheetPtr style, 
xmlDocPtr doc,
const char ** params,
const char * output,
xmlSAXHandlerPtr SAX,
xmlOutputBufferPtr IObuf,
FILE * profile,
xsltTransformContextPtr userCtxt)

Apply the stylesheet to the document and generate the output according to @output @SAX and @IObuf. It's an error to specify both @SAX and @IObuf. NOTE: This may lead to a non-wellformed output XML wise ! NOTE: This may also result in multiple files being generated NOTE: using IObuf, the result encoding used will be the one used for creating the output buffer, use the following macro to read it from the stylesheet XSLT_GET_IMPORT_PTR(encoding, style, encoding) NOTE: using SAX, any encoding specified in the stylesheet will be lost since the interface uses only UTF8

-
style:a parsed XSLT stylesheet
doc:a parsed XML document
params:a NULL terminated arry of parameters names/values tuples
output:the URL/filename ot the generated resource if available
SAX:a SAX handler for progressive callback output (not implemented yet)
IObuf:an output buffer for progressive output (not implemented yet)
profile:profile FILE * output or NULL
userCtxt:user provided transform context
Returns:the number of by written to the main resource or -1 in case of error.

Function: xsltSetXIncludeDefault

void	xsltSetXIncludeDefault		(int xinclude)
+
style:a parsed XSLT stylesheet
doc:a parsed XML document
params:a NULL terminated array of parameters names/values tuples
output:the URL/filename ot the generated resource if available
SAX:a SAX handler for progressive callback output (not implemented yet)
IObuf:an output buffer for progressive output (not implemented yet)
profile:profile FILE * output or NULL
userCtxt:user provided transform context
Returns:the number of by written to the main resource or -1 in case of error.

Function: xsltSetXIncludeDefault

void	xsltSetXIncludeDefault		(int xinclude)

Set whether XInclude should be processed on document being loaded by default

xinclude:whether to do XInclude processing

Function: xsltSort

void	xsltSort			(xsltTransformContextPtr ctxt, 
xmlNodePtr node,
xmlNodePtr inst,
xsltStylePreCompPtr comp)

function attached to xsl:sort nodes, but this should not be called directly

diff --git a/doc/libxslt-api.xml b/doc/libxslt-api.xml index de35b70a..8ce2170b 100644 --- a/doc/libxslt-api.xml +++ b/doc/libxslt-api.xml @@ -919,7 +919,7 @@ informations are stored'/> - Process the apply-templates node on the source node, if params are passed they are pushed on the variable stack but not popped, it's left to the caller to handle them back (they may be reused). + Process the apply-templates node on the source node, if params are passed they are pushed on the variable stack but not popped, it's left to the caller to handle them after return (they may be reused). @@ -945,7 +945,7 @@ informations are stored'/> - + @@ -1930,10 +1930,10 @@ informations are stored'/> Apply the stylesheet to the document and generate the output according to @output @SAX and @IObuf. It's an error to specify both @SAX and @IObuf. NOTE: This may lead to a non-wellformed output XML wise ! NOTE: This may also result in multiple files being generated NOTE: using IObuf, the result encoding used will be the one used for creating the output buffer, use the following macro to read it from the stylesheet XSLT_GET_IMPORT_PTR(encoding, style, encoding) NOTE: using SAX, any encoding specified in the stylesheet will be lost since the interface uses only UTF8 - + - + @@ -1943,7 +1943,7 @@ informations are stored'/> - + diff --git a/doc/libxslt-refs.xml b/doc/libxslt-refs.xml index f3fd0d95..686597a6 100644 --- a/doc/libxslt-refs.xml +++ b/doc/libxslt-refs.xml @@ -2615,6 +2615,7 @@ + @@ -2764,21 +2765,21 @@ + + + - - - @@ -2838,9 +2839,6 @@ - - - @@ -2945,6 +2943,7 @@ + @@ -5135,6 +5134,7 @@ +