{
  "version": "https://jsonfeed.org/version/1.1",
  "title": "chem-bla-ics",
  "description": "Chemblaics (pronounced chem-bla-ics) is the science that uses open science and computers to solve problems in chemistry, biochemistry and related fields.",
  "home_page_url": "https://chem-bla-ics.linkedchemistry.info/",
  "feed_url": "https://chem-bla-ics.linkedchemistry.info/2008/08/26/metware-screenshot-propagating-xml.json",
  "icon": "https://chem-bla-ics.linkedchemistry.info/assets/images/chem-bla-ics_logo.png",
  "language": "en",
  "authors": [
    {
      "name": "Egon Willighagen",
      "url": "https://orcid.org/0000-0001-7542-0286",
      "_orcid": "0000-0001-7542-0286"
    }
  ],
  "items": [

    {
      "id": "https://doi.org/10.59350/9se4x-ewm11",
      "url": "https://chem-bla-ics.linkedchemistry.info/2008/08/26/metware-screenshot-propagating-xml.html",
      "title": "MetWare screenshot: propagating XML Schema data types",
      "content_html": "<p>Just a quick screenshot. Remember our use of <a href=\"https://chem-bla-ics.linkedchemistry.info/2008/05/16/metware-status-report.html\">SKOS in MetWare <i class=\"fa-solid fa-recycle fa-xs\"></i></a>?\n<a href=\"https://chem-bla-ics.linkedchemistry.info/2008/08/26/metware-screenshot-propagating-xml.html\">Steffen <i class=\"fa-solid fa-recycle fa-xs\"></i></a> has been working on creating integrated\n<a href=\"http://en.wikipedia.org/wiki/JavaServer_Faces\">JSF pages</a>, while I am focusing on autogeneration of blobs. The below screenshot is\nsuch a blob, called a UI component in JSF, which allows easy embedding the the aggregations Steffen is working on.</p>\n\n<p>Autogeneration of web content benefits greatly from well defined input, including data types.\n<a href=\"http://www.metware.org/\">MetWare</a> uses <a href=\"http://en.wikipedia.org/wiki/XML_Schema_(W3C)#Data_Types\">XML Schema Data Types</a>\nfor this, as <a href=\"https://chem-bla-ics.linkedchemistry.info/2008/08/21/metware-screenshot-spectrum-support-2.html\">mentioned ealier <i class=\"fa-solid fa-recycle fa-xs\"></i></a> when I briefly\nmentioned generation of search pages. That example showed the creation of range input on <code class=\"language-plaintext highlighter-rouge\">xsd:integer</code> types. The below screenshot\nshows the different output for <code class=\"language-plaintext highlighter-rouge\">xsd:string</code> (input text box) and <code class=\"language-plaintext highlighter-rouge\">xsd:boolean</code>:</p>\n\n<p><img src=\"/assets/images/boolDataType.png\" alt=\"\" /></p>\n\n<p>Now, this example is not really shocking, but MetWare defines additional types, for example an InChI data type:</p>\n\n<div class=\"language-xml highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code><span class=\"nt\">&lt;simpleType</span> <span class=\"na\">name=</span><span class=\"s\">\"inchi\"</span><span class=\"nt\">&gt;</span>\n  <span class=\"nt\">&lt;restriction</span> <span class=\"na\">base=</span><span class=\"s\">\"string\"</span><span class=\"nt\">&gt;</span>\n    <span class=\"nt\">&lt;pattern</span> <span class=\"na\">value=</span><span class=\"s\">\"InChI=1/.*\"</span><span class=\"nt\">/&gt;</span>\n  <span class=\"nt\">&lt;/restriction&gt;</span>\n<span class=\"nt\">&lt;/simpleType&gt;</span>\n</code></pre></div></div>\n\n<p>This allows me to tweak the HTML output created by the JSF pages to include <a href=\"http://microformats.org/\">microformats</a> to support\nthe <a href=\"https://chem-bla-ics.linkedchemistry.info/2007/05/05/cb-comments-for-inchis.html\">Sechemtic <i class=\"fa-solid fa-recycle fa-xs\"></i></a> userscript (see also\ndoi:<a href=\"https://doi.org/10.1186/1471-2105-8-487\">10.1186/1471-2105-8-487</a>).</p>\n\n<p>Or, to provide a drop down box, listing the allowed values:</p>\n\n<div class=\"language-xml highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code><span class=\"nt\">&lt;simpleType</span> <span class=\"na\">name=</span><span class=\"s\">\"deviceVendor\"</span><span class=\"nt\">&gt;</span>\n  <span class=\"nt\">&lt;restriction</span> <span class=\"na\">base=</span><span class=\"s\">\"string\"</span><span class=\"nt\">&gt;</span>\n    <span class=\"nt\">&lt;enumeration</span> <span class=\"na\">value=</span><span class=\"s\">\"BioCrates\"</span><span class=\"nt\">/&gt;</span>\n    <span class=\"nt\">&lt;enumeration</span> <span class=\"na\">value=</span><span class=\"s\">\"Bruecker\"</span><span class=\"nt\">/&gt;</span>\n  <span class=\"nt\">&lt;/restriction&gt;</span>\n<span class=\"nt\">&lt;/simpleType&gt;</span>\n</code></pre></div></div>\n\n<h4>References</h4>\n<div class=\"csl-bib-body\">\n    <div class=\"csl-entry\">Willighagen, E. L., O’Boyle, N. M., Gopalakrishnan, H., Jiao, D., Guha, R., Steinbeck, C., &#38; Wild, D. J. (2007). Userscripts for the Life Sciences. <i>BMC Bioinformatics</i>, <i>8</i>(1). https://doi.org/10.1186/1471-2105-8-487 <a href=\"https://doi.org/10.1186/1471-2105-8-487\">CrossRef</a> <a href=\"https://qlever.scholia.wiki/doi/10.1186/1471-2105-8-487\">Scholia</a></div>\n  </div>",
      "summary": "Just a quick screenshot. Remember our use of SKOS in MetWare ? Steffen has been working on creating integrated JSF pages, while I am focusing on autogeneration of blobs. The below screenshot is such a blob, called a UI component in JSF, which allows easy embedding the the aggregations Steffen is working on.",
      "image": "https://chem-bla-ics.linkedchemistry.info/assets/images/boolDataType.png",
      "date_published": "2008-08-26T00:00:00+00:00",
      "date_modified": "2025-08-26T00:00:00+00:00",
      "tags": ["metware","xml","skos"],
      "_references": [
        
          
          
            { "url": "https://doi.org/10.1186/1471-2105-8-487", "doi": "10.1186/1471-2105-8-487"
             }
            
          
        ],
      
      
      
      
      
      
        "authors": [ { "name": "Egon Willighagen", "url": "https://orcid.org/0000-0001-7542-0286" } ]
      
    }

  ]
}
