If you put a @Do inside the @Transform, you can have "as many lines as you want". Variables created inside the @Transform is reachable from outside the transform.
To document this, I've made an ugly example :)
Result:
Code:
>> Download formula
My useful and useless experiments with Lotus Notes / Domino
'(declarations)
Dim httpobj As Variant
Dim source As Variant, style As Variant
'Terminate
Set httpobj = Nothing
Set source = Nothing
Set style = Nothing
'..
login = "https://server.com/names.nsf?login&"+_
"username=foo&password=bar"
xmlurl = "https://server.com/db.nsf/first.xml"
xslurl = "https://server.com/db.nsf/first.xsl"
'first call
Print transformXML( login, xmlurl, xslurl )
'..
'second call, same xsl-template
xmlurl = "https://server.com/db.nsf/second.xml"
Print transformXML( "", xmlurl, "" )
'..
'third call, different xsl-template
xmlurl = "https://server.com/db.nsf/view?ReadViewEntries"
xslurl = "https://server.com/db.nsf/view.xsl"
Print transformXML( "", xmlurl, xslurl )
'..
2009 All Rights Reserved DontPanic - a blog about Lotus Notes / Domino.
Free Blogger Templates by DeluxeTemplates.net • Wordpress designed by Acosmin