allow token and/or value of replace's replacefilter children to be specified as nested elements. PR 39568.