Comments (6)
A draft implementation is happily humming along. I do not have a clean pull request at hand, because in addition to the namespace extension i had to (1) change include path for darwin/x64 and (2) remove any reference to time/ Deadline related code that i found broke.
Please feel free to have a look at the new ns.go file (not sure if all the interface stuff is needed, i just borrowed heavily from Node/ XmlNode), the new function in node.go, and the new testcase in attribute_test.go.
The change should be transparent to existing clients.
from gokogiri.
Thanks for your contribution, Jochen. I will review it and get back to you.
Yes, the Deadline related code was intended for internal use. I will create a separate public repo very soon.
from gokogiri.
Any news of the subject?
I've just stumbled upon the lack of AttributeNode.Namespace() while writing an Inkscape SVG cleaner.
from gokogiri.
Sorry, the project has been passed to different hands, so this issue was lost in the wayside. Regardless, I don't think there's any future plans for implementing namespace support for attributes from our side. However, if @jhinrichsen has a PR ready, I'll gladly look at it and merge it if it's good to go.
from gokogiri.
This looks to have been fixed by pull requests #37 and #38
from gokogiri.
True that. @rzymek, does the new Namespace API meet your needs?
from gokogiri.
Related Issues (20)
- identifier "_Ctype_struct__xmlDoc" may conflict with identifiers generated by cgo HOT 4
- Get error when start Docker container
- WIndows installation
- Encoding is passed around as byte array instead of string HOT 5
- performance issue of XmlNode.SetContent() HOT 1
- strange behavior in href attribute, uri with parameters HOT 2
- How do I parse xml with a namespace? HOT 2
- XSD Validation? HOT 1
- Issues with go get github.com/moovweb/gokogiri/css HOT 2
- Attempting to cross compile for linux/amd64 on OSX fails using gox HOT 1
- Trim surrounding whitespace for Node.Content() HOT 2
- How to get arttr with CSS HOT 2
- El capitan issue HOT 1
- Crash with custom XPath resolver HOT 3
- Parsing XML dies (stays blocked) when doing in parallel HOT 2
- Go1.6 compatibility HOT 2
- Go 1.6: runtime error: cgo argument has Go pointer to Go pointer HOT 6
- Save DOM model as xml file
- build constraints exclude all Go files in /moovweb/gokogiri/help, failed to build with arch=386 HOT 1
- pkg-config: exec: "pkg-config": executable file not found in %PATH%
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gokogiri.