File tree 1 file changed +31
-0
lines changed
1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 401
401
<xsl : copy-of select =" ." />
402
402
</xsl : template >
403
403
404
+ <xsl : template match =" dynamic" >
405
+ <xsl : choose >
406
+ <xsl : when test =" @prepend = 'SET' or @prepend = 'set'" >
407
+ <xsl : element name =" set" >
408
+ <xsl : apply-templates />
409
+ </xsl : element >
410
+ </xsl : when >
411
+ <xsl : when test =" @prepend = 'where' or @prepend = 'WHERE'" >
412
+ <xsl : element name =" where" >
413
+ <xsl : apply-templates />
414
+ </xsl : element >
415
+ </xsl : when >
416
+ <xsl : otherwise >
417
+ <xsl : variable name =" abcd" select =" ." />
418
+ <xsl : message >11111<xsl : value-of select =" $abcd" /></xsl : message >
419
+ <xsl : element name =" dynamic" >
420
+ <xsl : if test =" @prepend" >
421
+ <xsl : attribute name =" prepend" ><xsl : value-of select =" @prepend" /></xsl : attribute >
422
+ </xsl : if >
423
+ <xsl : if test =" @open" >
424
+ <xsl : attribute name =" open" ><xsl : value-of select =" @open" /></xsl : attribute >
425
+ </xsl : if >
426
+ <xsl : if test =" @close" >
427
+ <xsl : attribute name =" close" ><xsl : value-of select =" @close" /></xsl : attribute >
428
+ </xsl : if >
429
+ <xsl : apply-templates />
430
+ </xsl : element >
431
+ </xsl : otherwise >
432
+ </xsl : choose >
433
+ </xsl : template >
434
+
404
435
<xsl : template match =" isNull" >
405
436
<xsl : element name =" if" >
406
437
<xsl : attribute name =" test" >
You can’t perform that action at this time.
0 commit comments