perfectxml.com
 Basic Search  Advanced Search   
Topics Resources Free Library Software XML News About Us
home » focus » msxml » ask a question Monday, 13 August 2007
 
NEWS
MSXML 4.0 SP2 now available!

 
MSXML
Basics
DOM
SAX
XPath
XSLT
Schemas
SOM
HTTP Access
.NET
Data Islands
Ask a Question
   Past Q&As
C++ Samples
DLL/Version Info
Reference Guide
Books
KB Articles
   HOW TO
   SAMPLE
   INFO
   BUG/PRB
   FIX
   Misc.
MSXML Tips
   August 2002
   September 2002
MSXML Tools

Microsoft XML Core Services

Use the following form to submit any question that you might have with respect to MSXML.

Click here to view a list of questions asked and their answers.

Question:   (required)
Please remember to mention the MSXML version that you are using.
Your Name:   (optional)
Email Address:   (optional)

Looking for XML Training?  Check out the Online XML Course from Webucator!
Webucator, offers At-Your-Own-Pace Online XML training Call 1-877-WEBUCATE or visit www.webucator.com for complete details.

Click here to view a list of questions asked and their answers.

You can also submit your MSXML questions to us by sending an email to msxml@perfectxml.com.

Top 5 questions:
Question 60: I would like POST a binary data file from one server to the other. The way I am thinking is to Base64 encode the data using MSXML DOM and then POST using XMLHTTP to the remote server. Then on the remote server load the XML, decode base64 to binary and save it as a local file on the remote server. Can you please provide an ASP example of doing this?
Question 117: Binary to Base64 using MSXML in C++: I have seen many Visual Basic examples on encoding/decoding binary data as Base64 using MSXML. Can you please provide a C++ example to illustrate converting a disk file (letís say a .JPG image) into base64 XML using MSXML?
Question 49: I would like to include a PDF file as part of my XML document. I am using MSXML DOM, but am not able to figure out how would I include the PDF/DOC files (basically binary data) as part of my XML document (as a node value).

Updated:Thanks for posting the VB sample; however I was wondering if you could show some ASP code example?
Question 115: I am using MSXML 3.0 ServerXMLHTTP class to send a request to a remote server. It returns XML. I would like to format the XML and send the formatted HTML to the client, using an ASP page. Please suggest possible options.
Question 114: In my ASP page, I am calling a Web service that returns an XML document. This XML document contains international (Japanese, Greek, Chinese, etc.) characters. I need to extract some data from this XML document and send to the browser client as part of other surrounding HTML text. I am able to select the node, but if I use nodeTypedValue or text property to do Response.write, it converts the international characters into question marks (?). How can I preserve the international characters?


Recently Asked 5 questions:
Question 118: In my XML document, some node attributes data contains a backslash (\) character, such as <input msg="Hello \n World"/>. When I try to locate such elements using the XPath expression "//input[@msg = 'Hello \n World']", it does not return any nodes. I am using MSXML 3.0.
Question 117: Binary to Base64 using MSXML in C++: I have seen many Visual Basic examples on encoding/decoding binary data as Base64 using MSXML. Can you please provide a C++ example to illustrate converting a disk file (letís say a .JPG image) into base64 XML using MSXML?
Question 116: I am using MSXML 4.0 SAX to validate an XML document using an XSD schema. I wanted to know how to get all the validation errors (and not stop at the first XSD validation error). A Visual Basic example would be helpful.
Question 115: I am using MSXML 3.0 ServerXMLHTTP class to send a request to a remote server. It returns XML. I would like to format the XML and send the formatted HTML to the client, using an ASP page. Please suggest possible options.
Question 114: In my ASP page, I am calling a Web service that returns an XML document. This XML document contains international (Japanese, Greek, Chinese, etc.) characters. I need to extract some data from this XML document and send to the browser client as part of other surrounding HTML text. I am able to select the node, but if I use nodeTypedValue or text property to do Response.write, it converts the international characters into question marks (?). How can I preserve the international characters?
  Contact Us | E-mail Us | Site Guide | About PerfectXML | Advertise ©2004 perfectxml.com. All rights reserved. | Privacy