Exemple #1
0
        public void Convert(HtmlAgilityPack.HtmlNode node, System.Xml.XmlWriter writer)
        {
            using (writer.StartElement("p"))
            {
                writer.WriteAttributeString("content-type", "2.2 Story Sub-head 3");

                var innerContent = new ParagraphContent();
                innerContent.Convert(node, writer);
            }
        }
Exemple #2
0
 public void Convert(HtmlNode node, XmlWriter writer)
 {
     using (writer.StartElement("caption"))
     {
         using (writer.StartElement("title"))
         {
             var innerContent = new ParagraphContent();
             innerContent.Convert(node, writer);
         }
     }
 }
Exemple #3
0
        public void Convert(HtmlNode node, XmlWriter writer)
        {
            using (writer.StartElement("disp-quote"))
            {
                using (writer.StartElement("p"))
                {
                    writer.WriteAttributeString("content-type", "2.3 Quote box");

                    var innerContent = new ParagraphContent();
                    innerContent.Convert(node, writer);
                }
            }
        }