Assignment 1

1 view
Skip to first unread message

Ankit Gupta

unread,
Jan 15, 2013, 12:55:09 PM1/15/13
to xml_20...@googlegroups.com
Your first assignment is attached with this mail. PFA
Last Submission date is 23rd January 2013.

--


Ankit Gupta
M.Tech. Information Security
MNNIT, Allahabad.
Assignment 1.pdf

Bambam Deo

unread,
Jan 20, 2013, 5:45:11 AM1/20/13
to XML_20...@googlegroups.com, xml_20...@googlegroups.com
Sir, I couldn't find any example of displaying xml file using C on Internet , except one which just print the whole content of .xml file
without any formatting.

Please send us a sample of any small program, so that we could understand something.


Thanks.
Bambam Kumar
2012ca05

Ankit Gupta

unread,
Jan 20, 2013, 6:48:01 AM1/20/13
to Bambam Deo, XML_20...@googlegroups.com
you have to write a program in C or whatever language u want which can
read a text file and print the time table of a teacher from that
file........the text file will be a xml file containing various
tags........In class u were taught about how to write a XML file for
the E-R diagram. Just write the same XML file in notepad and save it
as name.txt.

Make a program which takes that text file as input and print the time
table from that text file.........
> --

Mustaqeem

unread,
Jan 20, 2013, 9:17:04 AM1/20/13
to XML_20...@googlegroups.com, Bambam Deo
It is easy to deal with XML in languages like java and C#.
But if you are not familiar with these languages then you can use this library:

http://raphaelcruzeiro.com/blog/using-libxml2-to-parse-through-a-xml-file-in-c/

Other links that I found out for XML processing are:

http://forums.devshed.com/c-programming-42/help-parsing-xml-file-in-c-92053.html
http://code.google.com/p/libroxml/
http://www.codeproject.com/Articles/176236/Parsing-an-XML-file-in-a-C-C-program

Mustaqeem

unread,
Jan 20, 2013, 9:19:31 AM1/20/13
to XML_20...@googlegroups.com, Bambam Deo

Reference Manual for libxml2

http://www.xmlsoft.org/html/index.html

Reply all
Reply to author
Forward
0 new messages