...

View Full Version : Creating xml document



amishra
01-06-2005, 10:09 AM
Hi,

I am very newbie to XML. I am creating a search engine where users can pull records based on postcode search. what i am trying to do is create a xml documents in runtime and get my query populated and delete the xml document automatically. is there any example or link where i can see this happening? i am using asp for the search engine.


TIA
Amit

Alex Vincent
01-09-2005, 05:44 PM
What language are you using to create the document?

Can we see some contextual source code, both of the engine generating the XML and a sample of the XML?

amishra
01-11-2005, 03:51 PM
I am using asp.
the xml file shld create a file which shld contains all the post codes within the no of miles of entered.

for eg:
<xml...>
<xcode>wd6 2jl</xcode>
<ycode>wd6 2jl</ycode>
<miles>0</miles>
<xcode>wd6 2jl</xcode>
<ycode>en5 3htl</ycode>
<miles>2</miles>

</xml>

xcode is teh code entered by the user and the ycode are the codes populated within certain no of miles.

I can create a table where all the post code can be calcuated and stored but the reason for not doing is the table will be very big.
currenty there 9000 sector code , so if i try to create a table it willl be 9000 * 9000= 81000000 rows

hope this clears.

Amit

jettlarue2003
01-11-2005, 09:13 PM
i would reccomend using php and creating an entry into a mysql table with the information then pull it from that...i know little of asp:) good luck.

Alex Vincent
01-12-2005, 08:34 AM
You might get better results if I transfer this thread to the ASP forum. Do you want me to do that?

(Please don't open a new thread there, though.)

amishra
01-12-2005, 09:40 AM
you can transfer this to asp forum.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum