如何将替代背景颜色作为RTF中的特定颜色
在RTF模板中,我希望备用行具有浅绿色,当我使用以下标签时,我将所有的行都带有绿色和文本背景,而不是整个行,而不是整个行 -
<?if@row:position() mod 2=0?>
<xsl:attribute name="background-color">#e9f7ef</xsl:attribute>
<?end if?>
我在Oracle Doc中看到以下使用 -
<?if@row:position() mod 2=0?> <xsl:attribute name="background-color" xdofo:ctx="incontext">lightgray</xsl:attribute><?end if?>
但是,一旦我添加XDOFO:CTX =“ Incontext”,我就完全没有输出。
如何将其他背景颜色作为特定颜色。
In the RTF template, I want the alternate rows to have a light green color, when I am using the below tag, I am getting all rows with green and text background as green, not the entire row-
<?if@row:position() mod 2=0?>
<xsl:attribute name="background-color">#e9f7ef</xsl:attribute>
<?end if?>
I saw in the Oracle doc the below used -
<?if@row:position() mod 2=0?> <xsl:attribute name="background-color" xdofo:ctx="incontext">lightgray</xsl:attribute><?end if?>
but as soon as i add xdofo:ctx="incontext", i do not get any output at all.
How to get alternate background color as a particular color.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它对我有用。确保将其放在字段中,并且该字段位于
for-east
tagIt is working for me. Make sure you are putting it in a field, and the field is within the
for-each
tag