cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Paullette: Look! - Coloring xml nodes

naglists
1-Visitor

Paullette: Look! - Coloring xml nodes

This old post provides one strategy for highlighting some of the
text/elements within Editor. Hope it gives you some good ideas.


3 REPLIES 3

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


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

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
>
Announcements

Top Tags