Highlighted

FM drops the outputclass attribute of topic elements (DITA 1.2)

Explorer ,
Oct 28, 2016

Copy link to clipboard

Copied

Hi,

when I set a value for the outputclass attribute of topic elements, then FM does not preserve it when the topic is saved as an XML file. Do I need to adjust the r/w rule, what would need to be added?

What I want to get is simply

<topic id = "id123" outputclass = "abc">

attributes.png

I have already tried adding lines such as

element "topic" {

attribute "outputclass" is fm attribute "outputclass";

}

But evidently it is not that simple.

Robert

TOPICS
Structured

Views

170

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

FM drops the outputclass attribute of topic elements (DITA 1.2)

Explorer ,
Oct 28, 2016

Copy link to clipboard

Copied

Hi,

when I set a value for the outputclass attribute of topic elements, then FM does not preserve it when the topic is saved as an XML file. Do I need to adjust the r/w rule, what would need to be added?

What I want to get is simply

<topic id = "id123" outputclass = "abc">

attributes.png

I have already tried adding lines such as

element "topic" {

attribute "outputclass" is fm attribute "outputclass";

}

But evidently it is not that simple.

Robert

TOPICS
Structured

Views

171

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Oct 28, 2016 0
Rsfl LATEST
Explorer ,
Oct 31, 2016

Copy link to clipboard

Copied

I could verify now that this is definitely a Framemaker issue. When I manually write an outputclass attribute into the XML file then I can open it in FM and save it again without problems. However, if I create a new file (the EDD places certain values into the outputclass attribute depending on the topic type) then I see this value in the structure view, but not in the attribute inspector. Only when I manually select a value in the attribute inspector it is preserved when saving the file.

fm_error_attributes.png

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 31, 2016 0