XmlSnippetTests IgnoresLeadingJunk Method Delta Engine Documentation

Namespace: DeltaEngine.Content.Xml.Tests
Assembly: DeltaEngine.Content.Xml.Tests (in DeltaEngine.Content.Xml.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void IgnoresLeadingJunk()
Examples

[Test]
public void IgnoresLeadingJunk()
{
    var snippet = CreateTestXmlData().ToString();
    var xmlSnippet = new XmlSnippet("blahblah" + snippet);
    Assert.AreEqual(snippet, xmlSnippet.Root.ToString());
}
See Also