OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Cannot write xml:lang to content.opf


I have specified an xml:lang value in a book element (i.e. not within an info tag) and need to write that value to the content.opf metadata element.

Here is my customisation:

<xsl:element namespace="http://purl.org/dc/elements/1.1/" name="dcterms:language">
               
<xsl:apply-templates
                  select="d:book[@xml:lang]|d:article[@xml:lang]|d:part[@xml:lang]" />
             
</xsl:element>

And all I get in content.opf is an empty element:

<dcterms:language xmlns:dcterms="http://purl.org/dc/elements/1.1/" />

What am I missing from the element selection syntax? I'm using 1.76.1, epub2. Thanks

--
Dave Gardiner



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]