Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FGDC to HTML XSLT simplification #122

Open
kgjenkins opened this issue Feb 22, 2022 · 0 comments
Open

FGDC to HTML XSLT simplification #122

kgjenkins opened this issue Feb 22, 2022 · 0 comments

Comments

@kgjenkins
Copy link
Collaborator

Trying to account for all the possibilities of the FGDC is a losing battle. At least, I've made my retreat, and we've been using a simplified XSL on our site.

Rather than relying on custom code for each element of the FGDC metadata structure, our stylesheet preserves the nesting structure of the XML elements, labeling each with the human-readable label found in a separate "fgdc_labels.xml" file. The result is a much-simplified XSL.

If you want to take a look, I cleaned out our institution-specific stuff, and put a copy in this gist:
https://gist.github.com/kgjenkins/fa8b46d619f1dd1d90befaadd1e793c3

What would you think about using an approach like that?

@thatbudakguy thatbudakguy changed the title FGDC XSLT simplification FGDC to HTML XSLT simplification Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant