0
XSLTの結果で、複数の改行文字を1つの改行文字に置き換えることを検討しています。 xmlノード内XSLT - 複数の改行を1つの改行に置き換えます。
私が持っている可能性があり、以下:
<description>
A description that goes over multiple lines, because:
- someone inputted the data in another system
- and there are gaps between lines
Another gap above this
</description>
私はそう表示されるように、このノードのうちテキストが欲しい:
A description that goes over multiple lines, because:
- someone inputted the data in another system
- and there are gaps between lines
Another gap above this
これを実行する方法はありますXSLTを使用していますか? XSLT 1.0(libxsltの)を使用して
あなたがXSLT 1.0または2.0を使用していますか? –
私はlibxml 1.1.28を使用しています。これはXSLT 1.0(http://xmlsoft.org/XSLT/)を使用しています。 –