FYI
I have made significant changes to the EAD 2002 XML => HTML 4.01 XSL
stylesheet (EAD_2002_HTML_conv-1.xsl). (details below)
Error messages will no longer be generated into HTML output when
container elements do not match "normal" coding patterns for dsc//did
children. This will allow older and unusual coding patterns to be
transformed without the necessity of recoding.
Please update accordingly.
Mike Ferrando
Library of Congress
Washington, DC
EAD 1.0 to 2002 Conversion Toolkit
http://lcweb2.loc.gov/music/eadmusic/eadconv12/ead2002_r.htm
XSL Stylesheets
http://lcweb2.loc.gov/music/eadmusic/eadconv12/ead2002_r.htm#style_xsl
ead_2002_html_1.zip
http://lcweb2.loc.gov/music/eadmusic/eadconv12/ead_2002_html_1.zip
=>EAD_2002_HTML_conv-1.xsl
1. dsc//did coding patterns in accords with most uses (and given in
examples on the Library of Congress Best Practices current draft),
will be transformed as inline data. (container and unitid [when
relevant])
EAD:
<did>
<container/>
<unittitle/>
<container/>
<physdesc/>
</did>
HTML:
<TR>
<TD>
<container/>
</TD>
<TD>
<unittitle/>
</TD>
</TR>
<TR>
<TD>
<container/>
</TD>
<TD>
<physdesc/>
</TD>
</TR>
2.dsc//did coding patterns that do not match these, will transform
siblings as they occur in their own rows. This will also occur for
the description of series which is pulled from the
dsc[child::*[@level='series' or
@level='subseries'][child::scopecontent]].
EAD:
<did>
<container/>
<unittitle/>
<container/>
<physdesc/>
<container/>
</did>
HTML:
<TR>
<TD>
<container/>
</TD>
<TD>
<unittitle/>
</TD>
</TR>
<TR>
<TD>
<container/>
</TD>
<TD>
<physdesc/>
</TD>
</TR>
<TR>
<TD>
</TD>
<TD>
<container/>
</TD>
</TR>
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail
|