Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XML not showing in preview
Message
From
08/09/2008 12:22:36
 
 
General information
Forum:
Level Extreme
Category:
Other
Miscellaneous
Thread ID:
01345781
Message ID:
01345796
Views:
8
>Hi,
>Below is an XML fragment wrapped in 'pre' tags. In preview it's not visible (with or without enclosing pre tags)
>
>  <!--
>    <Window.Background>
>        <VisualBrush>
>            <VisualBrush.Visual>
>                <MediaElement Source="intro.wmv" />
>            </VisualBrush.Visual>
>        </VisualBrush>
>    </Window.Background>
>    <Window.Title>Test 1</Window.Title>
>    -->
>
>  <!--<Window.Style>
>        <Style TargetType="{x:Type Window}" >
>            <Setter Property="Background">
>                <Setter.Value>
>                    Red
>                </Setter.Value>
>            </Setter>
>        </Style>
>    </Window.Style>
>    -->
>
>
>
>

>
>And here's another junk that *does* show up:
>
><Test>This is a test</Test>
>
>I've no idea whether the first section will actually be visible when posted but, if it is, can someone tell me why it doesn't show up in preview?
>
>UPDATE: OK - in the posted version two commented-out sections ARE visible. The post included another section that was *not* commented and that isn't visible (in preview mode before sending nothing was visible)

UPDATE 2: Looking at the source HTML of this it appears that my closing pre tag in the first sample was actually before the final section of XML that did not appear. So the problem may be reduced to the fact that the first example did not appear at all in the preview window before posting although viewing the post afterwards would work as expected
>TIA,
>Viv
Previous
Reply
Map
View

Click here to load this message in the networking platform