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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OOP and XML

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0


Is XML considered Object Oriented Programming?? I recently learned C++ Object Oriented Programming and would like to know if this knowledge of C++ will help me learn XML.
 
Well XML isn't 'programming' anyway is it- it's a means of structuring and holding data.

If you use say VB, you would have a line like:

Dim xml_document As New DOMDocument

and your XML document would be an object to VB, as it would to C++ with the appropriate syntax to create the XML document.

But that doesn't make XML object-oriented in itself.


Jim Brown,
Johannesburg,
South Africa.
My time is GMT+2
 
Well, I would argue that Jim... At least to some extent.
You're right, XML by its meaningfull self is just a way of structuring data.
But, if you go into schema development, you'll see that there are striking resemblances between schema definitions and object definitions/declarations.

I think the newPerson could make use of the OOP knowledge in developping schemas, which ARE actually Object oriented. [red]Nosferatu[/red]
We are what we eat...
There's no such thing as free meal...
once stated: methane@personal.ro
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top