Lecture 2 - XML Introduction Flashcards
1
Q
What is XML?
A
- Extensible Markup Language
- subset of SGML (Standard Generalized Markup Language)
- Text-based markup language
- Standard for data interchange on the web
- Set of rules for designing semantic tags
- Meta-markup language to define other languages
2
Q
What’s are the benefits of xml?
A
•Self-describing, structured Data
•Easy Data Exchange
–Growth of propietary data formats
–Conversion Programs (Applications, versions ..)
–Data and markup are stored as text
–Avoid store simple data in huge files
3
Q
How do I use xml?
A
- XML Document is parsed
- Data is manipulated
4
Q
Why is java and xml a perfect match?
A
–Java is portable code, XML is portable data
–Applications completely portable
–Java Virtual Machine (JVM)
–Standards-based data layer
–Java provides the most robust set of:
–APIs - JAXP
–Parsers - XP
–Processors - Saxon
–Publishing Frameworks - Cocoon
–Tools for XML - XML Pro