XSLT transformation for schema documents
Posted: Thu Jan 26, 2006 9:38 pm
Hi there,
I have some TEI P5 documents that start like this:
<TEI xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.tei-c.org/ns/1.0 imt_p5.xsd" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.tei-c.org/ns/1.0" version="5.0">
When I run an XSLT transformation on them, the transformer doesn't seem to find the root element; no templates are applied. However, when I remove the attributes:
<TEI>
the transformation works. Any idea why?
Cheers,
Martin
I have some TEI P5 documents that start like this:
<TEI xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.tei-c.org/ns/1.0 imt_p5.xsd" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.tei-c.org/ns/1.0" version="5.0">
When I run an XSLT transformation on them, the transformer doesn't seem to find the root element; no templates are applied. However, when I remove the attributes:
<TEI>
the transformation works. Any idea why?
Cheers,
Martin