Commit eeae9dda authored by James Coyle's avatar James Coyle

Updated README

parent 434c61eb
......@@ -27,16 +27,16 @@ json:
```
{
"Name": "MigraDocXML",
"Positives": [
"Simple to learn",
"Easily readable design layouts",
"Full cascading style system",
"Support for PDFSharp graphics",
"Includes a powerful lightweight expression evaluator",
"Regular updates"
],
"Negatives": [
]
"Positives": [
"Simple to learn",
"Easily readable design layouts",
"Full cascading style system",
"Support for PDFSharp graphics",
"Includes a powerful lightweight expression evaluator",
"Regular updates"
],
"Negatives": [
]
}
```
......@@ -44,28 +44,28 @@ xml:
```
<?xml version="1.0"?>
<Document xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://gitlab.com/jamescoyle/MigraDocXML/raw/master/MigraDocXML/schema.xsd">
xsi:noNamespaceSchemaLocation="https://gitlab.com/jamescoyle/MigraDocXML/raw/master/MigraDocXML/schema.xsd">
<Style Target="p">
<Setters Format.Font.Name="Calibri" Format.SpaceBefore="2mm" Format.SpaceAfter="2mm"/>
</Style>
<Style Target="p" Name="Heading">
<Setters Format.Font.Bold="true" Format.Font.Underline="Single"/>
</Style>
<Style Target="p" Name="Heading">
<Setters Format.Font.Bold="true" Format.Font.Underline="Single"/>
</Style>
<Section>
<p Style="Heading" Format.Font.Size="15" Format.Alignment="Center">Reasons you should use {Model.Name}</p>
<p Style="Heading" Format.Font.Size="15" Format.Alignment="Center">Reasons you should use {Model.Name}</p>
<p Style="Heading">Positives:</p>
<ForEach Var="positive" In="Model.Positives.OrderByDesc(x => x.Length)">
<p>{positive}</p>
</ForEach>
<p Style="Heading">Positives:</p>
<ForEach Var="positive" In="Model.Positives.OrderByDesc(x => x.Length)">
<p>{positive}</p>
</ForEach>
<p Style="Heading">Negatives:</p>
<ForEach Var="negative" In="Model.Negatives">
<p>{negative}</p>
</ForEach>
<p Style="Heading">Negatives:</p>
<ForEach Var="negative" In="Model.Negatives">
<p>{negative}</p>
</ForEach>
</Section>
</Document>
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment