3 Replies Latest reply on Jun 4, 2015 10:49 PM by tobias.wantzen

    XML: Handling Styles with Returns Inside XML Elements

    tobias.wantzen Level 1

      Hello,

       

      I get a XML source, which could contain returns (\r) inside an XML element representing different paragraphs, e.g.:

      <bodytext>This is the text of the first paragraph.

      And this is the paragraph below.

      And so on ...</bodytext>

       

      It's easy to apply a paragraph style for the whole <bodytext> with XML scripting rules. But when first paragraph of <bodytext> should have another paragraph style, which applies a drop cap: How can I do this?

       

      Thanks in advance

      Tobias