Coder Social home page Coder Social logo

minidom's People

Contributors

mightyiam avatar stuk avatar thibaultzanini avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

minidom's Issues

Set node.localName

Hey,

That's from DOM 2, but having localName available (even if as an alias to tagName) would make Minidom compatible with the Xpath library out of the box. I think. :-)

createRange support?

Is anyone aware of a minidom extension that supports createRange?
Is there interest in adding it to minidom?
Or should I simply create a package that depends on minidom and extends it?

Node 0.12 problem

When running some tests, I ran into an issue parsing a trivial DOM on Node 0.12, which was resolved by backtracking to Node 0.10. The issue manifested as an "unable to set length" error for a property that only has a getter. The trace originates at Array.prototype.slice.call(this._childNodes, &c in insertBefore.

minidom might be doing entities wrong

e.g., document.createTextNode("…") might be interpreting the entity instead of encoding. not sure. But there is definitely a difference in behavior between minidom and browser dom
in my usage at least.

from @kriskowal

Keep history, diff, etc.

How would you keep a history of changes in a minidom?

  • Make minidom manipulations (appendChild, etc.)
  • Register current minidom as a point in history (a history array of diffs?)
  • Revert to the last point in history (thus able to revert back to any point in history) (apply last diff?)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.