xsl:template match doesn't find matches

后端 未结 3 760
没有蜡笔的小新
没有蜡笔的小新 2021-02-20 08:05

I\'m trying to convert some Xaml to HTML using the .NET XslCompiledTransform and am running into difficulties getting the xslt to match Xaml tags. For instance with this Xaml i

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-20 08:22

    It works when I remove this from your source document:

    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    

    I don't believe your last two templates are matching at all. (You can test by putting something like a wrapping

    in your FlowDocument template.)

提交回复
热议问题