Commit 7f6e0243 authored by Kasimier T. Buchcik's avatar Kasimier T. Buchcik

Added missing function descriptions.

* xmlschemastypes.c: Added missing function descriptions.
parent 81562d2d
Wed Jun 15 15:34:52 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemastypes.c: Added missing function descriptions.
Wed Jun 15 15:26:14 CEST 2005 Daniel Veillard <daniel@veillard.com>
* xmllint.c: if sax1 is used and input is a file use the old
......
......@@ -717,6 +717,15 @@ xmlSchemaGetBuiltInType(xmlSchemaValType type)
}
}
/**
* xmlSchemaValueAppend:
* @prev: the value
* @cur: the value to be appended
*
* Appends a next sibling to a list of computed values.
*
* Returns 0 if succeeded and -1 on API errors.
*/
int
xmlSchemaValueAppend(xmlSchemaValPtr prev, xmlSchemaValPtr cur) {
......@@ -726,6 +735,15 @@ xmlSchemaValueAppend(xmlSchemaValPtr prev, xmlSchemaValPtr cur) {
return (0);
}
/**
* xmlSchemaValueGetNext:
* @cur: the value
*
* Accessor for the next sibling of a list of computed values.
*
* Returns the next value or NULL if there was none, or on
* API errors.
*/
xmlSchemaValPtr
xmlSchemaValueGetNext(xmlSchemaValPtr cur) {
......@@ -734,6 +752,15 @@ xmlSchemaValueGetNext(xmlSchemaValPtr cur) {
return (cur->next);
}
/**
* xmlSchemaValueGetAsString:
* @val: the value
*
* Accessor for the string value of a computed value.
*
* Returns the string value or NULL if there was none, or on
* API errors.
*/
const xmlChar *
xmlSchemaValueGetAsString(xmlSchemaValPtr val)
{
......@@ -759,6 +786,14 @@ xmlSchemaValueGetAsString(xmlSchemaValPtr val)
return (NULL);
}
/**
* xmlSchemaValueGetAsBoolean:
* @val: the value
*
* Accessor for the boolean value of a computed value.
*
* Returns 1 if true and 0 if false, or in case of an error. Hmm.
*/
int
xmlSchemaValueGetAsBoolean(xmlSchemaValPtr val)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment