FORUMS


Discussion about Intalio|BPP Community Edition.


Back to Intalio|BPMS 5.2 (0 viewing) 
Go to bottom Favoured: 0
TOPIC: Re:Problem using XForms
Jan 1, 2009 2:55 pm
danielandross (User)
61 posts
Senior Boarder

Karma: 0  
Hello Ravinderjit,

thank you. The Sample does exactly what I want to do.
Unfortunately I can\'t reproduce it completely. From the tutorial I don\'t understand how to get doXSLTRansform and the xsl-Sheet into the Mapping area. Could you explain this to me?

Thank you for your support.

regards
Daniel
 
  The administrator has disabled public write access.
Jan 2, 2009 8:26 am
239 posts
Gold Boarder

Karma: 11  
Hi Daniel,

You can get \"doXSLTransform ()\" operator from Mapper Palette\".
1. Go to Window > Show View and select \"Mapper Palette\".
2. Expand 16. BPEL XPath Functions, drag and drop bpel:doXSLTransfrom function to Mapper area.
Please refer to this page for more details about this function.
http://blogs.sun.com/kevansplace/entry/doxsltransform_in_bpelse

I hope it helps you.

Thanks,
Ravinderjit.
 
  The administrator has disabled public write access.
Jan 2, 2009 2:26 pm
danielandross (User)
61 posts
Senior Boarder

Karma: 0  
Hello Ravinderjit,

thank you, I found it. My next Problem is how to get the xsl file into the mapper. I tried to put a fn:document-uri into the mapper and then rename it to \"/nameofXSLinRoot.xsl\". But this doesn\'t work. When I try to deploy it says \"null:162: error: [CantFindXslt] Could not find the XSLT stylesheet referenced with URI net.sf.saxon.expr.PathExpression@821aaa72, make sure it has been properly provided to the compiler.\"

How do I get the xsl sheet to the doXSLtransform function?

thank you.

regards
Daniel
 
  The administrator has disabled public write access.
Jan 2, 2009 2:45 pm
239 posts
Gold Boarder

Karma: 11  
Hi Daniel,

Please attach the project file so that I can look into and also make sure that you have selected all the runtime file in deployment wizard.

Thanks,
Ravinderjit.
 
  The administrator has disabled public write access.
Jan 2, 2009 3:55 pm
metabyte (User)
415 posts
Platinum Boarder

Karma: 17  
Hi Daniel,

I\\\'m attaching here two screen shots that show you how to use the mapper for XSL transforms. Simply reference the XSL sheet location relative to your process root directory.
File Attachment:
File Name: ScreenHunter_02_Jan.gif
File Size: 3442
 
 
Last Edit: 2009/01/02 15:56 By metabyte.
 
  The administrator has disabled public write access.
Jan 2, 2009 5:28 pm
danielandross (User)
61 posts
Senior Boarder

Karma: 0  
Hello,

I had connected the xsl file as described by these screenshot. But it doesn\'t work, when deploying.
I attached the project.


thank you.

regards
Daniel
File Attachment:
File Name: XSLTutorial.zip
File Size: 17853
 
  The administrator has disabled public write access.
Jan 2, 2009 6:21 pm
metabyte (User)
415 posts
Platinum Boarder

Karma: 17  
Hello Daniel,

Here is an updated version of your project. I did not test it yet, but I changed some details, as per my own experience.

1) Make sure the XSL file is the first argument of bpel:doXslTransform(). In your project, you inverted the order
2) Make sure you map the complete message (not just a node) as the second argument of bpel:doXslTransform()
3) Change the XSL sheet by adding the
Code: :

 <xsl:element name=\"root\" namespace=\"http://example.com/displaycandidates/xform\">

instead of
Code: :

 <displaycandidates:Chosen_Candidates_items>


look at the XSL tranform sample in the tutorials

Deploy this and let me know how it goes.

Hicham
File Attachment:
File Name: XSLTutorialV2.zip
File Size: 40519
 
 
  The administrator has disabled public write access.
Jan 3, 2009 12:58 pm
danielandross (User)
61 posts
Senior Boarder

Karma: 0  
Hello Hicham,

thanks for the advise. But the updated Project isn\\\'t working as well. Same error with cand_v2 instead of cand file.
What do you mean by first argument? Is there a tutorial explaining how to set arguments to bpel functions? Didn\\\'t find anything about it yet.

thank you.

regards
Daniel
 
 
Last Edit: 2009/01/03 12:59 By danielandross.
  The administrator has disabled public write access.
Jan 3, 2009 5:49 pm
metabyte (User)
415 posts
Platinum Boarder

Karma: 17  
Hello,

You should take a look at this tutorial

Hope it helps
 
 
  The administrator has disabled public write access.
Jan 12, 2009 8:32 am
danielandross (User)
61 posts
Senior Boarder

Karma: 0  
Hello,

that link shows how to import a project that is using doxsltransform. But it doesn\'t show how to actually do it.
My Questions are:
1. How do I get a link to a file located in my workspace into the mapper area?
2. How do I connect that reference to the doxsltransform function, so it recognizes it as the 1st parameter?

We can\'t find any description about that.

thank you.

regards
Daniel
 
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop

Top Posters

Last 30 days

  • estebanf (39)
  • madhav.vodnala (21)
  • kevin.fernandez (14)
  • scott.hebden (10)
  • jaouhar.ahmed (10)
  • jigonzalez@vertice.es (8)
  • federico.baroni (8)
  • marcelr (8)
  • ianoboa (7)
  • spyridoula.markopoulou (7)

All time

  • Antoine (2754)
  • Shivanand (1194)
  • cshekhar (933)
  • psq (797)
  • metabyte (415)
  • jag (393)
  • dfrench (367)
  • arnaud (329)
  • jalateras (325)
  • talita.pezzi (254)

Show last 4 hrs - 12 hrs - 24 hrs

Copyright © Intalio, 1999-2010.