我必须使用 XSLT 从 XML 创建 Windows Phone 页面。这是 windows phone 页面中第一行的外观:
<phone:PhoneApplicationPage
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:RssPhoneApp_ViewModels="clr-namespace:RssPhoneApp.ViewModels"
x:Class="RssPhoneApp.MainPage"
mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768"
SupportedOrientations="Portrait" Orientation="Portrait"
shell:SystemTray.IsVisible="True">
而且我不知道如何在 phone:PhoneApplicationPage 和xmlns属性中使用“phone”前缀进行管理。我不知道这应该如何工作。