I have a requirement to have 'optional' columns in tables.

I thought that it was possible to filter a complete column in a simpletable, by 
setting @audience on every Nth (typically last) stentry in a strow.
Something like this:
-----------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN"
"topic.dtd">
<topic id="simple">
  <title>Simple Table</title>

  <body>
    <p>try this</p>

    <simpletable>
      <sthead>
        <stentry>Name</stentry>

        <stentry>Comment</stentry>

        <stentry audience="internal">Technical</stentry>
      </sthead>

      <strow>
        <stentry>Foo</stentry>

        <stentry>yellow</stentry>

        <stentry audience="internal">E = Mc squared</stentry>
      </strow>

      <strow>
        <stentry>Bar</stentry>

        <stentry>green</stentry>

        <stentry audience="internal">19 + 41 = 60</stentry>
      </strow>
    </simpletable>
  </body>
</topic>
--------------------------------------------
The entries do indeed get filtered, but a 'ghost' column, with no entries, 
remains.

My understanding is that filtering is done right at the start of the conversion 
process - so that the above would be turned into a two-entries-per-row table 
before any transforms were applied (and therefore before any customizations).

Any clarification would be most welcome!

regards

Roy MacLean| Technical Writer | T: +44 20 7562 7777 | M: +44 7956 474 911 | 
Dovetail | 51 Moorgate, London, EC2R 6BH, UK |

The information in this email is for the sole use of the intended 
recipients(s).  It may be confidential and/or legally privileged.  Any review, 
disclosure, copying, distribution, retention, or any other use by others is 
prohibited and may be unlawful. If you are not the intended recipient, please 
contact the sender and delete all copies. We reserve the right to monitor email 
content for the purposes of ensuring compliance with legal requirements and 
company policies and your sending to, or receiving from, us of any email 
constitutes your agreement to these terms.

--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to