Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Where can I find the read/write rules?

New Here ,
Dec 02, 2008 Dec 02, 2008
Hello,

I changed the file "topic.ruels.txt".

element "shortdesc" {
is fm marker element;
marker text is content;
}

FrameMaker told me, that "the type mismatches for the FrameMaker element (shortdesc).
The type defined by the read/write rules is different from that defined by the template."

Where can I find the read/write rules?

With kind regards,

Nina
TOPICS
Structured
879
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Dec 02, 2008 Dec 02, 2008
Hi Nina,

The r/w rules and template (via EDD) must be in sync with element types.

Check the EDD that it declares "shortdesc" as fm marker element and the import EDD to template.

Hope this helps,
Martti
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 02, 2008 Dec 02, 2008
Hi Nina...

The "topic.rules.txt" file *is* the read/write rules file. When you change the object type in the rules file, you'll also need to change the type of the corresponding element in the EDD.

Cheers,

...scott
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 03, 2008 Dec 03, 2008
Hello,

thank you for your help. I think I didnt understand the "command" I use. I copy it from the element indexterm. I only want to approach/call the element shortdesc, not to change its object type.
But where in the EDD can I get the information what kind of element the shortdesc is? Is this information only important, when I want to change the object type?

With kind regards,

Nina
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Dec 03, 2008 Dec 03, 2008
Nina,

In an EDD, every element has a "type," because certain elements represent special FrameMaker elements such as marker objects. Along with this, during import, the read/write rules alert FrameMaker what type of element each one is in the XML. What you did is told FrameMaker that the shortdesc element should be a marker-type element, but the EDD still defines shortdesc as a container-type element. Declarations in the read/write rules must match the declarations in the corresponding EDD.

Again, as I mentioned in another thread, this is a very broad topic. I think that you should spend some time with the Structure Developer's Guide, which contains all the information about these subjects. We are happy to assist with focused questions that can be clearly answered through brief forum exchanges, but the answers to your questions require a fundamental elevation in subject matter expertise that we can't provide here.

Russ
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 03, 2008 Dec 03, 2008
LATEST
Hello Russ,

I didnt know or didnt remember that the Structure Developer's Guide exist. I will read it.

With kind regards,

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