Inserting Content with a Predefined Format

www.altova.com Expand/Collapse All Print this Topic Previous Page Up One Level Next page

Home >  SPS File: Content > Inserting XML Content as Text >

Inserting Content with a Predefined Format

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).

 

SSCreateParagraph

 

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.

 

TBarFormatting

 

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.

 

 

 


© 2019 Altova GmbH