AllExperts > Experts 
Search      

XML

Volunteer
Answers to thousands of questions
 Home · More Questions · Answer Library  · Encyclopedia ·
More XML Answers
Question Library

Ask a question about XML
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Alexander Radev
Expertise
I can aswer XML realted questions regarding basics, what XML can be useful for, server-side XML usage scenarios, XPath query language, XSLT transformations, DTDs and XSD.

Experience
I have been working with XML technologies since 1999.

 
   

You are here:  Experts > Computing/Technology > HTML/XML > XML > Question round 2

Topic: XML



Expert: Alexander Radev
Date: 1/9/2006
Subject: Question round 2

Question
-------------------------
Followup To
Question -
Hi!
Iīm trying to implement a function on a companyīs webpage
(www.leinelinde.se). Presently, I am using UPSīs html-based
tracking function and it has worked fine, but the company staff
now requires more functionality. UPS has a parcel tracking
function based on XML, and I canīt get it to work. Iīm unsure
how UPS have intended their OnlineTool to be set up. Maybe I
just donīt understand how XML works? Their support isnīt
getting me anywhere either. There is an instruction PDF
regarding how to apply their code that can be downloaded from
www.leinelinde.se/to_all-experts/Track-WW-XML.pdf (see the
part "HTTP Request and Response", especially p.32). You will
also find an xml document to use for testing, on
www.leinelinde.se/to_all-experts/ms-tracking-test_leine.xml. I
have submitted my proper codes etc in it. What I donīt
understand is how I get it to work. I want to recieve a shipment
tracking result on the webpage that shows the user (that is, the
companyīs customer) info about his expected parcel. Also, I
want to let company staff view more detailed info. I guess this is
done in the final PARSING stage of the process? Please, have a
look at this problem and feel free to email me for any other info
you need to solve it!
Mike
Answer -
I need more information regarding the platform you are building your application on - is it AJAX
(ie - JavaScript application within a html page) or other kind of web technology (PHP, ASP, JSP/
Servlet, etc.) or a solid application (Java, C++/VC++, VBasic, C#/.NET, etc.)

Whith everything I have listed, there is asolution, which works more or less differently from the
others. Thus I need your input so I can guide you further.

--

Hi Alex and thankts for replying!

Iīm not sure what you mean by "platform" here. The website I want to implement the UPS
tracking function on, is a straight old fashion html built site, as you can see if you study the code
on www.leinelinde.se. The only fancy thing about it, is that it includes frames. Would you like me
to send you the frame document in which the UPS function shall be placed? You will see where,
by looking at Lene&Lindes home page at the bottom left, where I now have placed the UPS html
tracking function. I want to replace it with the new xml version.
If this answer does not fill your need for more info, you must probably find the rest on UPSīs
website, I believe. Did you get any help fom their PDF?
If there must be decisions made about which technology is to be used, other than I have
mentioned, I canīt tell you, because I know too little about xml! But I hope we can work this out
anyway.

Mike


Answer
Well Mike,

I would assume that you have to use AJAX here :)

The XML interface in this case is just like a connect to a database. YOU are responsible for doing whatsoever after YOU fetch the data via submitting a tracking ID.

If I can help you further, tell me. But I am not into custom programming for free :)

Alex

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.