M
moroder
Hi,
I'd like to rewrite this (some might recognize it as MarcXML)
....
<datafield tag="245" ind1="0" ind2="0">
<subfield code="a">Corpus Rubenianum Ludwig Burchard :</subfield>
<subfield code="b">an illustrated catalogue raisonné of the work of Peter
Paul Rubens.</subfield>
<subfield code="n">P.2,</subfield>
....
</datafield>
...
to this
....
<data245 ind1="0" ind2="0">
<suba>Corpus Rubenianum Ludwig Burchard :</suba>
<subb>an illustrated catalogue raisonné of the work of Peter Paul
Rubens.</subb>
...
Any tips? I've done things like this
<xsl:template match="@code"><xsl:element name="c{.}"><xsl:value-of
select="parent::node()"/></xsl:element></xsl:template>
but I get only halfway, and get duplicate values allover the place, and...
etc :-(
Thanks!
moro
I'd like to rewrite this (some might recognize it as MarcXML)
....
<datafield tag="245" ind1="0" ind2="0">
<subfield code="a">Corpus Rubenianum Ludwig Burchard :</subfield>
<subfield code="b">an illustrated catalogue raisonné of the work of Peter
Paul Rubens.</subfield>
<subfield code="n">P.2,</subfield>
....
</datafield>
...
to this
....
<data245 ind1="0" ind2="0">
<suba>Corpus Rubenianum Ludwig Burchard :</suba>
<subb>an illustrated catalogue raisonné of the work of Peter Paul
Rubens.</subb>
...
Any tips? I've done things like this
<xsl:template match="@code"><xsl:element name="c{.}"><xsl:value-of
select="parent::node()"/></xsl:element></xsl:template>
but I get only halfway, and get duplicate values allover the place, and...
etc :-(
Thanks!
moro