Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

parsing XML from a string...is it w3c standard? 1

Status
Not open for further replies.

pombo

Programmer
Dec 8, 2004
1
GB
Hello,

I have two questions:

Is it possible to parse an XML string? if yes is this a W3C standard which means should all parser that claim that they conform with the w3c standards, should they have this capability?

Is XML a good idea to use to communicate between two executables?

thanx,
 
You can parse a string that looks like XML by loading it into a DOM, or running it through a SAX reader.

Parsers vary with regard to their compliance with the W3C standard. MSXML 4 is pretty good, but the .NET one is better.

You can use XML to communicate between two apps, but its too wordy to be passed via a commandline. You would have to store it somewhere, and tell the other executable where to find it.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top