John-Rees / aspace-migrations

1 stars 0 forks source link

Split multiple boxes into 2 <containers> and add ids #31

Open John-Rees opened 4 years ago

John-Rees commented 4 years ago

Find multiple containers <container type="box">\d*-

  1. Run add-aspace-just-one-id.xslt to produce necessary ids. Will only produce one ID for single container

  2. Split instances like <container type="box">1-2</container> using yale-add-multiple-containers.xslt

to

<container id="c1" type="box">1</container> <container id="c2" type="box">2</container>

XSLT will then also add unique ID following #1 without parent attributes so ASpace will import multiple top containers

Each must have an id