Skip to main content.
home | support | download

Back to List Archive

RE: XML

From: <Rainer.Scherg(at)not-real.rexroth.de>
Date: Fri Nov 17 2000 - 09:22:23 GMT
Sounds good but one Q for understanding:

<tag1> here is a <tag2>special text</tag2> to index</tag1>

What would be the content of <tag1> ?

IMO should be:
  tag1:  here is a special tag to index
  tag2:  special text

Am I correct?

cu - rainer

-----Original Message-----
From: jmruiz@boe.es [mailto:jmruiz@boe.es]
Sent: Thursday, November 16, 2000 8:27 PM
To: Multiple recipients of list
Subject: [SWISH-E] XML


	
Hi,

Some people have asked me for improving XML indexing.
I am not an expert of XML, so I would like to hear from all of you.

This what XML does now in 2.1.x:
it index thinks like:
<element> some data </element>
and also
<element1> some data <element2> other data </element2>
even more data</element1>

You can search both element1=other and element2=other

This is what I think it is easy to do:

- Index comments <!- -> ignoring the rest of <!..> 

- Ignore <? ..>

- Index properties:
<element1 prop1="some data"> other data</element1>
In this case you can search for element1=some and prop1=some

- Ignore empty elements: <element/> but index its properties:
<element1 prop1="some data" />
In this case you can search for element1=some and prop1=some

- Sorry, no DTDs

Am I in the right way?

cu
Jose



----------------------------------------------------------------------
This Mail has been checked for Viruses
Attention: Encrypted Mails can NOT be checked !

* * *

Diese Mail wurde auf Viren ueberprueft
Hinweis: Verschluesselte Mails koennen NICHT geprueft werden !
----------------------------------------------------------------------
Received on Fri Nov 17 09:24:02 2000