Parse XML with asp

Filed Under (Software Development) by admin on 19-10-2011

I am using asp and sending data to my payment gateway for processing. When processed it returns xml back to me that I use. How do I get the values from this response? Response would be returned in this format:

<?xml version=”1.0″ encoding=”UTF-8″?>
<Result>
<TransTime>Mon Nov 08 20:21:06 PST 2004</TransTime>
<OrderID>2004110820210605147</OrderID>
<Approved>APPROVED</Approved>
<ReturnCode>Y:TEST:TESTTRANS:M:X:YYY</ReturnCode>
<ErrMsg></ErrMsg>
<TaxTotal>5.00</TaxTotal>
<ShipTotal>15.00</ShipTotal>
<SubTotal>55.00</SubTotal>
<FullTotal>75.00</FullTotal>
<PaymentType>CC</PaymentType>
<CardNumber>411111…1111</CardNumber>
<CardExpMonth>05</CardExpMonth>
<CardExpYear>07</CardExpYear>
<TransRefNumber>1bd0082c392b7c5b</TransRefNumber>
<CardIDResult>M</CardIDResult>
<AVSResult>X</AVSResult>
<CardAuthNumber>TEST</CardAuthNumber>
<CardRefNumber>TESTTRANS</CardRefNumber>
<CardType>VISA</CardType>
<IPResult>YYY</IPResult>
<IPCountry>CA</IPCountry>
<IPRegion>Ontario</IPRegion>
<IPCity>Toronto</IPCity>
</Result>

This is the code I am using to test with for now:

set xml = Server.CreateObject(“Microsoft.XMLHTTP”)
set xmlDoc = Server.CreateObject(“Microsoft.XMLDOM”)

xml.open “POST”, “##HOST ADDRESS##”, false
xml.setRequestHeader “Content-Type”, “application/x-www-form-urlencoded”
xml.send (orderString)
xmlResponseStr = xml.responseText
Response.Write(“<br /><br />”)
Response.write(xmlResponseStr)

‘ Parse Returned XML
set xmlDoc = Server.CreateObject(“Microsoft.XMLDOM”)
xmlDoc.async = True
xmlDoc.Load(xml.responseXML)

Set itemList = xmlDoc.getElementsByTagName(“*”)

Dim xmlApproved

Response.Write(“<br /><br />”)

For Each item In itemList
Response.Write(“IN HERE”)
For each child in item.childNodes
Response.Write(“IN DEEPER”)
Response.Write(child.nodeName)
Response.Write(“<br /><br />”)
Next
Next

Set xmlDoc = Nothing
Set itemList = Nothing
Set xml = nothing
%>

As you may see this is the first time I have ever attempted something like this.

Number One Dealer for MediSoft and Lytec: Medical Billing Software

Filed Under (Presentations) by admin on 06-10-2011

Complete Medical Billing is your number one source for medical billing software from MediSoft and Lytec. You can trust their friendly staff to help you with your needs just as they have helped hundreds of doctor offices and medical billing services with their medical billing software needs. This includes full versions of MediSoft or Lytec Software along with upgrades for both. Plus they can help you with MediSoft and Lytec Software support and training. They purchase from the publishers directly so they can offer you a good value on any package you are interested in. Their goal is a satisfied customer with every sale.

Satisfied Customer: Medical Billing Software

The number one dealer of MediSoft and Lytec software is Complete Medical Billing Software Store. Because of this they can provide their customers with the highest level of service and expertise with every medical billing software sale. With this high level of service and expertise they can assure you a satisfying experience as a medical billing software customer. Should you find a better value on any of their products just let them know. They want to guarantee your satisfaction with the purchase of that product. At Complete Medical Billing Software Store they are not happy until their customers are happy.

Some Tips on a Slideshow in Flash

Filed Under (Graphics and Design) by admin on 14-09-2011

I am trying to embed a flash slide show in XHTML strict.

This is the code I am using and that is not working:

<object type=”application/x-shockwave-flash” data=”/slideshows/newlyweds.swf” width=”500″ height=”500″>
<param name=”movie” value=”/slideshows/newlyweds.swf” />
</object>

I first used:
<object type=”application/x-shockwave-flash” data=”newlyweds.swf” width=”500″ height=”500″>
<param name=”movie” value=”newlyweds.swf” />
</object>

This code works fine, the flash file and images are in the same folder as the html file.
However, I have many flash slide shows for many pages so I am trying to put them in sub-folders (slideshows/newlyweds.swf). When I do that the flash file is not showing up on my html page. I tried linking them directly, http://www.example.com/slideshows/newlyweds.swf but that didn’t work either.

So this is how it goes :) Read the rest of this entry »

Everybody’s Doing It: web survey

Filed Under (General articles and news) by admin on 06-08-2011

From the smallest companies to the largest organizations, everyone is doing it. And just what are we talking about? Online surveys. Some people have been skeptical, but web survey has proven itself as a valid tool and has gained acceptance in the business world. Customers are often the “target” of these surveys, because a business without satisfied customers isn’t much of a business. Web surveys are a means of measuring their satisfaction and loyalty. A web survey can be used as a way to evaluate online service and the success of advertising. Find out what a web survey company can do for you.

Think Big: web survey

Sometimes being little gets a bad rap. You’re not taken seriously, or you are overlooked and ignored. Being small, however, does not imply thinking small. If you are an owner or administrator of a small company, you want the same programs and advantages that are available to the big corporations. And why not? By having the same up-to-date solutions available to you, your company is sure to prosper. It’s time to take action. Contact a web survey company that knows your needs and can provide an economical, powerful web survey solution that can grow with your company. Don’t ever stop thinking big.

Why Do You Need Medisoft Software?

Filed Under (Presentations) by admin on 29-07-2011

Well, the answer to that is really simple: you want your office to be organized and your job to be a little easier right? All you need to do is purchase the Medisoft Software from Complete Medical Billing. This software has some of the best features available today like electronic medical records which can cut down on paper waste and appointment scheduling as well as electronic claims submission. The truth is that every medical office could benefit from using Medisoft Software. Try is and see what it has to offer, you’ll see an immediate difference and wonder why you waited so long.

Do You Really Need Medical Billing Software?

I guess the truth is that you probably don’t have to purchase any medical billing software, but then the question becomes, why not? The only thing you have to lose from purchasing medical billing software is a lot of extra work, lost time and stress. The software that Complete Medical Billing offers is so great that you will save tons of time and be able to get twice the amount of work done as opposed to not using their software.  Medical Billing can help you choose which type of software would work best for your office and even help get it set up.