Profiling attributes in DITA Maps Manager

Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
Johann
Posts: 240
Joined: Wed Jun 17, 2015 12:46 pm

Profiling attributes in DITA Maps Manager

Post by Johann »

Hello,

In Author Web version 27.0, I open a DITA Map in the DITA Map Manager.
This DITA Map is associated with a ditaval and a subjectscheme.

Here's a simplified example of the subjectscheme:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<subjectScheme>
	<topicmeta>
		<metadata/>
	</topicmeta>
	<subjectHead>
		<subjectHeadMeta>
			<navtitle>Applicabilities</navtitle>
		</subjectHeadMeta>
	</subjectHead>
	<subjectdef keys="PRO-0011">
		<topicmeta>
			<navtitle>Product1</navtitle>
		</topicmeta>
		<subjectdef keys="VAR-0001">
			<topicmeta>
				<navtitle>Variant1</navtitle>
			</topicmeta>
			<subjectdef keys="RAN-0001">
				<topicmeta>
					<navtitle>101 to 150</navtitle>
				</topicmeta>
			</subjectdef>
		</subjectdef>
		<subjectdef keys="VAR-0002">
			<topicmeta>
				<navtitle>Variant2</navtitle>
			</topicmeta>
			<subjectdef keys="RAN-0002">
				<topicmeta>
					<navtitle>1001 to 1017</navtitle>
				</topicmeta>
			</subjectdef>
		</subjectdef>
		<enumerationdef id="PRO-00Enum">
			<attributedef name="product"/>
			<subjectdef keyref="PRO-0011"/>
		</enumerationdef>
	</subjectdef>
</subjectScheme>
Here's a simplified example of the map:

Code: Select all

<map id="MAP_simpledoc-applicabilities">
	<title>MAP Simpledoc applicabilities</title>
	<topicmeta/>
	<topicref href="TOPIC_simpledoc-applicabilities-chapter-title_rev1.dita">
		<topicref href="TOPIC_simpledoc-applicabilities-rail-task_rev1.dita"/>
		<topicref href="TOPIC_simpledoc-applicabilities-rail-task-included_rev1.dita" product="VAR-0001 RAN-0001"/>
		<topicref href="TOPIC_simpledoc-applicabilities-rail-task-excluded_rev1.dita" product="RAN-0002"/>
	</topicref>
</map>
If I ask to display the Profiling attributes in the DITA Maps Manager view, I get:

Code: Select all

---
	---
	--- Product1 [101 to 150 Variant1]
	--- Product1 [1001 to 1017]

I'd like to be able to change the current display order to match the order of the @product attributes (VAR-0001 then RAN-0001) and thus obtain:

Code: Select all

---
	---
	--- Product1 [Variant1 101 to 150]
	--- Product1 [1001 to 1017]
How can I get this result?

Thank you for your help,

Johann
Radu
Posts: 9434
Joined: Fri Jul 09, 2004 5:18 pm

Re: Profiling attributes in DITA Maps Manager

Post by Radu »

Hi Johann,
We do not have such a possibility.
The editable DITA Map tree displays the profiling attribute values for a certain profiling attribute sorted by value and there is no setting to control this.
In general when you have something like this:

Code: Select all

<topicref href=".." product="value1 value2 .... valuen"/>
The order of those token values in the product attribute is not important for the publishing and also when editing the order may change depending on how the attribute is modified.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply