FGDC XML to HTML

From NGDCWiki

Jump to: navigation, search

Instructions for transforming an xml record to html format using Oxygen

  • Open the xml file in Oxygen.
  • Under the Document menu select Transformations > Configure Transformation Scenario (You can save your scenario so that next time you can reuse it.)

This window pops up. Image:ConfTransScenario.png

  • Change scenario to global and in pull down menu select XML transformation with XSLT. You are generating a new scenario so select New button.
  • FYI, below is the difference between global and project.

Image:Information.PNG

Image:NewScenario.PNG


  • In the Output tab choose Save as then enter the location of where you want the output file. The File icon can be used or the variable icon next to it. In the example below I’ve added a path followed by ${cfn}.html. This will set the path, call the file the same name as the xml but change the extension to .html.
  • Click the Open in Browser if you want. And uncheck the boxes in Show as
  • Click OK to save the scenario.

Image:EditScenario.PNG

  • Back to the first window. If your scenario is not selected, select it and click Transform now.

Image:ConfTransScenario2.png

Personal tools