copying tables from other sources

Whenever I copy a table from Word or Excel, or even HTML to a DITA reference topic all of the elements come across as <properties> (etc), but if I drop it into a Concept, Oxygen translates a table into the proper DITA elements. Does anyone know how to fix this since the majority of our Reference topics contain tables? Don Cwiklowski, Jr. Sr. Technical Communicator Customer Technical Communications | Operations and Technology MasterCard 2200 MasterCard Blvd | O'Fallon, MO 63366 tel 636-722-6802 don_cwiklowski@mastercard.com<mailto:don_cwiklowski@mastercard.com> [cid:image001.gif@01D0EF87.2A1DBDC0]<www.mastercard.com> Please think of the environment before printing this email. CONFIDENTIALITY NOTICE This e-mail message and any attachments are only for the use of the intended recipient and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient, any disclosure, distribution or other use of this e-mail message or attachments is prohibited. If you have received this e-mail message in error, please delete and notify the sender immediately. Thank you.

Hi Don, What version of Oxygen are you using? By default Oxygen 17.0 prefers to paste tables as CALS tables, even when pasting inside a DITA reference-type topic. If you are using Oxygen 15.2 or older you can edit the XSLT stylesheet:
OXYGEN_INSTALL_DIR\frameworks\dita\resources\xhtml2reference.xsl
and remove or comment from it the XSLT template element:
<xsl:template match="e:table[ $context.path.names.sequence[1] = 'reference' or ($context.path.names.sequence[1] = 'dita' and $context.path.names.sequence[2] = 'reference')]" priority="1"> <properties> <xsl:apply-templates mode="reference"/> </properties> </xsl:template>
Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 9/15/2015 3:21 PM, Cwiklowski, Don wrote:
Whenever I copy a table from Word or Excel, or even HTML to a DITA reference topic all of the elements come across as <properties> (etc), but if I drop it into a Concept, Oxygen translates a table into the proper DITA elements. Does anyone know how to fix this since the majority of our Reference topics contain tables?
*Don Cwiklowski, Jr.*
Sr. Technical Communicator
Customer Technical Communications| Operations and Technology
MasterCard
2200 MasterCard Blvd| O'Fallon, MO 63366
tel 636-722-6802
don_cwiklowski@mastercard.com <mailto:don_cwiklowski@mastercard.com>
<www.mastercard.com>
//
/Please think of the environment before printing this email./
CONFIDENTIALITY NOTICE This e-mail message and any attachments are only for the use of the intended recipient and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient, any disclosure, distribution or other use of this e-mail message or attachments is prohibited. If you have received this e-mail message in error, please delete and notify the sender immediately. Thank you.
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (2)
-
Cwiklowski, Don
-
Oxygen XML Editor Support (Radu Coravu)