Search found 9 matches

by jdonges
Fri Nov 03, 2023 1:34 pm
Forum: XQuery
Topic: Strange XPath Behaviour
Replies: 2
Views: 1630

Strange XPath Behaviour

Hello, In Oxygen 25 and 26 we encountered a strange behavior when evaluating an xpath expression with the XPath/XQuery builder. We want to select all attributes in the entire document except the first attribute of each element with this expression: //@*[position()>1] The result is confusing. It sele...
by jdonges
Tue Jul 18, 2023 4:39 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customizing the note element
Replies: 4
Views: 536

Re: Customizing the note element

Hi Julien,

we have customized DITA and removing the <p> within the note leads to "unexpected character data" error.
However your second solution does what I wanted. Thanks again!

Regards
Jörn
by jdonges
Tue Jul 18, 2023 11:34 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customizing the note element
Replies: 4
Views: 536

Re: Customizing the note element

Thanks Julien, yes this works much better. :D Although I still have the line break after the note, even when adding !important to the span.note__title rule: image.png Here's the rendered HTML <span class="note__title">Note:</span> <p class="- topic/p p">The supply voltage is conn...
by jdonges
Fri Jul 14, 2023 11:54 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customizing the note element
Replies: 4
Views: 536

Customizing the note element

Hi I want to customize the output of notes in the PDF transformation with css. There should be no image and no linebreak after the bold "Note: " Sounds like a simple task fulfilled by: *[class ~= "topic/note"]:lang(en):before{ font-weight: bold; content: "Note: "; } and...
by jdonges
Tue Mar 28, 2023 5:34 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: subject scheme map not found in pdf transformation
Replies: 0
Views: 545

subject scheme map not found in pdf transformation

Hi I am learning about subject scheme maps and ran into a problem. I built the following example: The ditamap file: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd"> <map> <title>Example</title> <mapref href=&q...
by jdonges
Mon Jul 06, 2020 11:18 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Custom transformation parameters for css (background image for the title page)
Replies: 5
Views: 1874

Re: Custom transformation parameters for css

This works well, thank you!
Sometimes it is hard to figure out these cryptic notations :)

We have to use the relative paths because the XML data is in a repository and will be downloaded to different locations.

Regards
Joern
by jdonges
Wed Jul 01, 2020 4:04 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Custom transformation parameters for css (background image for the title page)
Replies: 5
Views: 1874

Custom transformation parameters for css (background image for the title page)

Hello, I need some help again. I use the XSLT and CSS to PDF Transformation Scenario and have specified a background image for the title page @page front-page{ background-image: url("../img/title.png"); } It works fine as long as we need the same title page all the time. But to produce dif...
by jdonges
Tue Dec 17, 2019 4:57 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Current date in PDF footer
Replies: 2
Views: 1187

Re: Current date in PDF footer

Hello Julien,

thank you, that was really easy. :)
I have put it together with current-date() and format-date() functions now.

Regards,
Joern
by jdonges
Mon Dec 16, 2019 3:24 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Current date in PDF footer
Replies: 2
Views: 1187

Current date in PDF footer

Hi, we want to put the current date in the footer of a PDF document using Oxygen with the "DITA Map PDF based on HTML & CSS" Transformation. It is done by customizing the p-pages-and-headers.css like this : @page :left, :right{ ... /* footer */ @bottom-left{ ... content: "16.12.20...