Question

1.What is well-formedness and validity in the context of XML? How do they differ? 2. What...

1.What is well-formedness and validity in the context of XML? How do they differ?
2. What is XSLT? How can it be used in web development?
3. Using the XML document shown in Figure 17.5, what would be the XPath
expressions for selecting artists from France? For selecting paintings whose
artists are from France?
4. What are the in-memory and the event approaches to XML processing? How
do they differ? What are some examples of each approach in PHP?
5. Imagine that you are asked to provide advice on implementing web services
for a site. Discuss the merits and drawbacks of SOAP- and REST-based web
services and for XML versus JSON as a REST data format.

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

Answer)

  1. A valid XML would have the DTD associated with it and has been verified against the rules which is present in DTD having it to be well formed

Well-formed XML is not necessarily valid.

  1. XSLT is defined as the language meant for transforming the XML documents as other XML document or for the other formats like HTML for the web pages or the plan text or the XSL formatting objects which can get subsequently be converted as other formats.

This helps in transforming the CML document to the other XML documents which can be used in web browsers.

  1. Please post the figure 17.5 which we would refer to answer
  2. An in-memory database is defined as the database management system which is relying on the main memory for the computer data storage. It is with respect to the database management system which employs the disk storage mechanism. The DOM based parsers generates the tree of the object present in the mrmory based on the structure as well as contents of the XML data which helps in enabling the walk through of the trees and access information of XML. Also the SAX based parser takes a completely separate approach for parsing which is event driven.

Example: function isPositive(int $number)

if($number > 0){

status = true;

else{

$status = false;

} return $status;}

As per HOMEWORKLIB POLICY a minimum of 1 question can be answered we did 4.

If you like the answer, do hit like.
Hope this answer helps.
Thanks

Add a comment
Know the answer?
Add Answer to:
1.What is well-formedness and validity in the context of XML? How do they differ? 2. What...
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
  • PPT 9' (Container Terminal Operation Management) 1. How do Seaport Container Terminals differ? 2. List the...

    PPT 9' (Container Terminal Operation Management) 1. How do Seaport Container Terminals differ? 2. List the content of the container terminal structure 3. List the Operation Pillars for container Terminal (CT) Planning. 4. How are Electronic Data Interchange (EDI) systems used in Port management? 5. What are the most important information which is checked and monitored by the Cargo Control? 6. What is COPRAR? 7. What are the two ways COPRAR Message functioning? 8. Describe the loading function. 9. Describe...

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