Project

Profile

Help

Support #3539

closed

Template rule is not streamable

Added by abhishek munjal about 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Streaming
Sprint/Milestone:
-
Start date:
2017-11-21
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

I Have a input XML hierarchy like this:

Here Sender and Summary occurs once and Persons is a repeating node. I want to produce similar output XML (by applying some xslt rules).

For-each is applied on Persons node : <xsl:for-each select="LendingDataMessage/Persons ! copy-of(.)">

Every time i run the XSLT in streaming mode , it gives me error : Template rule is not streamable * There is more than one consuming operand.

If i remove Sender and Summary nodes then it works fine . Could you please help me out how to achieve the correct output.

Sample XSL and input XML is attached.


Files

sample.xsl (2.45 KB) sample.xsl abhishek munjal, 2017-11-21 13:01
MockSource2.xml (75.8 KB) MockSource2.xml abhishek munjal, 2017-11-21 13:02
sample2.xsl (2.42 KB) sample2.xsl Michael Kay, 2017-11-21 13:32

Please register to edit this issue

Also available in: Atom PDF