Main Page   File List   Globals  

alt.h File Reference

Alternate container functions. More...

#include <libgnurdf/types.h>

Go to the source code of this file.

Functions

RdfAltrdfCreateAlt (RdfElement *parent, const char *property, RdfNamespace *ns)
 Creates a new alternative container. More...

RdfElementrdfAltAddValue (RdfAlt *alt, const char *property, RdfNamespace *ns, const char *value, RdfElement *element)
 Adds a property to the alternative container. More...


Detailed Description

Alternate container functions.

Id:
alt.h,v 1.4 2001/12/31 09:13:56 chipx86 Exp
Copyright:
(C) 1999-2002 The GNUpdate Project.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.

You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.


Function Documentation

RdfElement* rdfAltAddValue RdfAlt   alt,
const char *    property,
RdfNamespace   ns,
const char *    value,
RdfElement   element
 

Adds a property to the alternative container.

Parameters:
alt  The alternative container.
property  The property's name.
ns  The property's namespace.
value  The value of the property, if not NULL.
element  The property's element, if not NULL.
Returns:
The new element.

RdfAlt* rdfCreateAlt RdfElement   parent,
const char *    property,
RdfNamespace   ns
 

Creates a new alternative container.

Parameters:
parent  The parent which will hold the alternative container.
property  The name of the alternative container's property.
ns  The alternative container's namespace.
Returns:
The new alternative container.


Generated on Mon May 13 23:13:29 2002 for libgnurdf by doxygen1.2.15-20020430