Predefinição:Marcxml: mudanças entre as edições

De Wikincat
Ir para navegação Ir para pesquisar
Sem resumo de edição
(replacing RegexFun > RegexFunctions)
Linha 13: Linha 13:
|searchlabel=… mais resultados
|searchlabel=… mais resultados
|sep=@@@@
|sep=@@@@
}}|@@@@|@Control field data@|{{#regex:@Control field data@|/(.*)#(\d{3})\s\((.*)\)/|<controlfield tag="$2">$3</controlfield>}}|}}{{#replace:{{#replace:{{#ask:[[-Has subobject::{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}]][[Field data::+]]
}}|@@@@|@Control field data@|{{#rreplace:@Control field data@|/(.*)#(\d{3})\s\((.*)\)/|{{#tag:controlfield|$3|tag=$2}}}}|}}{{#replace:{{#replace:{{#ask:[[-Has subobject::{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}]][[Field data::+]]
|?Field data
|?Field data
|format=plainlist
|format=plainlist
Linha 37: Linha 37:
<?xml version="1.0" encoding="UTF-8"?><br />
<?xml version="1.0" encoding="UTF-8"?><br />
<record xmlns="<nowiki>http://www.loc.gov/MARC21/slim</nowiki>"><br />
<record xmlns="<nowiki>http://www.loc.gov/MARC21/slim</nowiki>"><br />
  {{#regex:{{#regex:<leader>{{#replace:{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#000
  {{#rreplace:{{#rreplace:<leader>{{#replace:{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#000
|?Leader#
|?Leader#
|format=plainlist
|format=plainlist
Linha 52: Linha 52:
|searchlabel=… mais resultados
|searchlabel=… mais resultados
|sep=@@@@
|sep=@@@@
}}|@@@@|@Control field data@|{{#regex:@Control field data@|/(.*)#(\d{3})\s\((.*)\)/|  <controlfield tag="$2">$3</controlfield>}}|<br />}}<br />
}}|@@@@|@Control field data@|{{#rreplace:@Control field data@|/(.*)#(\d{3})\s\((.*)\)/|  {{#tag:controlfield|$3|tag=$2}}}}|<br />}}<br />
{{#ask:[[-Has subobject::{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}]][[Field data::+]]
{{#ask:[[-Has subobject::{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}]][[Field data::+]]
|?Field data
|?Field data
Linha 63: Linha 63:
|template=Marcxml/PrettyFieldBreaker
|template=Marcxml/PrettyFieldBreaker
}}
}}
</record>|/="(\d{1,3})"/|="<b>$1</b>"}}|/="([a-z])"/|="<b style="color:blue;">$1</b>"}}{{DISPLAYTITLE:MARCXML}}</noinclude>
</record>|/="(\d{1,3})"/|="<b>$1</b>"}}|/="([a-z])"/|="{{#tag:b|$1|style=color:blue;}}"}}{{DISPLAYTITLE:MARCXML}}</noinclude>

Edição das 09h40min de 6 de janeiro de 2023

> Exportar registro


<?xml version="1.0" encoding="UTF-8"?>
<record xmlns="http://www.loc.gov/MARC21/slim">