Page 1 of 1

<ph> element in <body> element

Posted: Fri Aug 14, 2009 4:38 pm
by claudine
Hi everyone,

I'm new to XML, DITA, and Oxygen Editor so forgive me if my question is stupid.

I'm using the conref mechanism for variables (product names). For this purpose I've created a topic to contain those variables. The topic type is topic. Variables are placed in the <body> element.
Here's where my problem lies: DITA's Language Specification Version 1.1 says I can use <ph> in <body> but Oxygen Editor does not allow me to.

My Oxygen Editor version is 10.3.

Can you help me?

Thank you.

Claudine

Re: <ph> element in <body> element

Posted: Fri Aug 14, 2009 5:16 pm
by sorin_ristache
Hello,

The ph element cannot be a child of the body element. It can be a child of the p element and the p element can be a child of the body element. Can you post a fragment of your topic that contains the ph element and that you think should be validated without error?


Regards,
Sorin

Re: <ph> element in <body> element

Posted: Mon Aug 17, 2009 11:37 am
by claudine
Hi,

I feel like a fool : this morning I've read DITA's Language Specification Version 1.1 again and didn't read anywhere the <ph> element could be contained by the <body> element. I guess I was very tired Friday and misread the spec. I probably got confused between <p> and <ph>.

My apoplogies for any inconveniences.

Claudine