'styles' Argument in oxy_label(): Difference between 14.2 an
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 6
- Joined: Mon Aug 12, 2013 9:25 pm
'styles' Argument in oxy_label(): Difference between 14.2 an
I have a CSS that uses oxy_label() in 15.1. Here's the relevant snippet:
content: oxy_label(text, "(Print): Replace **** with Product Code", styles, "color:blue;");
However, when I give this CSS to my customer, who is using 14.2, an error is thrown:
"Unknown function argument: styles. . ."
1. Is there a difference between 14.2 and 15.1 that prevents this from working in 14.2?
2. What is the equivalent code for 14.2 that will work?
Thanks
content: oxy_label(text, "(Print): Replace **** with Product Code", styles, "color:blue;");
However, when I give this CSS to my customer, who is using 14.2, an error is thrown:
"Unknown function argument: styles. . ."
1. Is there a difference between 14.2 and 15.1 that prevents this from working in 14.2?
2. What is the equivalent code for 14.2 that will work?
Thanks
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: 'styles' Argument in oxy_label(): Difference between 14.
Post by alex_jitianu »
Hi,
The styles property was introduced in Oxygen version 15 so prior versions do not recognize it as a supported property. Fortunately there is a dedicated property for setting the color and it will work in both versions:
Best regards,
Alex
The styles property was introduced in Oxygen version 15 so prior versions do not recognize it as a supported property. Fortunately there is a dedicated property for setting the color and it will work in both versions:
Code: Select all
content: oxy_label(text, "(Print): Replace **** with Product Code", color, "blue");
Alex
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service