Skip to content

Extension org.gramar.base Tag addTextElement

chrisgerken edited this page Sep 14, 2015 · 2 revisions

addTextElement Tag

The addTextElement tag adds a new child text node with a given name to a given node in the model.

The content of the addTextElement tag becomes the text content of the new text node.

  • node select - (required) An XPath expression resolving to the node to which a new child text node is to be added
  • string name - (required) The element name of the new child text node

Usage and examples

Place a taglib element within <taglibs> element in the gramar.config file in the root of your gramar:

<taglibs>
    <taglib  prefix="c" extension="org.gramar.base" />
</taglibs>

Return to org.gramar.base

Clone this wiki locally