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

XMLDataContainer.get without children #43

Open
SoccerFive18 opened this issue Jun 20, 2023 · 0 comments
Open

XMLDataContainer.get without children #43

SoccerFive18 opened this issue Jun 20, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@SoccerFive18
Copy link
Contributor

SoccerFive18 commented Jun 20, 2023

The XMLDataContainer.get method only allows to retrieve values from children.

<Parent name="parent">
 <Child>value</Child>
</Parent>

But having a direct value in an XML tag does not work:

<Parent name="parent">Value</Parent>

The get method correctly identifies the "Value" by calling xEdit.getElementsByXPath(frImpl.getValue()) but iterates over the children afterwards and only adds elements to the result list if there are some.

@SoccerFive18 SoccerFive18 added the enhancement New feature or request label Jun 20, 2023
@SoccerFive18 SoccerFive18 self-assigned this Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant