* SLD graphic parameters. A "mixed" element-content model is used with textual substitution for
* values.
*/
Expression parseParameterValueExpression(Node root, boolean mixedText) {
ExpressionDOMParser parser = new ExpressionDOMParser((FilterFactory2) ff);
Expression expr = parser.expression(root); // try the provided node first
if (expr != null)
return expr;
NodeList children = root.getChildNodes();
// if there is only one CharacterData node - we can make a literal out of it
if (children.getLength() == 1 && root.getFirstChild() instanceof CharacterData) {