0

Attribute match is not allowed on this elementルートを除くこれらすべての要素 XAML でエラーが発生します。私は構文について何かが欠けていると思います...

<?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
       <xsl:output omit-xml-declaration="yes" indent="yes" />
       <xsl:strip-space elements="*" />
               <xsl:output method="html"/>
        <xsl:template match="/">  
            <html>
                <body>
                   <xsl:apply-templates match="/Table"/>
                    <xsl:apply-templates match="/Paragraph"/>
                    </body>
            </html>
            </xsl:template>

            <xsl:template match="Table">
                <table>
                    <xsl:apply-templates match="TableRowGroup"/>
                </table>
            </xsl:template>


            <xsl:template match="TableRowGroup">
                    <xsl:apply-templates match="TableRow"/>
            </xsl:template>


            <xsl:template match="TableRow">
                <tr>
                    <xsl:apply-templates match="TableCell"/>
                </tr>
            </xsl:template>


            <xsl:template match="TableCell">
                <td>
                </td>
            </xsl:template>

            </xsl:stylesheet>
4

1 に答える 1