Changeset 26219 for documentation/trunk


Ignore:
Timestamp:
2012-09-19T19:56:14+12:00 (12 years ago)
Author:
ak19
Message:

Forgot to update with instructions on Kathy's fix to allow the html newline/break as separator between metadata (like author metadata) again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentation/trunk/tutorials/xml-source/tutorial_en.xml

    r26142 r26219  
    10461046<NumberedItem>
    10471047<MajorVersion number="2"><Text id="fw-22-3">You can change the separator between the authors. Modify the format statement, and replace <Format>&lt;gsf:metadata name=&quot;dc.Creator&quot; /&gt;</Format> with <Format>&lt;gsf:metadata name=&quot;dc.Creator&quot; separator=&quot;&amp;lt;br/&amp;gt;&quot; /&gt;</Format>. This will add a new line after each author (<Format>&amp;lt;br/&amp;gt;</Format> is the escaped version of <Format>&lt;br/&gt;</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>&lt;gsf:metadata name=&quot;dc.Creator&quot; /&gt;</Format> with <Format>&lt;gsf:metadata name=&quot;dc.Creator&quot; separator=&quot; &quot;&gt;</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>&lt;gsf:metadata name=&quot;dc.Creator&quot; /&gt;</Format> with <Format>&lt;gsf:metadata name=&quot;dc.Creator&quot; separator=&quot; &quot;&gt;</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 (&lt;br /&gt;) element:
     1050</Text>
     1051<Format>
     1052&lt;gsf:metadata name=&quot;dc.Creator&quot;&gt;&lt;separator&gt;&lt;br /&gt;&lt;/separator&gt;&lt;/gsf:metadata&gt;
     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&lt;gsf:metadata name=&quot;dc.Creator&quot; select=&quot;ancestors&quot;&gt;&lt;separator&gt;&lt;br /&gt;&lt;/separator&gt;&lt;/gsf:metadata&gt;
     1057</Format>-->
     1058</MajorVersion>
    10491059<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>
    10501060<Format>
Note: See TracChangeset for help on using the changeset viewer.