On Mon, 13 Jul 2009, Gigi Tse wrote:
> I want to add a field can show the URL on a record.
>
> As I know the MARC tag of URL is 8564_u. For example, I set a field
> "DEMOJOU_FILE". The Element Type is "text input", MARC tag is
> "8564_u".
>
> And change below Make_Record files:
>
> "createTemplate" added  "8564u::REPL(EOL,)---<datafield tag="856" ind1="4" 
> ind2=" "><subfield code="u"><:DEMOJOU_FILE:: 
> DEMOJOU_FILE:></subfield><subfield code="z">Access the 
> E-Journal/subfield></datafield>"
>
> "sourceTemplate" added "DEMOJOU_FILE---<: DEMOJOU_FILE:>"
>
> Am I do something wrong or missing something?

You are proceeding well, but you have a small XML error in your
template: ``E-Journal/subfield>'' should read ``E-Journal</subfield>''.
After you correct the missing `<', the submission should work just fine.

P.S. BTW, note that the elements named *_FILE are usually being used for
     the full-text file treatment; but this is not causing your problem,
     as you can name your elements freely.

Best regards
--
Tibor Simko ** CERN Document Server ** <http://cds.cern.ch/>

Reply via email to