\Header{getPMInfo}{extract publication details and abstract from annotate::pubmed function output}
\keyword{models}{getPMInfo}
\begin{Description}\relax
extract publication details and abstract from annotate::pubmed function output\end{Description}
\begin{Usage}
\begin{verbatim}
getPMInfo(x)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] an object of class xmlDocument; assumed to be result of a pubmed() call
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
uses xmlDOMApply to extract and structure key features of the XML tree returned
by annotate::pubmed()\end{Details}
\begin{Value}
a list with one element per pubmed id processed by pubmed.  Each element of
the list is in turn a list with elements for author list, title, journal
info, and abstract text.\end{Value}
\begin{Note}\relax
this should be turned into a method returning an instance of
a formal class representing articles.\end{Note}
\begin{Author}\relax
Vince Carey <stvjc@channing.harvard.edu>\end{Author}
\begin{References}\relax
\end{References}
\begin{SeeAlso}\relax
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
demo <- pubmed("11780146", 
    "11886385", "11884611")
getPMInfo(demo)
\end{ExampleCode}
\end{Examples}

