Subject: Re: [xsl] codepoints-to-string for new line From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Sat, 07 Sep 2013 20:01:25 -0400 |
whenever I searched for a way to insert a line break using the output text method I basically just found samples either with & #10; or a line break inside a xsl:text element. Those work as long as you don't do pretty print or your editor at some point transforms & #10; to space. Anyhow while flipping thru a well known XSLT/XPath reference codepoints-to-string() crossed my way - and solved the problem.
So that makes me wonder:
a) Is there a good reason/scenario why/when not to use this function for a line break?
<xsl:text> </xsl:text>
b) Are there just no (top-rated) samples around because codepoints-to-string() belongs to an extended set of functions that people (like me) rarely/never use?
-- Public XSLT, XSL-FO, and UBL classes in the Netherlands Oct 2013 | Public XSLT, XSL-FO, UBL and code list classes in Australia Oct 2013 | Contact us for world-wide XML consulting and instructor-led training | Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm | Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ | G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx | Google+ profile: https://plus.google.com/116832879756988317389/about | Legal business disclaimers: http://www.CraneSoftwrights.com/legal |
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] codepoints-to-string for new , Heiko Niemann | Thread | Re: [xsl] codepoints-to-string for , Liam R E Quin |
[xsl] codepoints-to-string for new , Heiko Niemann | Date | Re: [xsl] codepoints-to-string for , Liam R E Quin |
Month |