Custom Conditional Processing Attribute in DITAVAL #4510
-
I'm looking to create a custom conditional processing attribute that can be used within DITAVAL files. Currently, DITA offers predefined attributes such as product, platform, and audience, but I would like to introduce a new attribute called demo. example_topic.dita
custom.ditaval
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Adding a new profiling attribute means creating a DITA DTD specialization. |
Beta Was this translation helpful? Give feedback.
-
@raducoravu |
Beta Was this translation helpful? Give feedback.
-
@raducoravu demoContextPropsDomain.ent
demoGroupPropsDomain.ent
topic.dita
topic.dtd
|
Beta Was this translation helpful? Give feedback.
-
@saitejaseedella what does "it’s not working as expected" mean? Do you have any kind of validation error reported by the publishing engine? How about if you create a zip with your entire plugin and the sample source files and maybe someone on this thread can find some time to look at it. |
Beta Was this translation helpful? Give feedback.
-
@raducoravu, what I meant by "it’s not working as expected" is that I am unable to use demo-group as a Conditional Processing Attribute. |
Beta Was this translation helpful? Give feedback.
-
@saitejaseedella your attached zip does not contain a full example + DITA OT plugin folder. |
Beta Was this translation helpful? Give feedback.
@saitejaseedella your attached zip does not contain a full example + DITA OT plugin folder.
Can you pack in the zip something similar to my sample project, containing a samples folder and a complete DITA OT plugin folder?
https://github.com/oxygenxml-incubator/dita-ot-specialization-plugin-sample