Answer the question
In order to leave comments, you need to log in
xml. How to find a node by its value?
Hello! Faced such a problem: you need to find an element and access it by value, namely by InnerText.
Here is the file structure:
<?xml version="1.0" encoding="UTF-8"?>
-<head>
-<Klassi>
<klass>Класс 1</klass>
<klass>Класс 2</klass>
<klass>Класс 3</klass>
<klass>Класс 4</klass>
<klass>Класс 5</klass>
-<klass>
Класс 7
<gruppa>А</gruppa>
<gruppa>Б</gruppa>
<gruppa>В</gruppa>
</klass>
</Klassi>
</head>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question