https://projects.ecoinformatics.org/ecoinfo/https://projects.ecoinformatics.org/ecoinfo/ecoinfo/favicon.ico?14691340362001-09-14T21:23:19ZEcoinformatics RedmineMetacat - Bug #280: provide support for multiple UI styles in metacathttps://projects.ecoinformatics.org/ecoinfo/issues/280?journal_id=9662001-09-14T21:23:19ZMatt Jonesjones@nceas.ucsb.edu
<ul></ul><p>This format doesn't support non-html transforms. In order for the target<br />doctype to also be specified, we could try something like:</p>
<p><?xml version="1.0"?><br /><style-set name="knb"><br /> <default-style>file://styles/generic-style.xsl</default-style><br /> <doctype publicid="-//NCEAS//eml-dataset-2.0//EN"><br /> <target publicid="-//HTML//EN">file://styles/dataset.xsl</target><br /> </doctype><br /> <doctype publicid="-//NCEAS//eml-dataset//EN"><br /> <target publicid="-//HTML//EN">file://styles/dataset.xsl</target><br /> </doctype><br /> <doctype publicid="-//NCEAS//eml-resource//EN"><br /> <target publicid="-//HTML//EN">file://styles/dataset.xsl</target><br /> </doctype><br /> <doctype publicid="-//NCEAS//eml-access-2.0//EN"><br /> <target publicid="-//HTML//EN">file://styles/access.xsl</target><br /> </doctype><br /></style-set></p> Metacat - Bug #280: provide support for multiple UI styles in metacathttps://projects.ecoinformatics.org/ecoinfo/issues/280?journal_id=9672001-09-14T23:45:17ZMatt Jonesjones@nceas.ucsb.edu
<ul></ul><p>Implemented. Need to update stylesheets to set the qformat parameter properly,<br />but otherwise this is finished.</p> Metacat - Bug #280: provide support for multiple UI styles in metacathttps://projects.ecoinformatics.org/ecoinfo/issues/280?journal_id=9682001-09-26T00:41:47ZMatt Jonesjones@nceas.ucsb.edu
<ul></ul><p>Need to implement a "generic" stylesheet for the case when no specific one is<br />available. Otherwise, completed.</p> Metacat - Bug #280: provide support for multiple UI styles in metacathttps://projects.ecoinformatics.org/ecoinfo/issues/280?journal_id=9692001-10-20T03:48:19ZMatt Jonesjones@nceas.ucsb.edu
<ul></ul><p>Added a new generic style sheet called "ascii-treeview.xsl" that can format any<br />XML document into an ascci-art tree for display. This is now used as the<br />default html transform in both knb.xml and nrs.xml when a more specific<br />transformation for a document type has not been provided. I also checked in a<br />'generic.xsl' stylesheet that tries to do the same thing but in a tabular form<br />-- it is not complete, but it is there if someone wants to work through the issues.</p>
<p>RESOLVED FIXED.</p> Metacat - Bug #280: provide support for multiple UI styles in metacathttps://projects.ecoinformatics.org/ecoinfo/issues/280?journal_id=9702013-03-27T21:13:51ZRedmine Admin
<ul></ul><p>Original Bugzilla ID was 280</p>