Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XML not showing in preview
Message
De
08/09/2008 12:22:36
 
 
À
08/09/2008 11:48:26
Information générale
Forum:
Level Extreme
Catégorie:
Autre
Divers
Thread ID:
01345781
Message ID:
01345796
Vues:
9
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform