Editor dcf TextStyles with namespaces
Hi Everyone
What i though to be a simple task of adding doctype specific bold/italic and list tags in my .dcf file does not like namespaced tags or my doctype, e.g.
<textstyles>
<bold element="h:b"/">
<italic element="h:i"/">
...
on re-start and pressing the [B] / [I] , I get the error message: "[A20020] Document type is not configures for this formatting Style"
Yet, when you right click in the appropriate liocation in the editor you can add these tags no problem with the 'insert markup' menu.
So i am presuming it is to do with the h: namespace within the .dcf not being declared at this point, but having tried declaring it everywhere i can think of within and out of the dcf, still no luck.
When i edit the .dcf in Editor/Architech inserting the element from the menu, it lists most of the different namespaced elements from my custom schema application correctly except for 2 groups, which come up as ns2: and ns3: instead of a: and h: . But this is the only place, the namespaces are fine everywhere else.
All NS are declared correctly in the stylesheet and the XML instance.
I have found some example of NS in .dcf with <insertautowithin> but copying this method did not help.
If anyone has done this before or if you can see I have overlooked something obvious, i'd be greatefull. 🙂
Regards
Chris

