Note that there are some explanatory texts on larger screens.

plurals
  1. POfacing problems during parsing HTML to XAML in WPF
    primarykey
    data
    text
    <p>I am using WPF Rich Editor Library open source control. which i got from <a href="http://wpfricheditorlibrary.codeplex.com/" rel="nofollow">http://wpfricheditorlibrary.codeplex.com/</a></p> <p>The XML parser of this control missing <code>&lt;Table.Columns&gt;</code> opening and closing attributes, which is very needful to create table in xaml.</p> <p>The required parsing output should be:</p> <pre><code> &lt;FlowDocument xml:space="preserve" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"&gt; &lt;Section FontFamily="tahoma" FontSize="11px"&gt;&lt;Paragraph&gt;&lt;LineBreak /&gt;&lt;/Paragraph&gt; &lt;Table&gt; **&lt;Table.Columns&gt;** &lt;TableColumn Width="100" /&gt; &lt;TableColumn Width="100" /&gt; &lt;TableColumn Width="100" /&gt; &lt;TableColumn Width="100" /&gt; &lt;TableColumn Width="100" /&gt; **&lt;/Table.Columns&gt;** &lt;TableRowGroup&gt; &lt;TableRow&gt; &lt;TableCell BorderThickness="1,1,1,1" BorderBrush="Black" ColumnSpan="1"&gt;&lt;Paragraph&gt;&lt;LineBreak /&gt;&lt;/Paragraph&gt;&lt;/TableCell&gt; &lt;TableCell BorderThickness="1,1,1,1" BorderBrush="Black" ColumnSpan="1"&gt;&lt;Paragraph&gt;&lt;LineBreak /&gt;&lt;/Paragraph&gt;&lt;/TableCell&gt; &lt;TableCell BorderThickness="1,1,1,1" BorderBrush="Black" ColumnSpan="1"&gt;&lt;Paragraph&gt;&lt;LineBreak /&gt;&lt;/Paragraph&gt;&lt;/TableCell&gt; &lt;TableCell BorderThickness="1,1,1,1" BorderBrush="Black" ColumnSpan="1"&gt;&lt;Paragraph&gt;&lt;LineBreak /&gt;&lt;/Paragraph&gt;&lt;/TableCell&gt; &lt;TableCell BorderThickness="1,1,1,1" BorderBrush="Black" ColumnSpan="1"&gt;&lt;Paragraph&gt;&lt;LineBreak /&gt;&lt;/Paragraph&gt;&lt;/TableCell&gt; &lt;/TableRow&gt; &lt;TableRow&gt; &lt;TableCell BorderThickness="1,1,1,1" BorderBrush="Black" ColumnSpan="1"&gt;&lt;Paragraph&gt;&lt;LineBreak /&gt;&lt;/Paragraph&gt;&lt;/TableCell&gt; &lt;TableCell BorderThickness="1,1,1,1" BorderBrush="Black" ColumnSpan="1"&gt;&lt;Paragraph&gt;&lt;LineBreak /&gt;&lt;/Paragraph&gt;&lt;/TableCell&gt; &lt;TableCell BorderThickness="1,1,1,1" BorderBrush="Black" ColumnSpan="1"&gt;&lt;Paragraph&gt;&lt;LineBreak /&gt;&lt;/Paragraph&gt;&lt;/TableCell&gt; &lt;TableCell BorderThickness="1,1,1,1" BorderBrush="Black" ColumnSpan="1"&gt;&lt;Paragraph&gt;&lt;LineBreak /&gt;&lt;/Paragraph&gt;&lt;/TableCell&gt; &lt;TableCell BorderThickness="1,1,1,1" BorderBrush="Black" ColumnSpan="1"&gt;&lt;Paragraph&gt;&lt;LineBreak /&gt;&lt;/Paragraph&gt;&lt;/TableCell&gt; &lt;/TableRow&gt; &lt;/TableRowGroup&gt; &lt;/Table&gt; &lt;Paragraph&gt; &lt;LineBreak /&gt; &lt;/Paragraph&gt; &lt;/Section&gt; &lt;/FlowDocument&gt; </code></pre> <p>but the xml parser return excluding <code>&lt;Table.Columns&gt;</code> tag:</p> <pre><code> &lt;FlowDocument xml:space="preserve" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"&gt; &lt;Section FontFamily="tahoma" FontSize="11px"&gt;&lt;Paragraph&gt;&lt;LineBreak /&gt;&lt;/Paragraph&gt; &lt;Table&gt; &lt;TableColumn Width="100" /&gt; &lt;TableColumn Width="100" /&gt; &lt;TableColumn Width="100" /&gt; &lt;TableColumn Width="100" /&gt; &lt;TableColumn Width="100" /&gt; &lt;TableRowGroup&gt; &lt;TableRow&gt; &lt;TableCell BorderThickness="1,1,1,1" BorderBrush="Black" ColumnSpan="1"&gt;&lt;Paragraph&gt;&lt;LineBreak /&gt;&lt;/Paragraph&gt;&lt;/TableCell&gt; &lt;TableCell BorderThickness="1,1,1,1" BorderBrush="Black" ColumnSpan="1"&gt;&lt;Paragraph&gt;&lt;LineBreak /&gt;&lt;/Paragraph&gt;&lt;/TableCell&gt; &lt;TableCell BorderThickness="1,1,1,1" BorderBrush="Black" ColumnSpan="1"&gt;&lt;Paragraph&gt;&lt;LineBreak /&gt;&lt;/Paragraph&gt;&lt;/TableCell&gt; &lt;TableCell BorderThickness="1,1,1,1" BorderBrush="Black" ColumnSpan="1"&gt;&lt;Paragraph&gt;&lt;LineBreak /&gt;&lt;/Paragraph&gt;&lt;/TableCell&gt; &lt;TableCell BorderThickness="1,1,1,1" BorderBrush="Black" ColumnSpan="1"&gt;&lt;Paragraph&gt;&lt;LineBreak /&gt;&lt;/Paragraph&gt;&lt;/TableCell&gt; &lt;/TableRow&gt; &lt;TableRow&gt; &lt;TableCell BorderThickness="1,1,1,1" BorderBrush="Black" ColumnSpan="1"&gt;&lt;Paragraph&gt;&lt;LineBreak /&gt;&lt;/Paragraph&gt;&lt;/TableCell&gt; &lt;TableCell BorderThickness="1,1,1,1" BorderBrush="Black" ColumnSpan="1"&gt;&lt;Paragraph&gt;&lt;LineBreak /&gt;&lt;/Paragraph&gt;&lt;/TableCell&gt; &lt;TableCell BorderThickness="1,1,1,1" BorderBrush="Black" ColumnSpan="1"&gt;&lt;Paragraph&gt;&lt;LineBreak /&gt;&lt;/Paragraph&gt;&lt;/TableCell&gt; &lt;TableCell BorderThickness="1,1,1,1" BorderBrush="Black" ColumnSpan="1"&gt;&lt;Paragraph&gt;&lt;LineBreak /&gt;&lt;/Paragraph&gt;&lt;/TableCell&gt; &lt;TableCell BorderThickness="1,1,1,1" BorderBrush="Black" ColumnSpan="1"&gt;&lt;Paragraph&gt;&lt;LineBreak /&gt;&lt;/Paragraph&gt;&lt;/TableCell&gt; &lt;/TableRow&gt; &lt;/TableRowGroup&gt; &lt;/Table&gt; &lt;Paragraph&gt; &lt;LineBreak /&gt; &lt;/Paragraph&gt; &lt;/Section&gt; &lt;/FlowDocument&gt; </code></pre> <p>Please suggest what should i do?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload