|
Mind-boggling Demo of New Gaming Genre, aka Folder-Based Hangman, aka Fun with Recursion
Got CSV in your javascript? Use agnes.
I went to write down a book name and founded an internet empire instead.
NimbleText: Origins
The Windows 8 Mullet
Cosby: spontaneous striped background generator
Slides from WDCNZ: Live Coding Asp.net MVC3
MVC 3, "Third Times a Charm" references
Custom Errors in ASP.Net MVC: It couldn't be simpler, right?
Anatomy of a Domain Hijacking, part 2: The Website Who Came In From The Cold
Anatomy of a Domain Hijacking, part 1
secretGeek.net domain has been stolen. The site may go down.
Boring article: 'untrusted domain' issue with SQL Server.
Coding While You Commute
Test Driven Dentistry Is A Good Thing
The 'less crashy' release of NimbleText
Rethinking Toolbars in Visual Studio (or any IDE)
Where shall we have lunch?
Setting up email for your microIsv
The NO Visual Studio movement: Compiling .net projects in Notepad++
ZeroOne: the editor for programmers who think in binary
Mercurial workflow for personal projects (with a .net bias)
I see you're using vim. Let me fix that for you.
The worst recruitment spam I've ever read
A thank you I forgot to say
My new product, NimbleText, is live
Grabbing the free songs of Jonathan Coulton (with Powershell)
Using NimbleSet to compare lists
Wanted: Wiki Lists (dot org)
DOS on Dope: The last MVC web framework you'll ever need
JSON Query Languages: 5 special purpose editors
What then, is b?
SQLike: A simple editor
Yet Another BizPlan Generator.
HOT GUIDS: A hot or not site for guids
How does life get better? One tiny hack at a time.
24 things to do, and 100 things *not* to do (yet) for building a MicroISV
Venture capital won't kill Jeff Atwood, it will only make him Jeffer.
A handy workflow image for newbie mercurial users
Fractal Feedback, a diversion into recreational programming
Hump-Jumping: How the Education of Computer Science can be Saved, err, maybe.
Suggested User Experience Improvements for DiffMerge
SQL Style Extensions for C#
The Movie Hollywood (And My Wife) Doesn't Want You To See: Weekend at Jacko's
Sysi: the ultimate administrators toolkit
.: secretGeek :: Complete Archives
TimeSnapper.com
Version 3.3: true productivity boost
NextAction Managing the top of your mind
NimbleText -- World's Simplest Code Generator, Text Manipulator, Data Extractor
25 steps for building a Micro-ISV
3 Minute Guide Series
Universal Troubleshooting Checklist
Top 10 SecretGeek articles
ShinyPower Now at CodePlex
RealTime Online CSS Editor
Gradient Maker
How to be depressed
You are not inadequate.
Recommended Reading
 the little schemer
The Best Software Writing I
The Business Of Software (Eric Sink)
Recommended blogs
Jeff Atwood
Joseph Cooney
Phil Haack
Scott Hanselman
Julia Lerman
Rhys Parry
Joel Pobar
Thomas White
OJ Reeves
Eric Sink
Aggregated Links
proggit
dzone
hacker news
dot net kicks
Human Link Machines
interesting finds
a continuous learner's weblog
arjan's world
weekly link post
LogEnvy - event logs made sexy
Computer, Unlocked. A rapid computer customization resource
PC Smart Buys - Computer Hardware in Australia
|
Sending and Receiving XML Documents in ASP
|
Simple ASP to Send and Receive XML files
SimplePoster.Asp
A simple ASP page that sends off an XML document, and receives back a different XML document
<
%@ Language=VBScript %
>
<HTML>
<HEAD>
<
/HEAD>
<
%
'Put together some XML to post off
xmlString = "<?xml version=""1.0""?>" & vbcrlf
xmlString = xmlString & "<Req1>" & vbcrlf
xmlString = xmlString & " <Name>Jenny</Name>" & vbcrlf
xmlString = xmlString & "</Req1>"
'Load the XML into an XMLDOM object
Set SendDoc = server.createobject("Microsoft.XMLDOM")
SendDoc.ValidateOnParse= True
SendDoc.LoadXML(xmlString)
'Set the URL of the receiver
sURL = "http://www.remote.com/Receiver.asp"
'Call the XML Send function (defined below)
set NewDoc = xmlSend (sURL, SendDoc)'xmlString)
'We receive back another XML DOM object!
'Tell the user what happened
response.Write "<b>XML DOC posted off:</b><br>"
response.write SendDoc.XML & "<br>"
response.write "<b>Target URL:</b> " & sURL & "<br>"
response.write "<b>XML DOC Received back: </b><br>"
response.write (NewDoc.Xml)
private function xmlsend(url, docSubmit)
Set poster = Server.CreateObject("MSXML2.ServerXMLHTTP")
poster.open "POST", url, false
poster.setRequestHeader "CONTENT_TYPE", "text/xml"
poster.send docSubmit
Set NewDoc = server.createobject("Microsoft.XMLDOM")
newDoc.ValidateOnParse= True
newDoc.LoadXML(poster.responseTEXT)
Set XMLSend = NewDoc
Set poster = Nothing
end function
%
>
<
/HTML>
|
Receiver.Asp
A simple ASP page that receives an XML document, and sends back a different XML document
<
%
'Create an XML DOM Object to receive the request
set docReceived = CreateObject("Microsoft.XMLDOM")
docReceived.async = False
docReceived.load Request
'Create a piece of XML to send back
Set listItem = docReceived.selectnodes("Req1")
strResponse = "<?xml version=""1.0""?>" & vbcrlf
strResponse = strResponse & "<Person>" & vbcrlf
'For the purposes of this example we modify
'the response based on the request
for each node in listItem
name = node.selectsinglenode("Name").firstchild.nodevalue
strResponse = strResponse & " <Name>Thanks " & name & "</Name>" & vbcrlf
next
strResponse = strResponse & "</Person>"
'Send the response back
response.write strResponse
%
>
|
|
an island of cool in a sea of crazy
|
Add or view comments about this page
|
Page title
|