You are here: Re: TCL/PHP/XML problem: I need to convert an XML file into a TCL list « All PHP « IT news, forums, messages
Re: TCL/PHP/XML problem: I need to convert an XML file into a TCL list

Posted by comp.lang.tcl on 11/25/06 19:50

Darren New wrote:
> 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

Sorry there is no attachment, no zip file of any kind.

Phil


>
> 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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация