MSXML2 Objects Test

ServerXMLHTTP and DOMDocument

Test 1: ServerXMLHTTP

ServerXMLHTTP object created successfully
HTTP.Open called
HTTP.SetRequestHeader called
HTTP.Send called
HTTP Status: 200
HTTP StatusText: 200 OK
Response Text (first 100 chars): { "args": {}, "headers": { "Accept": "*/*", "Accept-Encoding": "gzip", "Accept-La...

Test 2: DOMDocument - XML Creation and Parsing

DOMDocument object created successfully
XML loaded successfully
Found 1 item elements
Item Name: item

Test 3: GetElementsByTagName

Found 1 name elements
Name Element Value: Test Item

Test 4: CreateElement and appendChild

Created new element: newitem
Created description element
NewElement is not nothing

Test 5: Document XML Output

XML Content:
<?xml version="1.0"?><root><item><name>Test Item</name><value>123</value></item></root>

Test 6: ServerXMLHTTP Timeout Property

Default timeout: 30 seconds

Test 7: ParseError Handling

Parse error detected (expected for malformed XML)

Test 8: SelectSingleNode

Found node: name
Node value: Test Item

Test 9: SelectNodes

Found 1 value nodes
First value node: 123

Test 10: Response.PICS Property

PICS Set Successfully
Current PICS: (PICS-1.1 "http://www.rsac.org/ratingsv01.html" l gen true comment "Test PICS Label")

All tests completed!