Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
Posts: 44


Fri Aug 19, 2005 3:49 pm

With Eclipse 3.1 and Oxygen 6.1, I don't get any autocompletion for entering
xsl:template/@exclude-result-prefixes in the XSLT editor

<xs:template xmlns:xs='....' >

I have the cursor inside <xs:template> and press 'excl' and then hit Ctrl+espace and nothing happens.

I expect to autocomplete 'exclude-result-prefixes'.
Site Admin
Posts: 2100

Fri Aug 19, 2005 4:06 pm

Hi David,

I can reproduce this behavior only with a version 1.0 XSLT stylesheet. That is because the exclude-result-prefixes attribute is not allowed inside xsl:template in XSLT 1.0, you should place it in the xsl:stylesheet element.

If I set the xsl:version to 2.0 then oXygen offers the exclude-result-prefixes attribute inside an xsl:template.

If you still have problems please post a cut down but complete XSLT stylesheet and a short description to reproduce the behavior.

Best Regards,
Posts: 44


Mon Aug 22, 2005 10:23 am

Sorry I meant xs:stylesheet/@exclude-result-prefixes.

This is a 1.0 feature and doesn't work.
Posts: 4144

Mon Aug 22, 2005 3:10 pm


It works for me. If I have

Code: Select all

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

in a XSL editor panel and I write excl after version="1.0" I see exclude-result-prefixes in the content completion window. Post the xsl:stylesheet tag of your stylesheet. Did you create the stylesheet with New - XSL Stylesheet ?

Best Regards,

Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 2 guests