[oXygen-user] oxy|processing-instruction selector in Web Author

Jirka Kosek jirka at kosek.cz
Tue Mar 5 04:28:20 CST 2019


Hi,

I'm implementing support for inserting manual line-breaks into content.
This is done as processing instruction <?br?>. In an Author mode I can
get reasonable rendering by using the following CSS rules:

oxy|processing-instruction[br]::before {
  content: "[";
}

oxy|processing-instruction[br]::after {
  content: "]\a";
  white-space: pre;
}


However in Web Autor these rules are ignored although I don't see this
kind of usage listed as unsupported at
https://www.oxygenxml.com/doc/versions/21.0.0/ug-waCustom/topics/webapp_css_limitations.html

If this is just undocumented limitation is there any other way how to
implement this in Web Author?

Many thanks in advance,

				Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka at kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
     Professional XML and Web consulting and training services
DocBook/DITA customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
    Bringing you XML Prague conference    http://xmlprague.cz
------------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20190305/dd2a3a73/attachment.sig>


More information about the oXygen-user mailing list