Hello Nathan,

We have two topics on that:

http://oxygenxml.com/doc/versions/17.0/ug-editor/#topics/dg-author-css-styles-filter.html
http://oxygenxml.com/doc/versions/17.0/ug-editor/#topics/api_faq_add_form_control_from_filter.html

You should be able to find out the file path of the node like this:
    authorNode.getOwnerDocument().getSystemID()

Best regards,
Alex
-- 
Alex Jitianu
<oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com 
On 9/25/2015 2:24 AM, Nathan wrote:
Hi,
  I was wanting to change the CSS rendering of an element based on the filepath of the file opened in Oxygen Author using the Author API. I was planning to use the Stylesfilter for this. Could you point me to a sample piece of code for the Stylesfilter?

Thanks!
Nathan


_______________________________________________
oXygen-sdk mailing list
oXygen-sdk@oxygenxml.com
http://www.oxygenxml.com/mailman/listinfo/oxygen-sdk