Hi CarlosM,
What version of oXygen are you using? Are you on the last version available?
Also, what specific transformation scenario are you applying? Is it DITA Map PDF - based on HTML5 and CSS, or the DITA Map PDF - based on DITA and CSS (WYSIWYG)?
Also, what type of reference do you have? Is it a conref / xref (with href or keyref)?
It would help us investigate if you could send a sample DITA Map in a minimal form rhat reproduces the issue on our support email -
support@oxygenxml.com (together with your CSS file).
Meanwhile, you could try using the outputclass attribute instead the ID.
More specific, on the reference (conref / xref element), you should set an "outputclass" attribute, which you could then match the resulted class in the output through your customization CSS and style it as you wish.
For example:
- in your source dita file you could have
Code: Select all
<p conref="your/referred#content" outputclass="reference1">Referred content</p>
or
Code: Select all
<xref keyref="your/referred/content" outputclass="reference1"></xref>
- in your CSS, in case you use the HTML5 and CSS scenario, you should use
Code: Select all
*[class~="reference1"]{
background-color: red;
color: cyan;
}
and for the DITA and CSS (WYSIWYG), the selector would slightly change in:
.
I hope this helps!
Costin