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

SourceForge.net <[email protected]> Tue, 04 Oct 2011 16:09:21 +0100
Newsgroups gmane.comp.java.grinder.devel
Message-ID <[email protected]>
Feature Requests item #3389028, was opened at 2011-08-09 14:59
Message generated for change (Settings changed) made by philipa
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: Philip Aston (philipa)
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

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1