mendix / CommunityCommons

This module adds a number reusable Java methods to your project, which can be called from Microflows or custom Java actions.
Apache License 2.0
13 stars 57 forks source link

Update XPath.java #100

Closed Jennnessee closed 1 year ago

Jennnessee commented 4 years ago

Added starts-with code :

public XPath startswith(Object attr, String value) { autoInsertAnd().append(" starts-with(").append(String.valueOf(attr)).append(",").append(XPath.valueToXPathValue(value)).append(") "); return this.requireBinOp(true); }
It's only a small change and it's tested on my environment

with kind regards,

Jenny

atennapel commented 1 year ago

Thanks Jenny, we are working on adding this functionality. I created a new PR here, as I was not able to change your PR: https://github.com/mendix/CommunityCommons/pull/134 . I will close this one.