recategorized
1,841 views
0 votes
0 votes

What can you say about the following statements?

  1. XML tags are case-insensitive
  2. In JavaScript, identifier names are case-sensitive
  3. Cascading Style Sheets (CSS) cannot be used with XML
  4. All well formed XML documents must contain a document type definition
  1. only I and II are false
  2. only III and IV are false
  3. only I and III are false
  4. only II and IV are false
recategorized

3 Answers

Best answer
3 votes
3 votes

XML Tags are Case Sensitive  so 1 is false

All JavaScript identifiers are case sensitive. so 2 is true

Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a document written in a markup language.[1] Although most often used to set the visual style of web pages and user interfaces written in HTML and XHTML, the language can be applied to any XML document   So 3 is false

A valid XML document is defined in the XML specification as a well-formed XML document which also conforms to the rules of a Document Type Definition (DTD). According to JavaCommerce.com XML tutorial, "Well formed XML documents simply markup pages with descriptive tags. You don't need to describe or explain what these tags mean. In other words a well formed XML document does not need a DTD, but it must conform to the XML syntax rules. If all tags in a document are correctly formed and follow XML guidelines, then a document is considered as well formed     so it is also be false.

so none of the option correct hence marks to all

selected by
1 votes
1 votes

option 2

Let's assume that you directly want to render XML contents in a browser. This content may be text-centric XML that you created yourself, contents using a document standard, contents that are pulled out of a database or that are obtained through a web service, e.g. a simple RSS news feed. In most cases, you would use XSLT for styling, i.e. translate XML to HTML or another markup language. However, using CSS is easier and can do a perfect job for some text-centric contents.

A valid XML document is defined in the XML specification as a well-formed XML document which also conforms to the rules of a Document Type Definition (DTD). ... In other words a well formed XML document does not need a DTD, but it mustconform to the XML syntax rules.

Answer:

Related questions

0 votes
0 votes
4 answers
1
1 votes
1 votes
3 answers
3
go_editor asked Mar 24, 2020
1,205 views
Which of the following is an interrupt according to temporal relationship with system clock?Maskable interruptPeriodic interruptDivision by zeroSynchronous interrupt
4 votes
4 votes
5 answers
4
go_editor asked Mar 24, 2020
1,675 views
Which of the following is incorrect for virtual memory?Large programs can be writtenMore I/O is requiredMore addressable memory availableFaster and easy swapping of proce...