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

Question: Difference between textKey and valueKey? #7

Closed
julkue opened this issue Jan 29, 2015 · 1 comment
Closed

Question: Difference between textKey and valueKey? #7

julkue opened this issue Jan 29, 2015 · 1 comment

Comments

@julkue
Copy link
Contributor

julkue commented Jan 29, 2015

While working with the plugin two questions came up which aren't answered in the documentation:

  • Why there are two different key names for text and value?
  • When the plugin will use textKey and when valueKey?
@ghost
Copy link

ghost commented Feb 26, 2015

textKey is the JSON key for the XML text node's value.
valueKey is the JSON key used for an XML attribute's value.

Regarding DOM Node types: https://developer.mozilla.org/en-US/docs/Web/API/Node
Attributes are properties of the Element type: https://developer.mozilla.org/en-US/docs/Web/API/Element

@ghost ghost closed this as completed Mar 26, 2015
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant