Search found 6 matches

by javauser007
Thu Oct 31, 2019 8:41 am
Forum: XSLT and FOP
Topic: Breaking for-each loop on a conditional base
Replies: 2
Views: 11181

Re: Breaking for-each loop on a conditional base

Thanks Adrian, this helped me.
by javauser007
Wed Oct 30, 2019 5:17 pm
Forum: XSLT and FOP
Topic: Breaking for-each loop on a conditional base
Replies: 2
Views: 11181

Breaking for-each loop on a conditional base

Hello All, I'm new to xslt 2.0, I would like to set the value to a variable in for-each loop only once (means if the value set, I want to come out of the loop). For now it keep iterating for all the users. I just want to come out of the loop once the value set (immediately after my first attemp). I'...
by javauser007
Thu Oct 24, 2019 2:24 pm
Forum: XSLT and FOP
Topic: Not able to group similar type elements with same value
Replies: 4
Views: 2006

Re: Not able to group similar type elements with same value

Hi Adrian,

Thanks for the reply. I have declared the variable $relation_doc_uri and it has proper value.

But my code is not moving inside the below for loop.

<xsl:for-each-group select="$v_ownerships" group-by="source">

Thank you
by javauser007
Thu Oct 24, 2019 11:54 am
Forum: XSLT and FOP
Topic: Not able to group similar type elements with same value
Replies: 4
Views: 2006

Re: Not able to group similar type elements with same value

Hi Adrian,

I have already declared that variable and it is going inside the if condition. even I'm able to print the $relation_doc_uri . But after that it is failing.
by javauser007
Thu Oct 24, 2019 8:53 am
Forum: XSLT and FOP
Topic: Not able to group similar type elements with same value
Replies: 4
Views: 2006

Not able to group similar type elements with same value

Hello All, Can you please help to debug below error? ERROR: net.sf.saxon.trans.XPathException: Errors were reported during stylesheet compilation at net.sf.saxon.style.StylesheetModule.loadStylesheet(StylesheetModule.java:260) at net.sf.saxon.style.Compilation.compileSingletonPackage(Compilation.jav...
by javauser007
Tue Oct 22, 2019 12:58 pm
Forum: XSLT and FOP
Topic: Creating a list with similar type of elements and keep them in map
Replies: 0
Views: 1635

Creating a list with similar type of elements and keep them in map

Hi Team,

I'm new to XSLT, could you please let me know how to create a list with similar type of elements and keep them in a list.