Refactoring attributes to inline

Here should go questions about transforming XML with XSLT and FOP.
Posts: 6

Refactoring attributes to inline

Mon Feb 27, 2017 1:30 pm


I currently have:

Code: Select all

       <xsl:attribute name="width">
       <xsl:attribute name="align">

I'd like to refactor this to:

Code: Select all

<td width='15%' align='left'>

Is this possible?

Posts: 5221

Re: Refactoring attributes to inline

Mon Feb 27, 2017 3:26 pm


Right now we only have the opposite refactoring action which converts attributes set on an element to xsl:attributes.
I will add an internal issue with your suggestion, maybe we can add a new refactoring action for what you want in a future Oxygen version.
We will update this forum thread when the improvement is available.

Radu Coravu
<oXygen/> XML Editor

Return to “XSLT and FOP”

Who is online

Users browsing this forum: No registered users and 1 guest