I have some xslt v2 code that I use for a visual studio solution to generate
some C# code.
I'd like to refactor out some repetition and reuse some similar templates
however they
currently generate code used in different locations and as such the leading
empty space
padding differs, for example:
public void Foo()
{
//...
}
versus
public void Foo()
{
//...
}
I thought of creating a template that took a padding parameter and built up a
sequence
after which it output each element of the sequence prefixed with the padding
count and
ending in a linebreak.
Is there a better way for this type of thing?
Thanks,
jlc
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--