<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello Nathan,<br>
    <br>
    We have two topics on that:<br>
    <br>
<a class="moz-txt-link-freetext" href="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/dg-author-css-styles-filter.html</a><br>
<a class="moz-txt-link-freetext" href="http://oxygenxml.com/doc/versions/17.0/ug-editor/#topics/api_faq_add_form_control_from_filter.html">http://oxygenxml.com/doc/versions/17.0/ug-editor/#topics/api_faq_add_form_control_from_filter.html</a><br>
    <br>
    You should be able to find out the file path of the node like this:
    <br>
        authorNode.getOwnerDocument().getSystemID()<br>
    <br>
    <pre class="moz-signature" cols="72">Best regards,
Alex
-- 
Alex Jitianu
<oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com">http://www.oxygenxml.com</a> </pre>
    <div class="moz-cite-prefix">On 9/25/2015 2:24 AM, Nathan wrote:<br>
    </div>
    <blockquote
cite="mid:CAAA7NDjuzGF4AB+YudZaH2v8=30eG2Z3o_gp58EHEi+j1t0A+Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi,
        <div>  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?</div>
        <div><br>
        </div>
        <div>Thanks!</div>
        <div>Nathan</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
oXygen-sdk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-sdk@oxygenxml.com">oXygen-sdk@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com/mailman/listinfo/oxygen-sdk">http://www.oxygenxml.com/mailman/listinfo/oxygen-sdk</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>