サンプル XML:
<xml version="1.0" encoding="UTF-8" standalone="yes"?>
<w:wordDocument xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml">
<w:styles>
<w:style w:type="paragraph" w:styleId="authoreditor2"><w:name w:val="author editor2" />
</w:style>
</w:styles>
<w:body>
<w:p>
<w:pPr>
<w:pStyle w:val="authoreditor2"/>
</w:pPr>
<w:r>
<w:t>Test</w:t>
</w:r>
</w:p>
</w:body>
</w:wordDocument>
サンプル出力:
<p class="author editor2>Test</p>;
xslt を使用して上記の出力を作成するには、サンプルの xslt ファイルが必要です。