Before you think this may be a piece of cake, my question is a bit longwinded, but a great opportunity to set the record straight!
I could really use some help and guidance. Here is what I am looking to accomplish. I need to get a reasonable understanding of xml manipulation. I am having difficulty bridging the gap between xml and classic asp, connecting the two, manipulating the xml response and formatting it to any degree of satisfaction.
Let me start here:
1) I have figured out how to format (dynamic string building) and send the xml request to a remote server. VIA "xml.send ReqString"
2) I can correctly (I think) receive the response text (xml) and hold it in a variable.
3) I can output it via Response.Write xml.responsetext
Just a comment ***
Also, what is this DTD thing all about? If I know how the request is supposed to go out and format my request correctly, and the response never changes except for the actual encapsulated data. Why should I really care? Forgive my blunt crudeness with respect to the founders and Guru's of xml :-) ok, Data Type Definition. except we're not in the traditional database table setup right? Instead of varchar 50 we are saying:
If I know what I am sending and I know how the response will be formatted, all I need to know is how to clean the response up and do what I want with it right(overhead not included)? I understand that XML is badass to a great extent, and I think I will learn how to harness it's power. That is what I need a kick start with. Most of the documentation in books and on the web, is based off of static xml files. When they actually get dynamic, they end it at here's the xml response. What do you think the response looks like? It looks like the cute little tree that most of us have seen about a few hundred times when we started researching xml. Most tutorials end it there. That does me and I'm sure many other potential XML'ers absolutely no good. Who the heck is static these days anyway? **
So here is the skinny:
I send a request and I get a response. The response doesn't have reference to xslt , css, (DTD maybe) or whatever. It looks like a static xml file that you see in every tutorial on the planet, but it is not. I notice that when formatting/ converting xml to html there are references to the style sheets intertwined in the xml. Also, what's this works in IE and MAYBE other browsers thing? Wouldn't I want the formatting and manipulation to occur on the server if that is the case? Who the heck would want to output something that maybe sometimes people can view it? I would want to know exactly how my server was pushing out responses to an end user. Right?
Anyway before you ask me for example responses and requests, I am working on modifying some to show you. They are ip secured, so I can't really post the code because it won't work outside of specific addresses.
I am done ranting and raving. Thanks for any reasonable efforts. I am feeling a bit disconnected and behind in the times!