xi:includes and xslt
Posted: Mon Sep 15, 2014 1:22 pm
Hi all,
I'd to manage metadata info with xi:includes.
so I included some info about the project like that, in my template file :
(...)
<publicationStmt>
(...)
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="http://src/ox-addon/authority.xml">
<xi:fallback>
<p>The authority statement should appear in this space.</p>
</xi:fallback>
</xi:include>
<idno/>
</publicationStmt>
authority.xml contains :
<?xml version="1.0" encoding="UTF-8"?>
<authority xmlns="http://www.tei-c.org/ns/1.0"> Organization</authority>
when I process my xslt, on the including xml file, the content of the include authority element is not processed.
what am I missing ?
emma
I'd to manage metadata info with xi:includes.
so I included some info about the project like that, in my template file :
(...)
<publicationStmt>
(...)
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="http://src/ox-addon/authority.xml">
<xi:fallback>
<p>The authority statement should appear in this space.</p>
</xi:fallback>
</xi:include>
<idno/>
</publicationStmt>
authority.xml contains :
<?xml version="1.0" encoding="UTF-8"?>
<authority xmlns="http://www.tei-c.org/ns/1.0"> Organization</authority>
when I process my xslt, on the including xml file, the content of the include authority element is not processed.
what am I missing ?
emma