Linking to particular part / page of a html or xml file

I download some files in html or xml format, and would like to know if it is possible to have a link to a particular page (or even a selected passage)?

DevonThink Pro 3.0.1 - macOS 10.15.1

There is no page in HTML or XML files.

No, this is not possible to do. If you converted the XML to plain text or the HTML to plain or rich text, you could select a paragraph and use Copy Paragraph Link from the contextual menu.

There is a script you can use to accomplish this: