[sword-devel] Reading kjvfull.xml

Peter von Kaehne refdoc at gmx.net
Tue Jun 12 07:44:46 MST 2012

Why do you not use the API?

-------- Original-Nachricht --------
> Datum: Tue, 12 Jun 2012 07:33:40 -0700 (PDT)
> Von: Dan Macy <drmacy55 at gmail.com>
> An: sword-devel at crosswire.org
> Betreff: [sword-devel] Reading kjvfull.xml

> I don't know if this is an appropriate place to ask this question, but I'm
> hoping someone can give me some guidance. I'm writing a VB.NET program to
> read kjvfull.xml. I'm familiar with using the Load method of the
> XmlDocument
> to read the entire file. I'm also familiar with selecting child nodes from
> the document element and looping through all of the nodes. However, the
> structure of this file is different from anything that I've encountered
> before. Rather than having a <verse> tag at the beginning of a verse and a
> </verse> tag at the end, it has a <verse> tag with an "sID" atttribute to
> start and a <verse> tag with an "eID" attribute to end. I understand why
> it's done this way. I just can't figure out how to extract all of the
> information (tags and text) between these two verse tags. I can get some
> of
> the information, such as the w and q tags, but untagged text (such as the
> spaces between the words) I can't figure out how to access.
> If there's someone who has dealt with these kinds of issues before and can
> help me get started, I'd be very grateful. Thanks!
> --
> View this message in context:
> http://sword-dev.350566.n4.nabble.com/Reading-kjvfull-xml-tp4650425.html
> Sent from the SWORD Dev mailing list archive at Nabble.com.
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

More information about the sword-devel mailing list