Skip to content

abdulbadii/HTML-XML-Operations-Nim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Get, Remove or Copy Markup Language elements

Do such operations in a file by specifying the path

This should be of abbreviated Xpath syntax, e.g:

html/body/div[1]/div/div[2]

means find in a given HTML or XML file, the second div tag element node under every div element lies under the first div element, under any body element, under any html element.

html/body/div[3]//div[1]/div

means find in a given HTML or XML file, any div tag element node under the first div element lies at any depth under the third div element of any body element, under any html element.

It may be put in multiply one after another delimited by ; or |
For copying, append at the end the characters +> followed by the copy target path
e.g.

html/body/div[1]/div/div[2]+>html/body/div[3]//div[1]/div

About

Mark Up Language extraction, removal and copy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages