|
72 | 72 | lookupLabel="Look up places."/> |
73 | 73 | <popup formName="placeTEI" elementName="placeName" label="New place"/> |
74 | 74 | <lookup |
75 | | - api="/exist/apps/majlis/api/search/persName?format=xml&collection=persons&wrapElement=author&q=" |
| 75 | + api="/exist/apps/majlis/api/search/persName?format=xml&collection=persons&wrapElement=tei%3Aauthor&q=" |
76 | 76 | formURL="forms/msSimple/lookup/author.xhtml" |
77 | 77 | elementName="author" |
78 | 78 | formName="author" |
|
101 | 101 | @collection - collections to be searched, should match collections in your data directory |
102 | 102 | @wrapElement - element that will contain the search results, if different from the name of the request |
103 | 103 | example the following searches all persNames, but returns results wrapped in author element for insertion into TEI record: |
104 | | - /exist/apps/majlis/api/search/persName?format=xml&wrapElement=author&q= |
| 104 | + /exist/apps/majlis/api/search/persName?format=xml&wrapElement=tei:author&q= |
105 | 105 | @q - query to search |
106 | 106 | elementName - the element that will trigger the lookup |
107 | 107 | formName - the name of the lookup form (usually uses same name as element, for simplicity) |
|
269 | 269 | <localSchema src="schemas/mss-codicological-definition.xml"/> |
270 | 270 | <globalSchema src="schemas/mss-codicological-definition.xml"/> |
271 | 271 | <xmlTemplate src="templates/full-mss-template.xml"/> |
272 | | - <lookup api="/exist/apps/majlis/api/search/biblWorksCitation?format=xml&collection=manuscripts&wrapElement=idno&q=" |
| 272 | + <lookup api="/exist/apps/majlis/api/search/biblWorksCitation?format=xml&collection=manuscripts&wrapElement=tei%3Aidno&q=" |
273 | 273 | elementName="bibl" |
274 | 274 | formName="bibl" |
275 | 275 | lookupLabel="Look up manuscript record"/> |
|
297 | 297 | <globalSchema src="schemas/mss-content-description.xml"/> |
298 | 298 | <xmlTemplate src="templates/full-mss-template.xml"/> |
299 | 299 | <lookup |
300 | | - api="/exist/apps/majlis/api/search/persName?format=xml&collection=persons&wrapElement=author&q=" |
| 300 | + api="/exist/apps/majlis/api/search/persName?format=xml&collection=persons&wrapElement=tei%3Aauthor&q=" |
301 | 301 | formURL="forms/msSimple/lookup/author.xhtml" |
302 | 302 | elementName="author" |
303 | 303 | formName="author" |
|
323 | 323 | <localSchema src="schemas/mss-writing-material.xml"/> |
324 | 324 | <globalSchema src="schemas/mss-compiled.odd"/> |
325 | 325 | <xmlTemplate src="templates/full-mss-template.xml"/> |
326 | | - <lookup api="/exist/apps/majlis/api/search/placeName?format=xml&wrapElement=origPlace&q=" formURL="forms/msSimple/lookup/placeName.xhtml" elementName="origPlace" formName="placeName" lookupLabel="Look up places"/> |
| 326 | + <lookup api="/exist/apps/majlis/api/search/placeName?format=xml&wrapElement=tei%3AorigPlace&q=" formURL="forms/msSimple/lookup/placeName.xhtml" elementName="origPlace" formName="placeName" lookupLabel="Look up places"/> |
327 | 327 | <formDesc>Describe the writing material, measurements and related additional properties of the manuscript.</formDesc> |
328 | 328 | <elementGroups> |
329 | 329 | <group groupLabel="Writing material of the manuscript." groupLabelConditionalElement="./*:material" |
|
525 | 525 | formName="bibl" |
526 | 526 | lookupLabel="Look up bibliographic record."/> |
527 | 527 | <lookup |
528 | | - api="/exist/apps/majlis/api/search/titleBibl?format=xml&collection=manuscripts&wrapElement=idno&q=" |
| 528 | + api="/exist/apps/majlis/api/search/titleBibl?format=xml&collection=manuscripts&wrapElement=tei%3Aidno&q=" |
529 | 529 | formURL="forms/msSimple/lookup/titleBibl.xhtml" |
530 | 530 | elementName="idno" |
531 | 531 | formName="idno" |
|
603 | 603 | <globalSchema src="schemas/mss-compiled.odd"/> |
604 | 604 | <xmlTemplate src="templates/full-mss-template.xml"/> |
605 | 605 | <formDesc>Describe the binding of the manuscript.</formDesc> |
606 | | - <lookup api="/exist/apps/majlis/api/search/placeName?format=xml&collection=places&wrapElement=origPlace&q=" |
| 606 | + <lookup api="/exist/apps/majlis/api/search/placeName?format=xml&collection=places&wrapElement=tei%3AorigPlace&q=" |
607 | 607 | formURL="forms/msSimple/lookup/placeName.xhtml" |
608 | 608 | elementName="origPlace" |
609 | 609 | formName="placeName" |
|
0 commit comments