Page 1 of 1

Problem with Indent and Format

Posted: Wed Apr 21, 2004 9:59 pm
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?

Posted: Thu Apr 22, 2004 3:24 am
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