Please enable JavaScript to view this site.

Altova StyleVision 2021 Enterprise Edition

SPS Content > Inserting XML Content as Text

Inserting Content with a Predefined Format

Scroll Home Prev Top Next More

The text content of a node can be directly inserted with the markup of one of StyleVision's predefined formats. To do this, drag the node from the Schema Tree window and drop it at the desired location. In the menu that pops up, select Create Paragraph (screenshot below).




The predefined format can be changed by selecting the predefined format tag and then choosing some other predefined format from the Format combo box in the toolbar (screenshot below) or using the menu command Insert | Format.




The predefined format can also be changed by changing the value of the paragraph type property of the paragraph group of properties in the Properties window, or by changing the paragraph type via the node-template's context menu command, Enclose With | Special Paragraph.


Each paragraph type has particular formatting features that can be used to advantage. Note that the pre format type enables carriage returns and  linefeeds to be output as such instead of them being normalized to whitespace.




© 2015-2021 Altova GmbH