Skip to content

Commit febce32

Browse files
committed
Add some missing xml dom APIs; remove some IE only ones.
1 parent b1e3243 commit febce32

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

src/Libraries/Web/Xml/XmlNode.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -137,31 +137,31 @@ public XmlNodeList GetElementsByTagName(string tagName) {
137137
return null;
138138
}
139139

140-
public bool HasChildNodes() {
140+
public bool HasAttributes() {
141141
return false;
142142
}
143143

144-
public XmlNode InsertBefore(XmlNode child, XmlNode refChild) {
145-
return null;
144+
public bool HasChildNodes() {
145+
return false;
146146
}
147147

148-
public XmlNode RemoveChild(XmlNode child) {
148+
public XmlNode InsertBefore(XmlNode child, XmlNode refChild) {
149149
return null;
150150
}
151151

152-
public XmlNode ReplaceChild(XmlNode child, XmlNode oldChild) {
152+
public XmlNode QuerySelector(string selector) {
153153
return null;
154154
}
155155

156-
public XmlNodeList SelectNodes(string xpath) {
156+
public XmlNodeList QuerySelectorAll(string selector) {
157157
return null;
158158
}
159159

160-
public XmlNode SelectSingleNode(string xpath) {
160+
public XmlNode RemoveChild(XmlNode child) {
161161
return null;
162162
}
163163

164-
public string TransformNode(XmlDocument stylesheet) {
164+
public XmlNode ReplaceChild(XmlNode child, XmlNode oldChild) {
165165
return null;
166166
}
167167
}

0 commit comments

Comments
 (0)