Claudio Li wrote:
>
> Just wanna know could XMLmind Pro 4.5 be used for authoring contextual
> help.
>
> Say for example I would like to generate a set of single-page HTML
> topics with the following standard sections (each section is written in
> a single DITA file)
>
> HTML 1:
> -Overview of system module A
> -Overview of the the module interface
> -What can you do using this module
> -Task 1
> -Task 2
> -Task 3
> -Task 1 Fields Description
> -Task 2 Fields Description
> -Task 3 Fields Description
>
> HTML 2:
> -Overview of system module B
> -Overview of the the module interface
> -What can you do using this module
> -Task 1
> -Task 2
> -Task 3
> -Task 1 Fields Description
> -Task 2 Fields Description
> -Task 3 Fields Description
>
> Wonder if need to do anything special on the DITA/DITAMAP files so that
> each section will have a fixed ID (Then we can point to a particular
> section from different places of the UI).
>
No. You cannot control the IDs of the XHTML/HTML elements generated by
ditac (XMLmind DITA Converter, which is integrated in XMLmind XML Editor).
However this should not prevent you from authoring contextual
help.
For example:
If HTML 1 is addressed as html1.html,
Then, supposing that topic Task 1 has "task1" as its DITA ID, "HTML
1/Task 1" is addressed as html1.html#task1.
Now let's suppose that, topic Task 1 contains a table element having
"parameter_table" as its DITA ID.
You can address this table as html1.html#task1__-__parameter_table.
("__-__" is underscore, underscore, minus, underscore, underscore).
We'll document this in the next release of ditac.