2017-01-27 12 views
1

XMLをFO出力に変換するのにXSLTを使用しています。特定の要素については、wrap-optionwrapと設定して使用しています。これは、出力が行制限を超えた場合に出力を折り返すためです。出力に正しくラップされます。XSL-FOを使用してコンテンツをラップする際の特別なマーク

しかし、テキストが出力にラップされている場合は、ラッピングでユーザーに何らかの兆候がある必要があるという追加機能があります。つまり、特定の行が次の行にラップされている場合は、末尾に「+」記号が表示されます(はラップされています)。

サンプル入力:

Testing the wrapped input specification for understanding the wrapping has happened. 
Normal line without wrapping. 
Again a lengthy line which exceeds the line limit. 

電流出力:

Testing the wrapped input specification 
for understanding the wrapping has happened. 
Normal line without wrapping. 
Again a lengthy line which exceeds 
the line limit. 

必要な出力:

Testing the wrapped input specification+ 
for understanding the wrapping has happened. 
Normal line without wrapping. 
Again a lengthy line which exceeds+ 
the line limit. 

この結果はどのように達成できますか?

答えて

関連する問題