Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

can i use it with xmldom on nodejs #1

Closed
GoogleCodeExporter opened this issue Apr 1, 2015 · 3 comments
Closed

can i use it with xmldom on nodejs #1

GoogleCodeExporter opened this issue Apr 1, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

Because the the node lack of a native xml support.
So pure js xml lib on nodejs is very necessary.

The present, xmldom(https://npmjs.org/package/xmldom) can solve most of the xml 
parsing problem, but no xpath support.

Original issue reported on code.google.com by jind...@gmail.com on 7 Sep 2012 at 3:15

@GoogleCodeExporter
Copy link
Author

The current version of our library is intended to support HTML documents. The 
support for XML documents is incomplete. In particular, XPath function calls 
name(), namespace-uri() and lang() are not implemented. Also, variable 
reference is not implemented. You can try using it on XML documents and see 
what happens.

As far as I know, the following JavaScript XPath implementation provides 
namespace support: 
http://www.pokret.org/products/xpathjs-javascript-based-xpath-library/

Original comment by zhoumoto...@gmail.com on 7 Sep 2012 at 2:15

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Original comment by zhoumoto...@gmail.com on 7 Sep 2012 at 2:17

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Author

For now, we will limit the applicability of this project to HTML documents and 
mark this as "won't fix".

Original comment by gden...@google.com on 12 Sep 2012 at 3:23

  • Changed state: WontFix
  • Added labels: ****
  • Removed labels: ****

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant