Skip to main content
1-Visitor
April 6, 2013
Question

Paullette: Look! - Coloring xml nodes

  • April 6, 2013
  • 3 replies
  • 832 views
This old post provides one strategy for highlighting some of the
text/elements within Editor. Hope it gives you some good ideas.


    3 replies

    1-Visitor
    April 9, 2013

    OMG! I will check it and test it; I had not thought of this option.


    1-Visitor
    April 11, 2013

    Hello again 😃


    I have been searching more info about FOSI, however is pretty confusing for me now, If any of you know more general and basic information I will really appreciate your help, for example, I would like to know how do I implement a FOSI screen stylesheet? I have been trying with my init.acl file and the 'set stylesheet' command but I can not see any change or any difference in my documents, also I think this is because I don't know how FOSI works =( ...I mean, I don't know if when I open an existing document automatically mi stylesheet would be applied; what I'm trying to get is that when a user clicks a button, some text be highlighted in a specific color, I would like to implement this approach dinamically using ACL, please if any of you could explain me more about FOSI I would be really grateful.



    As always I really appreciatte your time, comments and support.



    Regards, Paulette Zorrilla

    naglists1-VisitorAuthor
    1-Visitor
    April 11, 2013
    The simplest way is to save the FOSI with a filename that is the doctype
    name and store it in the doctype's custom doctypes' subfolder. (That's more
    of a mouthful than it should be!) For example:

    ...\mydoctype\doctypes\mydoctype\mydoctype.fos

    In this scenario, your DTD would be:
    ...\mydoctype\doctypes\mydoctype\mydoctype.dtd

    Close and reopen Editor if it was open while you did this. Also, do not
    have a mydoctype.style located in the same place. It will take precedence.




    On Wed, Apr 10, 2013 at 6:22 PM, Paulette Zorrilla <
    paulette.zorrilla@oracle.com> wrote:

    > Hello again 😃
    >
    > I have been searching more info about FOSI, however is pretty confusing
    > for me now, If any of you know more general and basic information I will
    > really appreciate your help, for example, I would like to know how do I
    > implement a FOSI screen stylesheet? I have been trying with my init.acl
    > file and the 'set stylesheet' command but I can not see any change or any
    > difference in my documents, also I think this is because I don't know how
    > FOSI works =( ...I mean, I don't know if when I open an existing document
    > automatically mi stylesheet would be applied; what I'm trying to get is
    > that when a user clicks a button, some text be highlighted in a specific
    > color, I would like to implement this approach dinamically using ACL,
    > please if any of you could explain me more about FOSI I would be really
    > grateful.
    >
    >
    >
    > As always I really appreciatte your time, comments and support.
    >
    >
    >
    > Regards, Paulette Zorrilla
    >