Export Forced Line Break (soft returns) to XML
katir at hindu.org
Wed Oct 12 05:55:27 EDT 2005
Thanks Jeanne.. you got it... replacing "cr" with "numToChar(13)"
works... duh.. I thought CR char(13) on the mac... of course it does
if you save with "file:" and not "binfile:"
So in BBedit I clearly now have char(10) at the end of lines in
versions and char(13) at the end of every verse...
:-/) unfortunately InDesign doesn't get it... XML import brings in
*all* line breaks as hard paragraph returns...
but... that's not Rev's problem...
On Oct 11, 2005, at 1:01 AM, Jeanne A. E. DeVoto wrote:
> Sivakatirswami, I'm not sure what the problem is... this is what
> you'd expect. Your script exports a file with no return characters,
> so naturally BBedit sees only one line... there *is* only one line.
> I'm not sure but I think the problem may be that you misunderstand
> the "CR" constant. It's a numToChar(10), not numToChar(13). I think
> you want to be substituting "numToChar(13)" for cr:
> put "</" & x &"_verses>" & numToChar(13) & "<" & x
> &"_verses>" after tOutput
> if I'm correctly understanding what's going on in your script.
More information about the Use-livecode