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

Re: XML / XSL Disparity

  • From: "Michael Kay" <M.H.Kay@e...>
  • To: <xml-dev@i...>
  • Date: Fri, 5 Jun 1998 11:57:40 +0100

xml xsl search
>I am writing a very simple, Java based, search engine for
XML
>documents.

Does it really need a new search engine? Much more useful
would be a new filter for an existing search engine, then
you could concentrate your efforts on the XML-specific
functionality.

>As an example, imagine a date stored as 19980604 in an XML
file.
>An XSL file converts that to 06-04-1998 for presentation.
The user
>writes that date down and later searches for it but....
>
The idealistic answer is that to search for a date, you
should know it's a date rather than pretending it's text.
Unfortunately XML doesn't give you that information. You
could try to get it from an external place, e.g. an extended
XSchema.

Searching on the presentation form of information rather
than the stored form is always tricky. You can do it by
presenting to the search engine (at indexing time) the
display version of the document rather than the original
XML, but this presupposes that everyone will use the same
style rules for display, and that the rules are not
context-sensitive (A British user would want to see the
above date as 4/6/1998). Perhaps more importantly in
practice, the display form of the document will have lost
the semantic information inherent in the XML tags, which can
potentially add greatly to the selectivity of the search.

I personally think that if the paradigm is "free text
searching" then it is only going to work well if the content
of the displayed text and the stored text are much the same.

Mike Kay


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/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.