Search found 9 matches

by arcuous
Fri Apr 05, 2019 8:17 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Author CSS action to insert optional elements
Replies: 3
Views: 1917

Re: Author CSS action to insert optional elements

Please disregard this and my prior reply, I saved that before it was done. I'm still preparing my response. Thanks meanwhile!
by arcuous
Fri Apr 05, 2019 7:42 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Author CSS action to insert optional elements
Replies: 3
Views: 1917

Re: Author CSS action to insert optional elements

Perfect thank you! That selector with :not and *:has worked well.

The sample document approach seems to generate CSS in action.css for every combination of child elements.

So for a sequence of 20 ordered optional elements, it would generate 19 selectors each
by arcuous
Thu Apr 04, 2019 10:55 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Author mode CSS: any way to do this?
Replies: 5
Views: 2397

Re: Author mode CSS: any way to do this?

I found this answer which suggests it's not possible: https://stackoverflow.com/questions/7165094/css-rule-to-target-text-between-2-tags, and which also suggests the more obvious use of your <anchor> elements to wrap the text. I'm assuming they may overlap though, so your kind of marker tags are req...
by arcuous
Thu Apr 04, 2019 4:00 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Author CSS action to insert optional elements
Replies: 3
Views: 1917

Author CSS action to insert optional elements

I have a schema with sequences of many optional elements. Authors are having a hard time navigating to the right place to insert a specific element type, and often can't recall which might be allowed. I see the Elements view as helpful to show what is possible, but an inline visual display where an ...
by arcuous
Fri Apr 28, 2017 9:05 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Set attribute value by web form query
Replies: 4
Views: 3572

Re: Set attribute value by web form query

Thank you for the prompt reply, that sounds very promising. However, I've been unable to get it to work because Oxygen freezes and becomes unresponsive after right-clicking a new point on the map. I'm using the 2017042020 build on a Mac (10.11.16) and have jstack output if it would help to diagnose ...
by arcuous
Mon Apr 10, 2017 8:46 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Set attribute value by web form query
Replies: 4
Views: 3572

Set attribute value by web form query

I have a number of elements with @id and @label attributes, such as <citation id='' label=''> <link id='' label=''> Valid values for the @id and corresponding @labels are stored in a SQL database. My current editor, Altova Authentic, allows me to click a "search" button in a menu to open a...
by arcuous
Fri Feb 17, 2017 6:08 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Action ToggleSurroundWithElementOperation inconsistent
Replies: 5
Views: 3253

Re: Action ToggleSurroundWithElementOperation inconsistent

Radu answered with the solution (excerpt): The proper value should actually be: <mh:Bold xmlns:mh="http://medhomeportal.org/schemas/MedhomeCommon"/> Oxygen will use the namespace information in the XML fragment and the toggle should start working fine for your case. Thanks Radu! ~Ryan
by arcuous
Thu Feb 16, 2017 7:58 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Action ToggleSurroundWithElementOperation inconsistent
Replies: 5
Views: 3253

Re: Action ToggleSurroundWithElementOperation inconsistent

Yes, these are all the same ToggleSurroundWithElementOperation. I have since had success with a combination of SurroundWithFragmentOperation and UnwrapTagsOperation, but I'll send the framework with Toggle, because I expect that to work as described. I started with 17 and updated to 18.1 without a c...
by arcuous
Wed Feb 15, 2017 9:29 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Action ToggleSurroundWithElementOperation inconsistent
Replies: 5
Views: 3253

Action ToggleSurroundWithElementOperation inconsistent

Sorry, first post. I'll read up on conventions to make this and subsequent questions better. Thanks for your attention meanwhile. There seems to be inconsistent behavior with ToggleSurroundWithElementOperation in the following scenario: <element>text before {startSel}text inside{endSel} text after</...