XSL 1.0을 사용하여 XML을 PDF로 변환하는 데 Apache FOP를 사용하고 있습니다.XSLT PDF에서 " "또는 줄 바꿈 특수 문자를 어떻게 이스케이프 처리합니까?
나는 XML 노드를
<ABC>This is one line
This is second line
This is third line</ABC>
을했습니다 내가 노드 즉
This is one line
This is second line
This is third line
하지만 그것은 단지 하나 개의 라인에서 오는 유사한 출력을 할 수 있습니다. xsl에서 "& #xD"를 탈출 할 수있는 해결책이 있습니까? 다음 코드는 노드의 값을 가져 오는 데 사용됩니다. 문제를 해결하는 방법에
<xsl:value-of select="ABC" disable-output-escaping="yes" />
[XSLT 새로운 행이 보존되지 않음] 가능한 복제본 (https://stackoverflow.com/questions/36802214/xslt-new-lines-not-being-preserved) – lfurini