XML :: TREEPULLER.

Pull Interface per funzionare con frammenti di documenti XML
Scarica ora

XML :: TREEPULLER. Classifica e riepilogo

Annuncio pubblicitario

  • Rating:
  • Licenza:
  • Perl Artistic License
  • Prezzo:
  • FREE
  • Nome editore:
  • Tyler Riddle
  • Sito web dell'editore:
  • http://search.cpan.org/~triddle/

XML :: TREEPULLER. Tag


XML :: TREEPULLER. Descrizione

Pull Interface per lavorare con i frammenti di documenti XML XML :: TREEPULLER è un modulo Perl che implementa un processore XML Pull XML orientato all'albero che fornisce in modo rapido e conveniente i documenti XML estremamente grandi. Assistaling significa che il modulo è inteso a trasformare il documento XML in Datastructures, non trasformarlo.Tree orientato significa che i dati vengono restituiti dal motore come albero di dati che replicano la struttura del documento XML originale. Pull Processor significa che ti chiedi sequenzialmente al motore per ulteriori dati (il contrario del sax). Questo motore supporta anche la rottura del documento in frammenti in modo che gli alberi siano abbastanza piccoli da adattarsi a RAM.Synopsis usa XML :: TREEPULLER; $ PULL = XML :: TREEPULLER-> NUOVA (Location => '/What/ever/filename.xml'); $ PULL = XML :: TREEPULLER-> NUOVO (posizione => 'http: //urls.too/data.xml'); $ PULL = XML :: TREEPULLER-> NUOVO (IO => \ * fh); $ PULL = XML :: TREEPULLER-> NUOVO (String => ''); #Parse il documento e restituire l'elemento root #Takes lo stesso argomento come nuovo () $ element = xml :: treepuller-> Parse (% args); $ pull-> lettore; #return the xml :: libxml :: lettore oggetto $ pull-> iterate_at ('/ xml', 'short'); #read la prima parte di un elemento $ pull-> iterate_at ('/ xml', 'sottopree'); #read l'elemento e la sottostruttura mentre ($ elemento = $ pull-> next) {} $ element-> nome; $ element-> testo; #fetch Text per l'elemento e tutti i bambini $ element-> attributo ('attribute_name'); #get attributo Value $ element-> attributo; #returns hashref di attributi $ element-> get_elements; #return Tutti gli elementi figlio $ element-> get_elements ('elemento / percorso'); #elements dal percorso $ element-> xpath ('/ xml'); #Search utilizzando i requisiti XPath: · Perl.


XML :: TREEPULLER. Software correlato

ifdef.

Abilita condizionatamente il testo all'interno delle sezioni del Pod come codice ...

128

Scarica