This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 31709

Summary: Jump to XSL <template>
Product: xml Reporter: miks <miks>
Component: XSLAssignee: issues@xml <issues>
Status: NEW ---    
Severity: blocker CC: asgeir, dpavlica
Priority: P3 Keywords: UI
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 32047, 32050    

Description miks 2003-03-05 22:06:45 UTC
It would be nice if while editing XSL file, there would be 
a drop down of all the template in the top of the editing 
window in the similar way that the drop down exist while 
editing java code.
Comment 1 _ pkuzel 2003-03-06 09:10:37 UTC
But the template name it optional (and the match expression can be
pretty long). What's your primary XSLT-stylesheet navigation problem?
Comment 2 miks 2003-03-06 21:33:37 UTC
You're are right on both remarks, nevertheless when 
programming XSLT I've often the need to jump to a specific 
template either by it's name, or by the nodes sent to it 
in the 'select' attribute of the 'xsl:apply-template' tag. 
So perhaps the toolbar is not the appropriate place for 
templates with long matching expression, but a 'jump to' 
dialog box with a selective drop down is perhaps more 
appropriate?
Comment 3 _ pkuzel 2003-03-10 11:19:36 UTC
... with shortcut and implemenataion that automatically fills default
dialog values if staying in <apply-templates/> context.

Something like Java's goto decladation action.