Project

Profile

Help

xsl:key in streaming mode

Added by Mohd Shadab almost 7 years ago

While trying this xsl, get error

+Navigation using descendant axis is not supported from a streamed input node+



     

	

     
          
                            
          
     
     
     
          
               
                    
                         
                              
                         
                    
                                  
          
     

Please advise - (a) Is there a constraint on using xsl:key while streaming?, (b) any alternative to handle such scenario?


Replies (1)

RE: xsl:key in streaming mode - Added by Michael Kay almost 7 years ago

xsl:key builds an index over the document and this necessarily requires that the document exists in memory.

In this example you can replace your call on key() by


assuming that the Person you want to select is a child of the current Persons element.

    (1-1/1)

    Please register to reply