<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>lekkimworld.comdxl</title>
    <link>http://lekkimworld.com/tags/dxl/</link>
    <description>IBM Lotus Notes/Domino, Websphere, IBM Connections, mobile, web, JavaScript, Java...</description>
    <language>en</language>
    <copyright>Mikkel Flindt Heisterberg (mh [at] intravision [dot] dk</copyright>
    <pubDate>Sat, 19 May 2012 06:50:25 GMT</pubDate>
    <dc:creator>Mikkel Flindt Heisterberg (mh [at] intravision [dot] dk</dc:creator>
    <dc:date>2012-05-19T06:50:25Z</dc:date>
    <dc:language>en</dc:language>
    <dc:rights>Mikkel Flindt Heisterberg (mh [at] intravision [dot] dk</dc:rights>
    <image>
      <title>lekkimworld.comdxl</title>
      <url>http://lekkimworld.com/tags/dxl/</url>
    </image>
    <item>
      <title>Lotusphere 2009: AD215 - Practical DXL Magic</title>
      <link>http://lekkimworld.com/2009/01/22/lotusphere_2009_ad215_practical_dxl_magic.html</link>
      <content:encoded>&lt;p&gt;Just sat through &lt;a href="http://www.wissel.net/blog"&gt;Stephan Wissels&lt;/a&gt; session on DXL and it was great. Good slides, not too many of them, excellent demos and altogether a great session. Way to go!&lt;/p&gt;&lt;p&gt;Below are the cliff notes.&lt;/p&gt;&lt;p&gt;&lt;ul&gt;&lt;li&gt;IResource in DDE returns DXL&lt;/li&gt;&lt;li&gt;DXL Studio by Stephan Wissel&lt;/li&gt;&lt;li&gt;DXL Explorer&lt;/li&gt;&lt;li&gt;Setting setForceNoteFormat="true" makes export round trip safe but not usable for anything else than round tripping (== binary)&lt;/li&gt;&lt;li&gt;stream out has to be UTF-8&lt;/li&gt;&lt;li&gt;Switch of "Compile LotusScript" to avoid script related import options; you can always recompile later&lt;/li&gt;&lt;li&gt;Watch out for line break issues; improvements needed; work from DOM tree in memory&lt;/li&gt;&lt;li&gt;If export fails try exporting design elements one by one; issue is probably a race condition as an 88 millisecond wait between design elements makes it work&lt;/li&gt;
&lt;li&gt;Get a decent XSLT/XPath editor - NO Notepad/vi&lt;/li&gt;&lt;li&gt;Approx. 156k lines of LotusScript in all IBM templates - thought it would be more (based on 69 templates&lt;/li&gt;&lt;li&gt;Cocomo tool for estimating how much time it takes to redo code&lt;/li&gt;&lt;li&gt;Cool demo showing how to transform a view to a XPage, some copy/pasting required but it works like a charm&lt;/li&gt;&lt;li&gt;Even cooler demo transforming a view to a XPage, again copy/pasting required but worked perfectly&lt;/li&gt;&lt;/ul&gt;&lt;/p&gt;</content:encoded>
      <category domain="http://lekkimworld.com/tags/dxl/">dxl</category>
      <category domain="http://lekkimworld.com/tags/lotusphere2009/">lotusphere2009</category>
      <pubDate>Thu, 22 Jan 2009 14:56:50 GMT</pubDate>
      <guid isPermaLink="false">tag:lekkimworld.com,2009-01-22:default/1232636210434</guid>
      <dc:date>2009-01-22T14:56:50Z</dc:date>
    </item>
    <item>
      <title>I'm trying to create script libraries using DXL - possible?</title>
      <link>http://lekkimworld.com/2009/01/03/im_trying_to_create_script_libraries_using_dxl_possible.html</link>
      <content:encoded>&lt;p&gt;
I have spent a little time this weekend trying to create Java script libraries (that is script libraries with Java code and not "JavaScript" libraries) from scratch using DXL. Exporting the DXL of a script library with a jar-file imported into it yields some base64 in a &amp;lt;javaarchive /&amp;gt; tag. The base64 data is however not decodable as it's not valid base64. Base on &lt;a href="http://lekkimworld.com/2006/03/17/helping_out_a_fellow_blogger_getting_the_actual_bytes_of_an_image_resource_a_lesson_in_the_intricacies_of_dxl_representation.html"&gt;prior experiences&lt;/a&gt; with this kind of stuff I tried decoding the bytes but without success. 
&lt;/p&gt;
&lt;p&gt;
The header in base64 is (or at leas to a multiple of 4 characters) is "UEsDBBQACAAIAKyEATkAAAAAAAAAAAAAAAAUAAAA". I guess the beginning is probably a CDFILEHEADER struct (based on &lt;a href="http://lekkimworld.com/2006/03/17/helping_out_a_fellow_blogger_getting_the_actual_bytes_of_an_image_resource_a_lesson_in_the_intricacies_of_dxl_representation.html#comment1144779124434"&gt;prior help&lt;/a&gt;) but I'm unable to decode it... :-(
&lt;/p&gt;
&lt;p&gt;
The struct should start with a DSIG struct (16 bit unsigned integer and a 32 bit unsigned integer) but I'm unable to get anything that makes sense. I end up with 20555 for the first WORD but that doesn't "compute". Bummer!
&lt;/p&gt;
&lt;p&gt;
If you've done any work on this and is willing to share please drop me a comment. Thanks.
&lt;/p&gt;</content:encoded>
      <category domain="http://lekkimworld.com/categories/java/">Java</category>
      <category domain="http://lekkimworld.com/tags/dxl/">dxl</category>
      <category domain="http://lekkimworld.com/tags/java/">java</category>
      <pubDate>Sat, 03 Jan 2009 14:02:51 GMT</pubDate>
      <guid isPermaLink="false">tag:lekkimworld.com,2009-01-03:default/1230991371239</guid>
      <dc:date>2009-01-03T14:02:51Z</dc:date>
    </item>
    <item>
      <title>Exporting DXL for databases with Java web services</title>
      <link>http://lekkimworld.com/2007/09/21/exporting_dxl_for_databases_with_java_web_services.html</link>
      <content:encoded>&lt;p&gt;
Today I needed to export a &lt;strike&gt;database&lt;/strike&gt; application containing a web service written in Java as DXL. How stupid of me to think that I could do this with only Notes.jar on my build path... Doing such an export will make your code throw java.lang.ClassNotFoundExceptions unless you have the following libraries on your build path:
&lt;ul&gt;
&lt;li&gt;jvm/lib/ext/notes.jar (not much surprise there)&lt;/li&gt;
&lt;li&gt;jvm/lib/ext/websvc.jar (due to missing lotus.domino.websvc.client.Service)&lt;/li&gt;
&lt;li&gt;jvm/lib/ext/mail.jar (due to missing java.mail.Multipart from lotus.domino.ws.ServiceContext)&lt;/li&gt;
&lt;li&gt;jvm/lib/ext/jsdk.jar (due to missing javax.servlet.http.HttpServlet)&lt;/li&gt;
&lt;li&gt;jvm/lib/xml.jar (due to missing org.apache.xerces.parsers.SAXParser)&lt;/li&gt;
&lt;/ul&gt;
The above was found by diagnosing and reading ClassNotFoundExceptions in Eclipse at runtime since ClassNotFoundException is a runtime exception.
&lt;/p&gt;
&lt;p&gt;
Now back to exporting...
&lt;/p&gt;</content:encoded>
      <category domain="http://lekkimworld.com/categories/java/">Java</category>
      <category domain="http://lekkimworld.com/tags/dxl/">dxl</category>
      <category domain="http://lekkimworld.com/tags/java/">java</category>
      <category domain="http://lekkimworld.com/tags/web_service/">web_service</category>
      <pubDate>Fri, 21 Sep 2007 15:56:00 GMT</pubDate>
      <guid isPermaLink="false">tag:lekkimworld.com,2007-09-21:default/1190390160000</guid>
      <dc:date>2007-09-21T15:56:00Z</dc:date>
    </item>
    <item>
      <title>Building XPath expression from XML node</title>
      <link>http://lekkimworld.com/2007/06/19/building_xpath_expression_from_xml_node.html</link>
      <content:encoded>Ever do parsing of large XML/DXL documents? Does the parsing ever fail? If it does you know you need some way to log the offending element in a compact and standardized way. For situations like this (and numerous others) XPath is the way to go and with code like I'll show in this post you are good to go. Java code ahead!&lt;p&gt;&lt;a href="http://lekkimworld.com/2007/06/19/building_xpath_expression_from_xml_node.html"&gt;Read more...&lt;/a&gt;&lt;/p&gt;</content:encoded>
      <category domain="http://lekkimworld.com/categories/java/">Java</category>
      <category domain="http://lekkimworld.com/categories/xml/">XML</category>
      <category domain="http://lekkimworld.com/tags/dom/">dom</category>
      <category domain="http://lekkimworld.com/tags/dxl/">dxl</category>
      <category domain="http://lekkimworld.com/tags/java/">java</category>
      <category domain="http://lekkimworld.com/tags/xml/">xml</category>
      <category domain="http://lekkimworld.com/tags/xpath/">xpath</category>
      <pubDate>Tue, 19 Jun 2007 06:27:36 GMT</pubDate>
      <guid isPermaLink="false">tag:lekkimworld.com,2007-06-19:default/1182234456228</guid>
      <dc:date>2007-06-19T06:27:36Z</dc:date>
    </item>
    <item>
      <title>Lotusphere 2007: The power of DXL (AD503)</title>
      <link>http://lekkimworld.com/2007/01/23/lotusphere_2007_the_power_of_dxl_ad503.html</link>
      <content:encoded>&lt;p&gt;
&lt;img src="http://lekkimworld.com/images/lotusphere/2007/lsbanner.jpg" style="float: right; margin-left: 5px; margin-bottom: 5px;" /&gt;
Apart from being told that the DXL implementation in Notes/Domino 8 will be able to surface the source code and WSDL from web services the session was below my expectations.
&lt;/p&gt;
&lt;p&gt;
The fact that the source code of web services will be surfaced will make &lt;a href="http://www.lsdoc.org"&gt;LotusScript.doc&lt;/a&gt; able to pick it up which is nice since I've had problems with this in the past (&lt;a href="http://lekkimworld.com/2005/11/03/domino_7_web_services_woes.html"&gt;Domino 7 web services woes&lt;/a&gt;). I talked to the developers about this last year and it appears I've been heard. Thank you for that!
&lt;/p&gt;</content:encoded>
      <category domain="http://lekkimworld.com/categories/lsdoc/">LotusScript.doc</category>
      <category domain="http://lekkimworld.com/categories/ibm_products/">IBM</category>
      <category domain="http://lekkimworld.com/tags/dxl/">dxl</category>
      <category domain="http://lekkimworld.com/tags/lotusphere2007/">lotusphere2007</category>
      <category domain="http://lekkimworld.com/tags/lotusscript/">lotusscript</category>
      <category domain="http://lekkimworld.com/tags/lotusscript.doc/">lotusscript.doc</category>
      <category domain="http://lekkimworld.com/tags/lsdoc/">lsdoc</category>
      <pubDate>Tue, 23 Jan 2007 17:02:04 GMT</pubDate>
      <guid isPermaLink="false">tag:lekkimworld.com,2007-01-23:default/1169571724666</guid>
      <dc:date>2007-01-23T17:02:04Z</dc:date>
    </item>
    <item>
      <title>Mark Ambler: Using LotusScript to import an image resource</title>
      <link>http://lekkimworld.com/2006/08/20/mark_ambler_using_lotusscript_to_import_an_image_resource.html</link>
      <content:encoded>&lt;p&gt;
I just saw that &lt;a href="http://markwambler.blogspot.com"&gt;Mark Ambler&lt;/a&gt; wrote some code to import an image resource into a Notes database using DXL. It complements the code I wrote some time back to export an image resource from a database using DXL (&lt;a href="http://lekkimworld.com/2006/03/17/helping_out_a_fellow_blogger_getting_the_actual_bytes_of_an_image_resource_a_lesson_in_the_intricacies_of_dxl_representation.html"&gt;Helping out a fellow blogger getting the actual bytes of an image resource - a lesson in the intricacies of DXL representation&lt;/a&gt;). 
&lt;/p&gt;
&lt;p&gt;
See the post for the complete code: &lt;a href="http://markwambler.blogspot.com/2006/05/using-lotusscript-to-import-image.html"&gt;Using LotusScript to import an image resource&lt;/a&gt;
&lt;/p&gt;</content:encoded>
      <category domain="http://lekkimworld.com/categories/ibm_products/">IBM</category>
      <category domain="http://lekkimworld.com/categories/xml/">XML</category>
      <category domain="http://lekkimworld.com/tags/dxl/">dxl</category>
      <category domain="http://lekkimworld.com/tags/xml/">xml</category>
      <pubDate>Sun, 20 Aug 2006 12:17:31 GMT</pubDate>
      <guid isPermaLink="false">tag:lekkimworld.com,2006-08-20:default/1156076251885</guid>
      <dc:date>2006-08-20T12:17:31Z</dc:date>
    </item>
  </channel>
</rss>


