[oXygen-user] copying tables from other sources

Oxygen XML Editor Support (Radu Coravu)
Tue Sep 15 07:35:18 CDT 2015


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
>
>  <mailto:>
>
> <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
> 
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>


More information about the oXygen-user mailing list