Intellisense support xsl:use-attribute-sets

Hello, I have intellisense working good for xslt and xslt-fo within Oxygen. Why isn't xsl:use-attribute-sets not an intellisense item? The named attribute-sets are, so once you have the entire xsl:use-attribute-sets typed out, you then get a list of the attribute sets. Thanks, Karl..

Hello, Content completion works for the use-attribute-sets attribute. When I use content completion to insert one of the elements xsl:copy, xsl:element, xsl:attribute-set and the attribute use-attribute-sets the content completion popup for the value of the attribute use-attribute-sets lists all the names of the elements xsl:attribute-set that are already defined in the stylesheet. Can you post a sample stylesheet where the content completion popup for the value of the attribute use-attribute-sets does not do that? What version of Oxygen do you use? Regards, Sorin Karl Stubsjoen wrote:
Hello,
I have intellisense working good for xslt and xslt-fo within Oxygen. Why isn't xsl:use-attribute-sets not an intellisense item? The named attribute-sets are, so once you have the entire xsl:use-attribute-sets typed out, you then get a list of the attribute sets.
Thanks,
Karl..

Hi, Related to this, at least in dev version of 10.3, if you have literal result elements in your stylesheets, Oxygen suggests attributes for e.g. HTML elements, but xsl:use-attribute-sets attribute is not on the list. Could it be added? Cheers, Jarno On 2009-6-2 11:48, "Sorin Ristache" <sorin@oxygenxml.com> wrote:
Hello,
Content completion works for the use-attribute-sets attribute. When I use content completion to insert one of the elements xsl:copy, xsl:element, xsl:attribute-set and the attribute use-attribute-sets the content completion popup for the value of the attribute use-attribute-sets lists all the names of the elements xsl:attribute-set that are already defined in the stylesheet. Can you post a sample stylesheet where the content completion popup for the value of the attribute use-attribute-sets does not do that? What version of Oxygen do you use?
Regards, Sorin
Karl Stubsjoen wrote:
Hello,
I have intellisense working good for xslt and xslt-fo within Oxygen. Why isn't xsl:use-attribute-sets not an intellisense item? The named attribute-sets are, so once you have the entire xsl:use-attribute-sets typed out, you then get a list of the attribute sets.
Thanks,
Karl..
oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Hello, The development for version 10.3 will be finished soon so your request will not be implemented in version 10.3 but we will consider that for a future version. Thank you for your request, Sorin Jarno Elovirta wrote:
Hi,
Related to this, at least in dev version of 10.3, if you have literal result elements in your stylesheets, Oxygen suggests attributes for e.g. HTML elements, but xsl:use-attribute-sets attribute is not on the list. Could it be added?
Cheers,
Jarno

Sorin, I do get content completion for the list of all named xsl:attribute-set defined, I do not get content completion when typing: x-s-l-:-a-t-t-r ... (and so on) Karl.. On Tue, Jun 2, 2009 at 1:48 AM, Sorin Ristache <sorin@oxygenxml.com> wrote:
Hello,
Content completion works for the use-attribute-sets attribute. When I use content completion to insert one of the elements xsl:copy, xsl:element, xsl:attribute-set and the attribute use-attribute-sets the content completion popup for the value of the attribute use-attribute-sets lists all the names of the elements xsl:attribute-set that are already defined in the stylesheet. Can you post a sample stylesheet where the content completion popup for the value of the attribute use-attribute-sets does not do that? What version of Oxygen do you use?
Regards, Sorin
Karl Stubsjoen wrote:
Hello,
I have intellisense working good for xslt and xslt-fo within Oxygen. Why isn't xsl:use-attribute-sets not an intellisense item? The named attribute-sets are, so once you have the entire xsl:use-attribute-sets typed out, you then get a list of the attribute sets.
Thanks,
Karl..
oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Hello, Do you mean you do not get xsl:attribute-set as an item in the content completion popup? It appears in the content completion popup only when you want to insert the xsl:attribute-set as a global element in the stylesheet. Do you mean you do not get xsl:use-attribute-sets as an attribute in the content completion popup inside the element xsl:attribute-set? The attribute does not have a namespace when it is used on an XSLT element: xsl:copy, xsl:element, xsl:attribute-set, for example: <xsl:attribute-set name="set1"> <xsl:attribute name="a1">v1</xsl:attribute> </xsl:attribute-set> <xsl:attribute-set name="set2" use-attribute-sets="set1"> <xsl:attribute name="a2">v2</xsl:attribute> </xsl:attribute-set> You have to use use xsl:use-attribute-sets (xsl: is the prefix for the XSLT namespace) only in elements that are not from the XSLT namespace, for example XHTML elements: <table xsl:use-attribute-sets="set2"> ... </table> Regards, Sorin Karl Stubsjoen wrote:
Sorin, I do get content completion for the list of all named xsl:attribute-set defined, I do not get content completion when typing: x-s-l-:-a-t-t-r ... (and so on) Karl..

We implemented support for showing xsl:* attributes on literal result elements. This will be available in oXygen 10.3. For XSLT 1.0 oXygen will present xsl:extension-element-prefixes xsl:exclude-result-prefixes xsl:use-attribute-sets xsl:version and for XSLT 2.0 in addition to the above oXygen will also show xsl:default-collation xsl:xpath-default-namespace xsl:inherit-namespaces xsl:use-when xsl:type xsl:validation Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com
participants (4)
-
George Cristian Bina
-
Jarno Elovirta
-
Karl Stubsjoen
-
Sorin Ristache