On 03/07/2014 06:11 PM, [email protected] wrote:
How do I create a properties table like the one below? I can create a
properties table with one row and three columns: Property Type, Value,
and Description. Would like to add a header and two columns: Name and
Required.
You cannot use the <properties> DITA element for that.
A <properties> (rendered by XMLmind XML Editor as a table) contains one
or more <property> child elements (rendered as a row) which it turn
contain <proptype>, <propvalue> and <propdesc> (rendered as cells).
Hence the <properties> element can have up to 3 columns; never more.
See http://docs.oasis-open.org/dita/v1.2/os/spec/langref/properties.html
You have to use:
* A <simpletable>. See
http://docs.oasis-open.org/dita/v1.2/os/spec/langref/simpletable.html
* OR a <table>. See
http://docs.oasis-open.org/dita/v1.2/os/spec/langref/table.html
Also a properties table with more than one row.
Please take the time to learn the basics of XMLmind XML Editor,
otherwise I'm afraid you'll loose your time with our product.
See for example
http://www.xmlmind.com/xmleditor/_tutorial/basic_edit/index.html
It *always* works like this:
1) Click anywhere inside the last <property> child of the <properties>
element.
2) Select the <property> child by clicking on its name in the node path
bar. You'll see a red box around it. The <property> element is now said
to be explicitly selected.
3) "Use Edit|Insert After" (notice "Insert *After*") and choose
"property" from the list displayed by the Edit tool.
Now, to prove my point, let's explain how insert a header before first
<property> child:
1) Click anywhere inside the first <property> child of the <properties>
element.
2) Select the <property> child by clicking on its name in the node path
bar. You'll see a red box around it. The <property> element is now said
to be explicitly selected.
3) "Use Edit|Insert Before" (notice "Insert *Before*") and choose
"prophead" from the list displayed by the Edit tool.
Once you know the basic idea, you'll never be stuck with XMLmind XML Editor.
---
PS: Your first question is not directly related to our product: XMLmind
XML Editor. You question is related to DITA. In principle, I should not
have answered it.
See http://www.xmlmind.com/xmleditor/support_policy.html
---
We'll try to answer all your questions, albeit with the following
restrictions:
...
* We'll not answer questions about markup languages (DocBook, DITA, etc).
---
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support