Script Name: Bible Search
Script URI: http://www.christian-web-masters.com/2006/08/25/bible-search/
Web Service URI: http://www.gnpcb.org/esv/share/services/
Description: Bible Search PHP Script Based on the ESV (English Standard Version) Web Service
Features include:
1. Search results on your website
2. Seach by Passage reference (e.g., John 1 or Gen 16)
3. Find Verses
a. containing all the words
b. containing the exact phrase
c. not containing the words
4. Focus search by:
a. book of the Bible
b. Match
- Anywhere in words (the also finds father)
- Beginnings of words only (the also finds there but not father) - slower
- Exact matches only (the only finds the) - slower
c. Complete text of the Bible, including headings and footnotes
d. Text of the Bible only
Introduction
Page 2
Let's Dissect
Summary
Let's dissect the pieces of my company roster XML document to see each piece's role and responsibility.
Header:
The header tells the document's user that this is an XML document - using version 1.0 of the XML specification in this case.
<?xml version="1.0"?> <company name="Information Strategies"> <employees> <employee id="1">Hank Aaron</employee> <employee id="2">Babe Ruth</employee> </employees> </company>
Envision a world in which you buy a new home appliance and it introduces itself to all of your other appliances and they figure out how to work together. Went you start your movie player it orders the lights to dim, the microwave to pop the popcorn and the telephone to hold all your calls until the movie is over.
This may sound like something out of a science fiction novel, but it is just around the corner thanks to an extensible markup language called XML. It sounds like your t-shirt size, but it is a powerful new addition to the e- world and it is going to rock your world good.
Introduction
Page 2
Let's Dissect
Summary
To summarize, XML is a text-based meta-language that uses tags, elements, and attributes to add structure and definition to documents. It is similar to HTML in syntax and implementation, but different with regard to functionality. Where HTML allows users to control how documents are displayed, XML allows them to describe the actual contents of the documents. It is a markup language because it uses tags to mark-up documents and it is a meta-language because it uses these tags to give structure to documents that it in turn uses as a means of communication. XML is extensible because it enables users to create their own collection of tags (unlike HTML).
Despite the recent spat of anti-XHTML rantings on blogs and HTML mailing lists, there is value in coding in XHTML and in the future of the XHTML Family of markup languages. However, my intention in this article is not to go into the validity of XHTML markup versus HTML 4.01 but demonstrate how to publish XHTML documents as an XML application.
Extensible HyperText Markup Language, or XHTML, "is a reformation of HTML 4 as an XML 1.0 application, and three DTD's corresponding to the one's defined by HTML 4." [1] This means that you can use the existing structure of HTML 4 but also add the functionality of XML to create your own custom elements when necessary.
In the following two articles, I'm going to wrap up my pondering on XML. We'll explore the basic schema of a DTD, and the future of XML.
Whether you're discussing e-commerce, knowledge management, or the Internet in general, you've likely seen or heard reference to eXtensible Markup Language (XML). XML is, without a doubt, one of the most heralded technologies to come across the wire in recent years (pun intended). What is XML? Why is it creating such a deluge of interest? What should you know about XML, and perhaps more importantly, why should you even care about it? In this article, I will provide a high-level description of what XML is (and what it's not), discuss the key components of an XML document, and provide a compelling argument for why it's well worth your while to learn more about XML.
Coming straight to the point, XML stands for EXtensible Markup Language. As the name suggests, it is a language that can be molded according to the need of the hour. Personally, I don't think calling it a language is justified, but I fanatically follow the ordinance of the techie Gurus, and if they say it is a language, then it is a language.
As is the case with the famous HTML, XML too is a markup language, but its main power, unlike HTML, lies in the ability to describe data without harassing the over-worked server. Since most of the work is done on the client's machine (the person who is running the browser), there is less strain on the server.
In order to work with XML, it becomes necessary to know a little about the XML Style Language.
Whether you're discussing e-commerce, knowledge management, or the Internet in general, you've likely seen or heard reference to eXtensible Markup Language (XML). XML is, without a doubt, one of the most heralded technologies to come across the wire in recent years (pun intended). What is XML? Why is it creating such a deluge of interest? What should you know about XML, and perhaps more importantly, why should you even care about it? In this article, I will provide a high-level description of what XML is (and what it's not), discuss the key components of an XML document, and provide a compelling argument for why it's well worth your while to learn more about XML.