Not quite understanding DITAVAL and conditional processing..
Posted: Tue Dec 03, 2013 11:10 pm
I have watched the videos on setting up conditional profiles, and have read up in DITAVAL, but I cannot figure out the secret handshake. As I understand it, and as it is implied by the fact the oXygen "Editor/Edit Modes/Author/Profiling/Conditional Text" window allows me to define my own conditional text values (Click Profiling Attributes <New>, enter DITA, enter any attribute name and display name, and add the values the element can be,) then create a profiling condition set and add the attribute you just defined, apply your changes and everything looks swell.
Now, try an add the attribute to an element. It doesn't show up in the list of available attributes.
Ok. Plan B. Create a new DITAVAL file. Load it up with your attributes and their values, exclude or include. Go back into the "Editor/Edit Modes/Author/Profiling/Conditional Text" window and add the DITAVAL file you just created in the Profiling Condition Sets. Apply your changes.
Again, try an add the attribute to an element. Oh...sorry. But here's a copy of our home edition...
What's the secret handshake? Why don't these attributes show up in the list? Can we define our own or not, and if not, why can we add them in the window?
All I want to do is pull in a paragraph that has a ModeOfOperation value of "manual" or "batch". That shouldn't be this difficult. Must I use the OtherProps attribute, and if so, what happens when I need more customized properties??
Now, try an add the attribute to an element. It doesn't show up in the list of available attributes.

Ok. Plan B. Create a new DITAVAL file. Load it up with your attributes and their values, exclude or include. Go back into the "Editor/Edit Modes/Author/Profiling/Conditional Text" window and add the DITAVAL file you just created in the Profiling Condition Sets. Apply your changes.
Again, try an add the attribute to an element. Oh...sorry. But here's a copy of our home edition...

What's the secret handshake? Why don't these attributes show up in the list? Can we define our own or not, and if not, why can we add them in the window?
All I want to do is pull in a paragraph that has a ModeOfOperation value of "manual" or "batch". That shouldn't be this difficult. Must I use the OtherProps attribute, and if so, what happens when I need more customized properties??