# The XSLT C library for GNOME

## Module attributes from libxslt

API Menu

- Main Menu
- Developer Menu
- API Menu
- ChangeLog

Related links

- Mail archive
- XML libxml2
- FTP
- Windows binaries
- Solaris binaries
- MacOsX binaries
- Bug Tracker
- lxml Python bindings
- Perl XSLT bindings
- XSLT with PHP
- Apache module
- Pascal bindings
- Xsldbg Debugger

API Indexes

- Alphabetic
- Constructors
- Functions/Types
- Modules
- Symbols

this module handles the specificities of attribute and attribute groups processing.

## Table of Contents

    void	xsltApplyAttributeSet		(xsltTransformContextPtr ctxt,
    					 xmlNodePtr node,
    					 xmlNodePtr inst,
    					 const xmlChar * attrSets)

    void	xsltFreeAttributeSetsHashes	(xsltStylesheetPtr style)

    void	xsltParseStylesheetAttributeSet	(xsltStylesheetPtr style,
    					 xmlNodePtr cur)

    void	xsltResolveStylesheetAttributeSet	(xsltStylesheetPtr style)

## Description

### Function: xsltApplyAttributeSet

    void	xsltApplyAttributeSet		(xsltTransformContextPtr ctxt,
    					 xmlNodePtr node,
    					 xmlNodePtr inst,
    					 const xmlChar * attrSets)

Apply the xsl:use-attribute-sets. If @attrSets is NULL, then @inst will be used to exctract this value. If both, @attrSets and @inst, are NULL, then this will do nothing.

`ctxt`: | the XSLT stylesheet
`node`: | the node in the source tree.
`inst`: | the attribute node "xsl:use-attribute-sets"
`attrSets`: | the list of QNames of the attribute-sets to be applied

### Function: xsltFreeAttributeSetsHashes

    void	xsltFreeAttributeSetsHashes	(xsltStylesheetPtr style)

Free up the memory used by attribute sets

`style`: | an XSLT stylesheet

### Function: xsltParseStylesheetAttributeSet

    void	xsltParseStylesheetAttributeSet	(xsltStylesheetPtr style,
    					 xmlNodePtr cur)

parse an XSLT stylesheet attribute-set element

`style`: | the XSLT stylesheet
`cur`: | the "attribute-set" element

### Function: xsltResolveStylesheetAttributeSet

    void	xsltResolveStylesheetAttributeSet	(xsltStylesheetPtr style)

resolve the references between attribute sets.

`style`: | the XSLT stylesheet

Daniel Veillard