Mixed content example

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Designing Mappings > Connection Types > Source-driven connections >

Mixed content example

The following example is available as "ShortApplicationInfo.mfd" in the ...\MapForceExamples folder.


A snippet of the XML source file for this example is shown below.


The mapping is shown below. Please note the following:


The "SubSection" item connector is of mixed content, and is mapped to the Description item in the target XML/schema.
The text() nodes are mapped to each other
Trademark text is mapped to the Bold item in the target
Keyword text is mapped to the Italic item in the target



Mapping result

The mixed content text of each description has been mapped correctly; the text, as well as the bold and italic tag content, have been mapped as they appear in the XML source file.


© 2019 Altova GmbH