|
Posted by Darren New on 11/25/06 19:45
comp.lang.tcl wrote:
> id 1101 triviaID 233 question {Who wrote "Trilogy of
> Knowledge"?} answerID 1 correctAnswerID 1 answer Believer expDate
> 113963500
Take the zip file I posted. Install it. Call
set x [::xsxp::parse $myXml]
return [lindex [lindex $x 2] 1]
(I think that's the right path thru the list to the attributes of the
first child element. Otherwise, print out the list and see which
elements you have to grab.)
--
Darren New / San Diego, CA, USA (PST)
Scruffitarianism - Where T-shirt, jeans,
and a three-day beard are "Sunday Best."
Navigation:
[Reply to this message]
|