XML to XAML transformation using XSLT 1.0 | Exclude specific transformations for some controls
问题 Let say I have the following XML Code <PanelWrapper id="RootPanel" width="800" height="600" forecolor="Black"> <ButtonWrapper id="button" text="click!" forecolor="Black"> <TabIndex>0</TabIndex> <TabStop>True</TabStop> </ButtonWrapper> </PanelWrapper> This Code should be transformed into XAML Code using XSLT 1.0: <WrapPanel Name="RootPanel" Width="800" Height="600"> <Button Name="button" Content="click!" Foreground="Black" TabIndex="0" IsTabStop="True"> </Button> </WrapPanel> I'm currently