{"id":1219,"date":"2013-05-06T05:45:09","date_gmt":"2013-05-05T19:45:09","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=1219"},"modified":"2013-05-06T05:45:09","modified_gmt":"2013-05-05T19:45:09","slug":"xml-with-xslt-via-html-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/xml-with-xslt-via-html-primer-tutorial\/","title":{"rendered":"XML with XSLT via HTML Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/XML\/HTML\/country_state.htm\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"XML with XSLT via HTML Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/XML\/HTML\/XML_XSLT_HTML_Primer.jpg\" title=\"XML with XSLT via HTML Primer Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">XML with XSLT via HTML Primer Tutorial<\/p><\/div>\n<p>XML is a very useful protocol used in many circumstances.  XML is interfaced with many programming languages and database SQL functionality, as well as Ajax functionality and Web Service functionality.  XML adds a layer of data intelligence that could contain your business logic that can augment your web applications.   XML can be styled in sophisticated ways with CSS and\/or XSLT (as for this tutorial &#8230; to be honest a better XSLT coder could do the commas in the numerical values, but I did this using Javascript).<\/p>\n<blockquote><p>Extensible Markup Language (XML) is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. It is defined in the XML 1.0 Specification[3] produced by the W3C, and several other related specifications,[4] all gratis open standards.[5]<\/p>\n<p>The design goals of XML emphasize simplicity, generality, and usability over the Internet.[6] It is a textual data format with strong support via Unicode for the languages of the world. Although the design of XML focuses on documents, it is widely used for the representation of arbitrary data structures, for example in web services.<\/p>\n<p>Many application programming interfaces (APIs) have been developed to aid software developers with processing XML data, and several schema systems exist to aid in the definition of XML-based languages.<\/p>\n<p>As of 2009, hundreds of document formats using XML syntax have been developed,[7] including RSS, Atom, SOAP, and XHTML. XML-based formats have become the default for many office-productivity tools, including Microsoft Office (Office Open XML), OpenOffice.org and LibreOffice (OpenDocument), and Apple&#8217;s iWork. XML has also been employed as the base language for communication protocols, such as XMPP.<\/p><\/blockquote>\n<p>So try this <a target=_blank title='XML in HTML' href='http:\/\/www.rjmprogramming.com.au\/XML\/HTML\/country_state.htm'>tutorial<\/a> to see XML with XSLT via HTML.<\/p>\n<p>Link to XML information via <a target=_blank title='XML' href='http:\/\/en.wikipedia.org\/wiki\/XML'>Wikipedia<\/a> as for quote above.<\/p>\n<blockquote><p>XSLT (Extensible Stylesheet Language Transformations) is a language for transforming XML documents into other XML documents,[1] or other objects such as HTML for web pages, plain text or into XSL Formatting Objects which can then be converted to PDF, PostScript and PNG.[2]<\/p>\n<p>The original document is not changed; rather, a new document is created based on the content of an existing one.[3] Typically, input documents are XML files, but anything from which the processor can build an XQuery and XPath Data Model can be used, for example relational database tables, or geographical information systems.[1]<\/p>\n<p>XSLT is a Turing-complete language, meaning it can perform any calculation that can be performed by a modern computer program.[4][5]<\/p><\/blockquote>\n<p>Link to XSLT information via <a target=_blank title='XML' href='http:\/\/en.wikipedia.org\/wiki\/XSLT'>Wikipedia<\/a> as for quote above.<br \/>\nLink to XML &#8220;spiritual home&#8221; via <a target=_blank title='XML at W3Schools' href='http:\/\/www.w3schools.com\/xml\/default.asp'>W3Schools<\/a>.<br \/>\nLink to XSLT &#8220;spiritual home&#8221; via <a target=_blank title='XML at W3Schools' href='http:\/\/www.w3schools.com\/xsl\/'>W3Schools<\/a>.<\/p>\n<p>Link to some downloadable code &#8230; rename to <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/XML\/HTML\/country_state.htm_GETME' title='Download me'>country_state.htm<\/a> and (just for reference purposes) <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/XML\/HTML\/country_state.xml_GETME' title='Download me'>country_state.xml<\/a> (same XML as in tutorial <a target=_blank title='Another XML Tutorial' href=http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=1120'>XML with HTML Primer Tutorial<\/a>).<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d1219' onclick='var dv=document.getElementById(\"d1219\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?s=XML\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d1219' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>XML is a very useful protocol used in many circumstances. XML is interfaced with many programming languages and database SQL functionality, as well as Ajax functionality and Web Service functionality. XML adds a layer of data intelligence that could contain &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/xml-with-xslt-via-html-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,37],"tags":[218,576,1210,1319,1480,1484],"class_list":["post-1219","post","type-post","status-publish","format-standard","hentry","category-elearning","category-tutorials","tag-code","tag-html","tag-style-sheet","tag-tutorial","tag-xml","tag-xslt"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/1219"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=1219"}],"version-history":[{"count":0,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/1219\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=1219"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=1219"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=1219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}