\name{getParameterName} \alias{getParameterName} \alias{getParameterName.ParameterValue} \alias{getParameterName.ParName} \alias{getParameterName.StateParameterValue} \alias{getParameterName.StateParName} \alias{getParameterName.VarParameterValue} \alias{getParameterName.VarParName} \alias{getParameterName.XMLNode} \title{ Extracts the stylized name of a parameter from an XML node referencing a parameter. } \usage{getParameterName(xNode) } \arguments{ \item{xNode}{An XML node containing a reference to a parameter.} } \value{ A string identifying the parameter referenced in the node. } \description{ This parses a bit of XML code containing a reference to a parameter and produces a string describing that parameter. } \section{Dirty Tricks}{ This abuses the S3 object system to get the job done. Typically this is first called with an object of class \code{XMLNode}. The \code{getParameterName.XMLNode} method changes the class of its argument to be the name of the tag for the \code{XMLNode}. It then recalls the generic function and the appropriate method is called. } \seealso{ \code{\link[XML]{XMLNode}}, \code{\link{parseParameterSet}}, \code{\link{parseCov}} } \keyword{interface}