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); } }
public void Convert(HtmlNode node, XmlWriter writer) { using (writer.StartElement("caption")) { using (writer.StartElement("title")) { var innerContent = new ParagraphContent(); innerContent.Convert(node, writer); } } }
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); } } }