[ grinder-Feature Requests-3389028 ] New XSLTHelper API to customize generated scripts

"SourceForge.net" <[email protected]> Tue, 09 Aug 2011 15:59:58 +0200
Newsgroups gmane.comp.java.grinder.devel
Message-ID <[email protected]>
Feature Requests item #3389028, was opened at 2011-08-09 15:59
Message generated for change (Tracker Item Submitted) made by jfpoilpret
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=368598&aid=3389028&group_id=18598

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: TCPProxy
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Jean-Francois Poilpret (jfpoilpret)
Assigned to: Nobody/Anonymous (nobody)
Summary: New XSLTHelper API to customize generated scripts

Initial Comment:
So far I have used TCPProxy with my own XSLT transform (based on Grinder provided xslt) for generating python scripts.
I see that all generated scripts use a 2 spaces indent which I find a bit difficult to work with in an editor.

I think it would be good to add a few methods to XSLTHelper API so that we can:
- change the size of an indent
- set the indent character to either space or tab

Thus, I could call the new API early in my XSLT and then have the indent I want for my generated scripts (personally, I would use either one tab or 4 spaces).

One possible API could be:

XSLTHelper.setIndentString(String indent)

which offers the most flexibility, but would also allow anything used as a possible indent...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=368598&aid=3389028&group_id=18598

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev