Interests: Developing web and mobile apps
Hobbies: Writing great code that helps people and businesses get stuff done. Love pizza, good music, good friends and beach combing.
Subscribe via Feed
3 responses to UPDATED: Transforming Domino Forms into XPages via XSLT
Sushant S. Bangalorkar, August 5, 2010 7:39 AM
I have in my application , a bunch of computed subforms depending on a field value set in the form? How may I replicate the same on an Xpage having datasource as the form ?
Paul T. Calhoun, February 7, 2010 10:43 PM
The DXL is never saved / stored as this process is using the DXL Utilities built into the domino designer client. I believe I'll be able to walk the DOM inline, just didn't have time before I wanted to get this out in the public space.
Stephan H. Wissel, February 7, 2010 2:33 PM
Actually getting subforms and shared fields in place is doable, but you might need a few extra steps. In xslt you can refer to an external file using the document() function. So when you come across a shared field ref or a subform you construct the document pointing to that element and process the document.
You probably need to have all DXL exported to make that work (DXLMagic to the rescue, it even splits the stuff nicely for you -- working hard to make it a DDE plug-in).
If you have all DXL exported you only need to run the transformation against the form. It will pickup the subforms/fields as needed.