Rank: Member
Joined: 3/10/2016 Posts: 10 Location: Germany
|
Dear community,
I think my question is symple, but I didn't find a solution. My XML which I want to transform looks like this:
Quote: <TextModule name="Textbaustein 1"> <snippets> <para>Lorem ipsum dolor <bold>bold content</bold>, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ... </para> <para>At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no s ipsum dolor sit amet.</para> </snippets> </TextModule>
So, bold content shoul be bold too in my PDF after the transformation, but my text is anytime still normal or, if I work with a condition, completely bold. Has anyone an idea how to get only the text "bold content" in bold?
Thanks for your help and kind regards Oli
|
Rank: Advanced Member
Joined: 2/27/2009 Posts: 565
|
That's pretty simple. Just create a global template for your bold element, then apply a bold style to it as demonstrated by the attached example. File Attachment(s): example.pxf (70kb) downloaded 285 time(s).
K101 attached the following image(s):
|
Rank: Member
Joined: 3/10/2016 Posts: 10 Location: Germany
|
Thanks K101,
that was a perfect solutution. :-)
Kind regards Oli
|