Changeset 26219 for documentation
- Timestamp:
- 2012-09-19T19:56:14+12:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documentation/trunk/tutorials/xml-source/tutorial_en.xml
r26142 r26219 1046 1046 <NumberedItem> 1047 1047 <MajorVersion number="2"><Text id="fw-22-3">You can change the separator between the authors. Modify the format statement, and replace <Format><gsf:metadata name="dc.Creator" /></Format> with <Format><gsf:metadata name="dc.Creator" separator="&lt;br/&gt;" /></Format>. This will add a new line after each author (<Format>&lt;br/&gt;</Format> is the escaped version of <Format><br/></Format> which specifies a line break in HTML and XML). Preview the <AutoText key="coredm::_Global:labelCreator_" type="italics"/> list.</Text></MajorVersion> 1048 <MajorVersion number="3"><Text id="fw-22-3">You can change the separator between the authors. Modify the format statement, and replace <Format><gsf:metadata name="dc.Creator" /></Format> with <Format><gsf:metadata name="dc.Creator" separator=" "></Format>. This will add a space after each author. Preview the <AutoText key="coredm::_Global:labelCreator_" type="italics"/> list.</Text></MajorVersion> 1048 <MajorVersion number="3"> 1049 <Text id="fw-22-3">You can change the separator between the authors. Modify the format statement, and replace <Format><gsf:metadata name="dc.Creator" /></Format> with <Format><gsf:metadata name="dc.Creator" separator=" "></Format>. This will add a space after each author. Preview the <AutoText key="coredm::_Global:labelCreator_" type="italics"/> list. However, if you want a newline to separate each author, it requires a little more in order to escape the HTML newline (<br />) element: 1050 </Text> 1051 <Format> 1052 <gsf:metadata name="dc.Creator"><separator><br /></separator></gsf:metadata> 1053 </Format> 1054 <!--<Text id="fw-22-3a">If you wish to get the dc.Creator metadata of the current node's ancestors, then you'd specify it as:</Text> 1055 <Format> 1056 <gsf:metadata name="dc.Creator" select="ancestors"><separator><br /></separator></gsf:metadata> 1057 </Format>--> 1058 </MajorVersion> 1049 1059 <Text id="fw-23">If you have done exercise <TutorialRef id="enhanced_word"/>, the collection will have both dc.Creator and ex.Creator metadata. To display the metadata values for both, you can use </Text> 1050 1060 <Format>
Note:
See TracChangeset
for help on using the changeset viewer.