dotnet / dotnet/dotnet-api-docs

More information on results

Open
#1,072 0 comments 0 reactions 0 assignees View on GitHub
area-System.Xml dotnet-api/prod Pri2 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

I tried to follow the above example but i got different result when I implemented it on web app. Below is what I got:
**********************************************************
{<!-- comment at the root level -->
<Root>
<Child>Content</Child>
</Root>}
BaseUri: ""
Declaration: {<?xml version="1.0"?>}
Document: {<!-- comment at the root level -->
<Root>
<Child>Content</Child>
</Root>}
DocumentType: null
FirstNode: {<!-- comment at the root level -->}
LastNode: {<Root>
<Child>Content</Child>
</Root>}
NextNode: null
NodeType: Document
Parent: null
PreviousNode: null
Root: {<Root>
<Child>Content</Child>
</Root>}
********************************************************************

Is there a way to get exactly result like the one shown on the above example?

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: f0eef42c-131f-9f37-a86f-e19fd55aca84
* Version Independent ID: a14b7adf-dd17-7820-b94f-26aeb100d602
* Content: [XDocument.Parse Method (System.Xml.Linq)](https://docs.microsoft.com/en-us/dotnet/api/system.xml.linq.xdocument.parse?view=netframework-4.7.2#System_Xml_Linq_XDocument_Parse_System_String_)
* Content Source: [xml/System.Xml.Linq/XDocument.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Xml.Linq/XDocument.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.