Create a gist now

Instantly share code, notes, and snippets.

@kou-yeung /Sample.cs Secret
Last active Dec 21, 2017

What would you like to do?
// OverrideXml を使ってXmlAttributeOverrides を構築するメソッド
public XmlAttributeOverrides GetOverrides()
{
return new OverrideXml()
.Override<Table>()
.XmlRoot("table")
.Member("border").XmlAttribute("border")
.Member("tr").XmlElement("tr")
.Override<TR>()
.Member("td").XmlElement("td")
.Override<TD>()
.Member("value").XmlText()
.Commit();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment