Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New to the CF scene
    Join Date
    Dec 2004
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Creating xml document

    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

  • #2
    Moderator
    Join Date
    May 2002
    Location
    Hayward, CA
    Posts
    1,453
    Thanks
    1
    Thanked 21 Times in 19 Posts
    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?
    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary
    https://alexvincent.us/blog

  • #3
    New to the CF scene
    Join Date
    Dec 2004
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #4
    New Coder
    Join Date
    Nov 2004
    Location
    wisconsin
    Posts
    50
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.
    Can you commentate bowling?

  • #5
    Moderator
    Join Date
    May 2002
    Location
    Hayward, CA
    Posts
    1,453
    Thanks
    1
    Thanked 21 Times in 19 Posts
    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.)
    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary
    https://alexvincent.us/blog

  • #6
    New to the CF scene
    Join Date
    Dec 2004
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    you can transfer this to asp forum.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •