Practical usage of XML?

Faber

In my journey with computers I just started basics of web. After a nice practice on HTML now I am facing XML.

I can understand all the concepts about XML as a language and I understand that it is used to deal with data and not just rendering a webpage.

What I cannot get is when and how you use XML on the web. Webpages are written in HTML, so I wonder, when the XML shows up? Can anybody provide few practical examples? When do you want to write an XML file and where do you put it? Can a webpage be a mixture of HTML and XML?

I am sorry for this naive and very basic question but for some reasons my brain refuses to digest this thing.

Thanks

Mike

XML stores data and that's all. XSL takes that data, matches patterns and produces (usually) HTML.

It is possible, in theory, to download an XML file (or any data in XML format) with an attached stylesheet and render it entirely on the client but that would not do much for the page's search engine ranking.

What usually happens is the HTML file uses javascript to download the XML data, render it with either XSL or javascript and then modify the HTML on the page. This means you don't have to refresh the entire page or download superfluous formatting data with every request.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Practical usage for linked data

From Dev

Practical usage of params indexer

From Dev

Practical usage of Hadoop in project

From Dev

Practical examples of OWIN middleware usage

From Dev

Practical usage of AutoMapper with POST request

From Dev

Practical usage of AutoMapper with POST request

From Dev

practical usage of /etc/networks file

From Dev

Understanding practical usage of __ (double underscore) in python

From Dev

Practical usage of await on the same line as the async call?

From Dev

Other builtin or practical examples of python `with` statement usage?

From Dev

Spring Context and Bean Lifecycle callbacks: practical examples of usage

From Dev

What is the practical usage of an array of an unbounded wildcard parameterized type?

From Dev

What are examples of practical usage of x86 processor interrupt flag?

From Dev

Is it practical to combine XML Schema and an XML-to-JSON conversion?

From Dev

XML attribute usage "android:focusableInTouchMode"

From Dev

Check for usage of an XML Schema Collection?

From Dev

Practical examples of generating documentation/XML with Java's annotation processors

From Dev

Usage of defaultHtmlEscape web.xml in JSTL

From Dev

How to provide Host Key for Maven SSH usage in server.xml

From Dev

Parsing XML in node.js results in extreme memory usage

From Dev

XML Schema: usage of minOccurs and maxOccurs within xs:sequence

From Dev

Memory usage in creating python dict from xml using pattern

From Dev

Are there any usage examples for the OCaml ppx_xml_conv module

From Dev

Memory usage while parsing XML file into Google App Engine datastore

From Dev

MYSQL REPLACE in QUERY and CDATA output usage still causes broken XML

From Dev

DOS/Windows xmlstarlet usage with a String instead of a xml file

From Dev

What is the usage of reference attribute in castor-xml mapping file?

From Dev

xmllint usage - having a hard time getting xml attributes

From Dev

Error in Manifest.xml when adding PACKAGE_USAGE_STATS [Android Lollipop]

Related Related

  1. 1

    Practical usage for linked data

  2. 2

    Practical usage of params indexer

  3. 3

    Practical usage of Hadoop in project

  4. 4

    Practical examples of OWIN middleware usage

  5. 5

    Practical usage of AutoMapper with POST request

  6. 6

    Practical usage of AutoMapper with POST request

  7. 7

    practical usage of /etc/networks file

  8. 8

    Understanding practical usage of __ (double underscore) in python

  9. 9

    Practical usage of await on the same line as the async call?

  10. 10

    Other builtin or practical examples of python `with` statement usage?

  11. 11

    Spring Context and Bean Lifecycle callbacks: practical examples of usage

  12. 12

    What is the practical usage of an array of an unbounded wildcard parameterized type?

  13. 13

    What are examples of practical usage of x86 processor interrupt flag?

  14. 14

    Is it practical to combine XML Schema and an XML-to-JSON conversion?

  15. 15

    XML attribute usage "android:focusableInTouchMode"

  16. 16

    Check for usage of an XML Schema Collection?

  17. 17

    Practical examples of generating documentation/XML with Java's annotation processors

  18. 18

    Usage of defaultHtmlEscape web.xml in JSTL

  19. 19

    How to provide Host Key for Maven SSH usage in server.xml

  20. 20

    Parsing XML in node.js results in extreme memory usage

  21. 21

    XML Schema: usage of minOccurs and maxOccurs within xs:sequence

  22. 22

    Memory usage in creating python dict from xml using pattern

  23. 23

    Are there any usage examples for the OCaml ppx_xml_conv module

  24. 24

    Memory usage while parsing XML file into Google App Engine datastore

  25. 25

    MYSQL REPLACE in QUERY and CDATA output usage still causes broken XML

  26. 26

    DOS/Windows xmlstarlet usage with a String instead of a xml file

  27. 27

    What is the usage of reference attribute in castor-xml mapping file?

  28. 28

    xmllint usage - having a hard time getting xml attributes

  29. 29

    Error in Manifest.xml when adding PACKAGE_USAGE_STATS [Android Lollipop]

HotTag

Archive