Menu

#46 xslt error with explicit namespace(s)

open
yugan
Frontend (30)
5
2012-10-08
2012-10-08
No

the following fragment cannot be transformed when any format is added, e.g. Standard <> w:t

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<w:document xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main">
<w:body>
<w:p w:rsidR="000B1630" w:rsidRPr="000B1630" w:rsidRDefault="000B1630" w:rsidP="003630DE">
<w:pPr>
<w:pStyle w:val="Heading1"/>
<w:jc w:val="center"/>
</w:pPr>
<w:r w:rsidRPr="000B1630">
<w:t>Der Zauberlehrling</w:t>
</w:r>
</w:p>
</w:body>
</w:document>
===

in contrast the same example with a default namespace works fine

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<document xmlns="http://schemas.openxmlformats.org/wordprocessingml/2006/main">
<body>
<p rsidR="000B1630" rsidRPr="000B1630" rsidRDefault="000B1630" rsidP="003630DE">
<pPr>
<pStyle val="Heading1"/>
<jc val="center"/>
</pPr>
<r rsidRPr="000B1630">
<t>Der Zauberlehrling</t>
</r>
</p>
</body>
</document>
===

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.