Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add getters #16

Open
3 tasks
Kroc opened this issue Feb 7, 2013 · 0 comments
Open
3 tasks

Add getters #16

Kroc opened this issue Feb 7, 2013 · 0 comments
Labels

Comments

@Kroc
Copy link
Owner

Kroc commented Feb 7, 2013

At the moment DOMTemplate can only set data, not read it easily. In NoNonsense Forum simplexml is used to modify existing threads. It would be nicer if we could use a DOMTemplate object to read, modify and write the threads this would be more elegant.

This requires a number of additions for various functionality:

  • Getting a node value, accounting for nodes that are attributes
  • Initiating xpath queries starting from any current node, including returning an array of nodes (as with looping at the moment)
  • Simple DOM traversal, especially with arrays, e.g. parent->child[$x]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant