Example EML doc knb-lter-vcr.89.5 has a SAS script included in the EML. John has it under
eml/dataset/additionalInfo/section/section/para/literalLayout
That appears in the metacat skin, although the display does not respect the literalLayout. (does not display like ```). That is not today's bug.
Looking at the eml spec, it seemed a more appropriate place to put code would be using the eml software tag. gastil_test.1.1 is in the dev metacat as an example. This is valid EML (according to oXygen) yet this does not properly display in the (dev) metacat skin. I put the SAS code under
Author Name: gastil gastil (gastil gastil) Original Redmine Issue: 5255, https://projects.ecoinformatics.org/ecoinfo/issues/5255 Original Date: 2010-12-13 Original Assignee: Margaret O'Brien
See http://dev.nceas.ucsb.edu/knb/metacat?action=read&qformat=lter&docid=gastil_test.1.1 and http://dev.nceas.ucsb.edu/knb/metacat?action=read&qformat=lter&docid=gastil_test.1.2
Example EML doc knb-lter-vcr.89.5 has a SAS script included in the EML. John has it under eml/dataset/additionalInfo/section/section/para/literalLayout
That appears in the metacat skin, although the display does not respect the literalLayout. (does not display like ```). That is not today's bug.
Looking at the eml spec, it seemed a more appropriate place to put code would be using the eml software tag. gastil_test.1.1 is in the dev metacat as an example. This is valid EML (according to oXygen) yet this does not properly display in the (dev) metacat skin. I put the SAS code under
method/methodStep/software/implementation/distribution/inline/CDATA
I tried that method section at the whole-dataset level gastil_test.1.1 and at the entity level gastil_test.1.2
The xslt template does not seem to handle either of these. Click on the "Inline Data" link and get this error: