Web author: hide processing instructions
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 12
- Joined: Tue Oct 04, 2016 12:18 pm
Web author: hide processing instructions
Hi,
is it possible to hide processing instructions on oxygen web author 18.0.0?
We have tried to do this via CSS and options.xml, however both attempts failed to remove processing instructions from display.
- CSS solution:
@namespace oxy "http://www.oxygenxml.com/extensions/author";
oxy|processing-instruction[*]
{
display:none !important;
}
- Options.xml solution:
<entry>
<String>author.show.processing.instructions</String>
<Boolean>false</Boolean>
</entry>
Is there a way to do this or it's not supported?
Thanks
is it possible to hide processing instructions on oxygen web author 18.0.0?
We have tried to do this via CSS and options.xml, however both attempts failed to remove processing instructions from display.
- CSS solution:
@namespace oxy "http://www.oxygenxml.com/extensions/author";
oxy|processing-instruction[*]
{
display:none !important;
}
- Options.xml solution:
<entry>
<String>author.show.processing.instructions</String>
<Boolean>false</Boolean>
</entry>
Is there a way to do this or it's not supported?
Thanks
-
- Site Admin
- Posts: 95
- Joined: Thu Jun 09, 2016 2:01 pm
Re: Web author: hide processing instructions
Post by Gabriel Titerlea »
Hello,
The option author.show.processing.instructions does not work in 18.0.x. It will be available in version 18.1.x
Best,
Gabriel
The option author.show.processing.instructions does not work in 18.0.x. It will be available in version 18.1.x
You need to remove the "[*]" at the end of the selector and PIs will be hidden.oxy|processing-instruction[*]
{
display:none !important;
}
Best,
Gabriel
-
- Posts: 12
- Joined: Tue Oct 04, 2016 12:18 pm
Re: Web author: hide processing instructions
Thanks Gabriel for you answer,
However removing the selector [*] has not worked either.
This is an example of the processing instructions we want to hide;
<?diffStats guid=nulllangcountry=enUSAversion=000000creationdate=totalelements=2totalwords=9newelements=0changedelements=0deletedelements=0changedwords=0newwords=0username=gordon.harradine@cognitran.comwid=null?>
<?segment-crc 33f079c3?>
Could you please advise?
Thanks
However removing the selector [*] has not worked either.
This is an example of the processing instructions we want to hide;
<?diffStats guid=nulllangcountry=enUSAversion=000000creationdate=totalelements=2totalwords=9newelements=0changedelements=0deletedelements=0changedwords=0newwords=0username=gordon.harradine@cognitran.comwid=null?>
<?segment-crc 33f079c3?>
Could you please advise?
Thanks
-
- Posts: 517
- Joined: Thu Sep 04, 2014 4:22 pm
Re: Web author: hide processing instructions
Post by cristi_talau »
Hello,
Can you try something like:
or
to make sure that your CSS is properly picked up by Web Author?
Best,
Cristian
Can you try something like:
Code: Select all
oxy|processing-instruction {
background-color: red;
}
Code: Select all
/* assuming DITA here */
title {
background-color: red;
}
Best,
Cristian
-
- Posts: 12
- Joined: Tue Oct 04, 2016 12:18 pm
Re: Web author: hide processing instructions
Hi,
background-color: red; works on all elements except for oxy|processing-instruction.
We have @namespace oxy "http://oxygenxml.com/extensions/author"; on the beginning of the CSS, do we need anything else to make the oxy/* elements work?
Thanks,
Oscar
background-color: red; works on all elements except for oxy|processing-instruction.
We have @namespace oxy "http://oxygenxml.com/extensions/author"; on the beginning of the CSS, do we need anything else to make the oxy/* elements work?
Thanks,
Oscar
-
- Posts: 517
- Joined: Thu Sep 04, 2014 4:22 pm
Re: Web author: hide processing instructions
Post by cristi_talau »
Hello,
Try removing the @namespace ... line.
Best,
Cristian
Try removing the @namespace ... line.
Best,
Cristian
-
- Posts: 517
- Joined: Thu Sep 04, 2014 4:22 pm
Re: Web author: hide processing instructions
Post by cristi_talau »
Hello,
Comments in CSS are delimited by /* ... */. You can use the desktop version of oXygen to validate your CSS-es.
Best,
Cristian
Comments in CSS are delimited by /* ... */. You can use the desktop version of oXygen to validate your CSS-es.
Best,
Cristian
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