Problem with Indent and Format

Having trouble installing Oxygen? Got a bug to report? Post it all here.
jjones

Problem with Indent and Format

Post by jjones »

I am using the Oxygen plugin version 2.0.4 for eclipse. It works great, however I am having a problem that could become huge as we continue to expand our business.

In an xsl stylesheet, I have the following:

<meta name="description" content="{$description}"/>
<meta name="keywords" content="{$keywords}"/>

When I use the Format & Indent feature, it replaces the above with this:

<meta content="{$description}" name="description"/>
<meta content="{$keywords}" name="keywords"/>

This causes a problem with search engine placement, as the serach engines skip over the above because the name of the tag comes last.

Anyone have a solution?
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

Since oXygen 3.0 there is an option that controls if the attributes should be sorted or not (called Sort attributes). You can get the oXygen 3.1 plugin from the download page.

Best Regards,
George
Post Reply