org.apache.xalan.templates

Class ElemAttribute

public class ElemAttribute extends ElemElement

Implement xsl:attribute.
 &!ELEMENT xsl:attribute %char-template;>
 &!ATTLIST xsl:attribute
   name %avt; #REQUIRED
   namespace %avt; #IMPLIED
   %space-att;
 &
 

See Also: creating-attributes in XSLT Specification

UNKNOWN: advanced

Method Summary
ElemTemplateElementappendChild(ElemTemplateElement newChild)
Add a child to the child list.
StringgetNodeName()
Return the node name.
intgetXSLToken()
Get an int constant identifying the type of element.
voidsetName(AVT v)

Method Detail

appendChild

public ElemTemplateElement appendChild(ElemTemplateElement newChild)
Add a child to the child list.

Parameters: newChild Child to append to the list of this node's children

Returns: The node we just appended to the children list

Throws: DOMException

getNodeName

public String getNodeName()
Return the node name.

Returns: The element name

getXSLToken

public int getXSLToken()
Get an int constant identifying the type of element.

Returns: The token ID for this element

See Also:

setName

public void setName(AVT v)

See Also: setName

Copyright B) 2006 Apache XML Project. All Rights Reserved.