IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

How to create </bold> content, if this Tag is available in an other Tag Options · View
oli-87
Posted: Wednesday, April 11, 2018 7:45:36 AM
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
K101
Posted: Wednesday, April 11, 2018 9:31:35 AM
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):
example.png

oli-87
Posted: Wednesday, April 11, 2018 10:43:19 AM
Rank: Member

Joined: 3/10/2016
Posts: 10
Location: Germany
Thanks K101,

that was a perfect solutution. :-)

Kind regards
Oli
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.