| OLD | NEW |
| 1 /* | 1 /* |
| 2 * attributes.c: Implementation of the XSLT attributes handling | 2 * attributes.c: Implementation of the XSLT attributes handling |
| 3 * | 3 * |
| 4 * Reference: | 4 * Reference: |
| 5 * http://www.w3.org/TR/1999/REC-xslt-19991116 | 5 * http://www.w3.org/TR/1999/REC-xslt-19991116 |
| 6 * | 6 * |
| 7 * See Copyright for the status of this software. | 7 * See Copyright for the status of this software. |
| 8 * | 8 * |
| 9 * daniel@veillard.com | 9 * daniel@veillard.com |
| 10 */ | 10 */ |
| (...skipping 724 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 735 cur->attributeSets = NULL; | 735 cur->attributeSets = NULL; |
| 736 } | 736 } |
| 737 } | 737 } |
| 738 cur = xsltNextImport(cur); | 738 cur = xsltNextImport(cur); |
| 739 } | 739 } |
| 740 } | 740 } |
| 741 | 741 |
| 742 /** | 742 /** |
| 743 * xsltAttribute: | 743 * xsltAttribute: |
| 744 * @ctxt: a XSLT process context | 744 * @ctxt: a XSLT process context |
| 745 * @node: the current node in the source tree | 745 * @contextNode: the current node in the source tree |
| 746 * @inst: the xsl:attribute element | 746 * @inst: the xsl:attribute element |
| 747 * @comp: precomputed information | 747 * @castedComp: precomputed information |
| 748 * | 748 * |
| 749 * Process the xslt attribute node on the source node | 749 * Process the xslt attribute node on the source node |
| 750 */ | 750 */ |
| 751 void | 751 void |
| 752 xsltAttribute(xsltTransformContextPtr ctxt, | 752 xsltAttribute(xsltTransformContextPtr ctxt, |
| 753 xmlNodePtr contextNode, | 753 xmlNodePtr contextNode, |
| 754 xmlNodePtr inst, | 754 xmlNodePtr inst, |
| 755 xsltStylePreCompPtr castedComp) | 755 xsltStylePreCompPtr castedComp) |
| 756 { | 756 { |
| 757 #ifdef XSLT_REFACTORED | 757 #ifdef XSLT_REFACTORED |
| (...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1231 * | 1231 * |
| 1232 * Free up the memory used by attribute sets | 1232 * Free up the memory used by attribute sets |
| 1233 */ | 1233 */ |
| 1234 void | 1234 void |
| 1235 xsltFreeAttributeSetsHashes(xsltStylesheetPtr style) { | 1235 xsltFreeAttributeSetsHashes(xsltStylesheetPtr style) { |
| 1236 if (style->attributeSets != NULL) | 1236 if (style->attributeSets != NULL) |
| 1237 xmlHashFree((xmlHashTablePtr) style->attributeSets, | 1237 xmlHashFree((xmlHashTablePtr) style->attributeSets, |
| 1238 (xmlHashDeallocator) xsltFreeAttrSet); | 1238 (xmlHashDeallocator) xsltFreeAttrSet); |
| 1239 style->attributeSets = NULL; | 1239 style->attributeSets = NULL; |
| 1240 } | 1240 } |
| OLD | NEW |