Question

Discuss the similarities and differences between DTD and XML schema; XSLT and Xpath

Discuss the similarities and differences between DTD and XML schema; XSLT and Xpath

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1)

What is the Similarity Between DTD and XSD?

  • Both DTD and XSD can be used to define the structure of an XML document.

What is the Difference Between DTD and XSD?

DTD vs XSD

DTD is a set of markup declarations that define a document type for an SGML – family markup language. XSD specifies how to describe the elements in an Extensible Markup Language document formally.
Stands For
DTD stands for Document Type Definition. XSD stands for XML Schema Definition.
Control on XML Structure
DTD provides less control over the XML structure. XSD provides more control over the XML structure.
Support for Data Types
DTD does not support data types. XSD supports data types.
Simplicity
DTD is harder than XSD. XSD is simple than DTD.

XSLT transforms an XML document(XML source-tree) into another XML document(XML result-tree), or another type of document that is recognized by a browser, like HTML and XHTML. Normally XSLT does this by transforming each XML element into an (X)HTML element.

XSLT uses XPATH to find information in an XML document. XPath is used to navigate through elements and attributes in XML documents.

Add a comment
Know the answer?
Add Answer to:
Discuss the similarities and differences between DTD and XML schema; XSLT and Xpath
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT