[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

XML Search Engine Holy War - Attributes vs. Elements

  • From: Duane Nickull <duane@x...>
  • To: xml-dev@i...
  • Date: Fri, 15 Oct 1999 12:12:59 -0700

Hello All:

We are re-writing a major part of the GoXML Context-based Search Engine 
and are looking for input from knowledgeable members of the XML
Community on how we should handle Attribute names and values in the

Before answering this question,  I would like to invite anyone who
hasn't yet seen the demonstration, to visit the XML Search Engine at:


Demo at


A quick visit will help you understand our dilemma

The solutions we are currently contemplating are:

1. Ignore Attributes all together and index Elements and Character Data

The feeling is that the use of attributes should be restricted (by
authors) and used to allow other scripts/applications to either include
or preclude the element and resultant children nodes from some sort of
processing, displaying or further manipulation.  

2. Index attributes as text only and place the resulting text within the
character data portion of the index.

To expand on this, if you have the following XML:

<foo type="myfoo">
 <bar>This is foo for thought</bar>

We would allow searchers to find the words "this", "is" ... "type",
"myfoo" within the context of "foo" (Again,  I believe it is important
to visit the site and use the SE to fully understand how we index XML
before giving this too much contemplation)

3. We should index attribute values as ____________? names as _____?

(please tell us your opinions)

Another side note - I wish to formally thank all those who have
graciously contributed XML content to the index and have helped make the
GoXML.com Search Engine the success it is today.  Thank you.

Duane Nickull, XML Fanatic & Freerider  
| http://www.xmlglobal.com  /* Corporate site */    |
| http://www.goxml.com     /* XML Search engine */  |
| http://www.cartnetwork.com /* XML E-commerce */   |
|   "Really Cool XML Solutions - available today!"  |

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@i... the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.