How to use the XString function from xpath

Find comprehensive JavaScript xpath.XString code examples handpicked from public code repositorys.

161
162
163
164
165
166
167
168
169
170
    formattedNumber = (characteristicSide + ((mantissaSide) ? decimalFormat.decimalSeparator + mantissaSide : '')).replace(/#/g, '');
  } catch (exception) {
    return decimalFormat.NaN;
  }

  return new XPath.XString(formattedNumber);
}

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/*
fork icon4
star icon7
watch icon3

+ 384 other calls in file

140
141
142
143
144
145
146
147
148
149
150
151
      const parameter = (parameterExpr && typeof parameterExpr === 'object' && parameterExpr.evaluate) ? parameterExpr.evaluate(xPathContext) : parameterExpr;
      parameters[i] = (parameter && parameter.stringValue) ? parameter.stringValue() : parameter;
    });
    this.context.processChildNodes(customFcnNode, fragmentNode, { parameters: parameters });


    return new XPath.XString(fragmentNode.textContent);
  }
};


// ----------------------------------------------------------------------------
fork icon4
star icon7
watch icon3

+ 54 other calls in file