B
B
brar2019-10-10 12:27:21
css
brar, 2019-10-10 12:27:21

How to find a column by its number in xml?

For a text editor, the xml file actually consists of one line.
How to find a column in it by its number? For example, 2055.
I did not find this in the mana of the xml_grep utility. Perhaps because the utility does not operate with such a concept as a column, this is understandable.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Sokolov, 2018-07-08
@sergiks

Throw random points and rotate them around a certain center, leaving a trail.
But there is still a foreground in the picture, which covers the blurred stars. You will need a mask that separates the foreground from the background.
And the visibility of the stars is proportional to the height above the horizon (they are not visible near the horizon, they are most noticeable from above against the background of a dark sky. You will need a gradient mask that removes the stars as you approach the horizon.
Specify which task you want to solve, what is at the input, what is at the output Are the stars animated, in what form is the original image?

I
Igor Ustyugov, 2019-10-10
@karp

$ cat t.xml
<xml><element>1</element><element>2</element><element>3</element><element>4</element><element>5</element></xml>
$ xmllint t.xml --xpath /xml/element[3]
<element>3</element>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question