Skip to content

aboutcode-org/sanexml

Repository files navigation

sanexml

This repo is a pure python implementation for lxml.

Installation

Requirements

  • Python 3.7 or later
pip install sanexml

Documentation

sanexml is a fallback library for lxml.etree module, so the functions have same names and parameters. This implementation is built on top of python's default xml library and BeautifulSoup4.

Below listed are the implemented functions.

  • XMLParser
  • clear
  • remove_attribute
  • Comment
  • dump
  • Element
  • ElementTree
  • fromstring
  • indent
  • iselement
  • parse
  • strip_attributes
  • strip_elements
  • strip_tags
  • SubElement
  • tostringlist
  • tostring
  • XPath

For documentation please refer to: https://lxml.de/tutorial.html

About

A pure python implementation for lxml.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors