|
----- Original Message -----
Sent: Friday, December 07, 2001 2:14
PM
Subject: Re: importing and
accessing data - redux
Paul,
You haven't given us a lot to go
on, particularly as to what programming skills you have or don't have.
In general terms you want to parse your tab-delimited documents so
that you create XML documents that are well-formed.
Your resulting
documents would be of this general form: <WordAndDef>
<Word>Text to first tab</Word> <Definition>Text to
second tab</Definition> <Word>Text to third tab</Word>
.... </WordAndDef>
You need to create the document
element that I have called <WordAndDef> above to ensure that the XML you
create is well-formed.
Assuming that you are able to create two XML
documents which are well-formed, then you could use XSLT to query them. But
you may not know enough about XSLT to know where to begin.
Does that
make any sense?
Andrew Watt
DARE: Andrew, why
would you suggest using XSLT for querying instead just XPath?
Especially since he can store the documents in an XML aware DB.
-- THINGS TO DO IF I BECOME AN EVIL OVERLORD #15 I will never
employ any device with a digital countdown. If I find that such a device is
absolutely unavoidable, I will set it to activate when the counter reaches
117 and the hero is just putting his plan into
operation.
|
|