User Tools

Site Tools


using_oxygen

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
using_oxygen [2019/11/19 18:50]
127.0.0.1 external edit
using_oxygen [2024/05/08 15:13] (current)
jeremy
Line 4: Line 4:
 Here are some suggestions for setting up oXygen to make it easier to use  Here are some suggestions for setting up oXygen to make it easier to use 
  
-**Add templates** +**Change the default file-type** 
-in //Options>Preferences>Editor>​Templates>​Document Templates// +in the x:\ directory of the UPP XML & TIFF records right-click on an xml file and select  
-add the 4 templates located in: W:​\university_photographs_project\templates+//Open with//>//Choose default program//>//Browse for oXygen//.
  
 **Prompt on save** **Prompt on save**
Line 23: Line 23:
 in //​Options>​Editor>​Format//​ in //​Options>​Editor>​Format//​
 "​Indent on enter" & "​Enable smart enter" are all selected "​Indent on enter" & "​Enable smart enter" are all selected
 +
 +**Open last edited files**
 +in //​Options>​Preferences>​Global//​
 +make sure “Open last edited files from project” is selected.
  
 ==== Getting Started ==== ==== Getting Started ====
Line 29: Line 33:
 To start a MODS record, select **New -> From templates** and choose the appropriate MODS template: To start a MODS record, select **New -> From templates** and choose the appropriate MODS template:
  
-{{ :mods_newfile.png?500 |Start a new MODS record}}+{{:oxygen_templates.png?​500|Start a new MODS record ​from a template}}
  
-Once you have the template open, you can edit just as you would a text document in a word processor. ​ The template is tailored to your object’s genre and should include most necessary elements. ​  ​The elements with text in CAPS are prompting you to enter information about the object you’re describing. ​+ 
 +Once you have the template open, you can edit just as you would a text document in a word processor. ​ The template is tailored to your object’s genre and should include most necessary elements. The elements with text in CAPS are prompting you to enter information about the object you’re describing. NOTE: make sure to "Save as" before editing the template.
  
 If you need to add elements or attributes, here are some handy tools: If you need to add elements or attributes, here are some handy tools:
Line 41: Line 46:
 The right-hand side of the oXygen window should have two helpful views, “Model” and “Elements.” ​ The “Model” shows the rules of each element as they are defined in the schema. ​ The “Elements” view is a list of all the available sub-elements of an element. ​ By double-clicking on an element in the “Elements” view, that element appears in the document you’re editing. ​ To get information about an element in these views, place the cursor on a tag in your document. ​   ​ The right-hand side of the oXygen window should have two helpful views, “Model” and “Elements.” ​ The “Model” shows the rules of each element as they are defined in the schema. ​ The “Elements” view is a list of all the available sub-elements of an element. ​ By double-clicking on an element in the “Elements” view, that element appears in the document you’re editing. ​ To get information about an element in these views, place the cursor on a tag in your document. ​   ​
  
-{{ :oxy_views_right.png?550 |The Model and Elements views}}+{{:oxygen_model_elements.png?500|The Model and Elements views}}
  
 ==== Content Completion ==== ==== Content Completion ====
  
  
-oXygen will also make suggestions about elements as you type.  For example, if you enter an element that has attributes, after you complete the text of the tag, a drop-down list will appear with the allowable attributes and, if they’re prescribed by the schema, a list of the attributes’ text too+oXygen will also make suggestions about elements as you type.  For example, if you enter an element that has attributes, after you complete the text of the tag, a drop-down list will appear with the allowable attributes and, if they’re prescribed by the schema, a list of the attributes’ text too. 
- +{{:oxygen_suggestions.png?500|Attribute Suggestion Box}}
-{{ :oxy_suggest.png |Suggestions for attribute text}}+
  
 ==== Validation ==== ==== Validation ====
Line 56: Line 60:
 oXygen also validates your document as you type.  If you see a red box appear in the corner of the editing window and a red squiggly line under an element, there is a validation problem. ​ The error message will appear at the bottom of the editor: ​ oXygen also validates your document as you type.  If you see a red box appear in the corner of the editing window and a red squiggly line under an element, there is a validation problem. ​ The error message will appear at the bottom of the editor: ​
  
-{{ :oxy_invalid.png?500 |An invalid document}}+{{:oxygen_invalid.png?500|An invalid document}}
  
 Simply fix the validation error and the square should turn green: Simply fix the validation error and the square should turn green:
  
-{{ :oxy_valid.png?500 |A valid document}}+{{:oxygen_valid_record.png?500|A valid document}}
using_oxygen.1574189434.txt.gz · Last modified: 2019/11/19 18:50 by 127.0.0.1