To create a mapping, follow these steps:
To remove a mapping, right-click the mapping connection and select Delete.
Mapping to elements with empty content
Mapping to an XML element that has no content at all (for example, <Person/>) is different than mapping to an XML element that contains character data (for example, <Person>Molly</Person>). In the latter case, the mapping signifies that the data from the source node will be used as the character data for the target element. However, in the former case, the mapping has no effect on the XSLT that is generated.
In a DTD, an element that has no content at all is specified using the keyword 'EMPTY' (for example, <!ELEMENT Person EMPTY>). In an XML schema, it is not as straight forward. One of the syntactically compact ways of specifying an empty content element in an XML schema is to define a complex type without any simple content or complex content (for example, <xsd:element name="Person"> <xsd:complexType/></xsd:element>). This is interpreted as shorthand for complex content that restricts anyType.