Produced by Araxis Merge on 6/9/2017 3:49:54 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Fri Jun 9 19:49:54 2017 UTC | ||
| 2 | eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\VAP_CIF_CODE0502.zip\VAP_CIF_CODE0502\VAP_CIF_CODE0502\nvap-client\src\main\resources\gov\va\nvap\document\xsl\vistaweb | common.xsl | Fri Apr 21 20:03:26 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 1022 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | <?xml | |||||
| 2 | version="1 .0" | |||||
| 3 | encoding=" utf-8" | |||||
| 4 | ?> | |||||
| 5 | ||||||
| 6 | <xsl:style sheet | |||||
| 7 | version="1 .0" | |||||
| 8 | ||||||
| 9 | xmlns:xsl= "http://ww w.w3.org/1 999/XSL/Tr ansform" | |||||
| 10 | xmlns:msxs l="urn:sch emas-micro soft-com:x slt" | |||||
| 11 | > | |||||
| 12 | ||||||
| 13 | ||||||
| 14 | <xsl:templ ate | |||||
| 15 | name="form atDateLong FromVista" | |||||
| 16 | > | |||||
| 17 | ||||||
| 18 | <!-- VistA dates are in the fo rmat 30904 21.123545 --> | |||||
| 19 | ||||||
| 20 | <xsl:param | |||||
| 21 | name="date String" | |||||
| 22 | /> | |||||
| 23 | ||||||
| 24 | <xsl:varia ble | |||||
| 25 | name="mont h" | |||||
| 26 | select="su bstring($d ateString, 4,2)" | |||||
| 27 | /> | |||||
| 28 | ||||||
| 29 | <xsl:call- template | |||||
| 30 | name="long Month" | |||||
| 31 | > | |||||
| 32 | ||||||
| 33 | <xsl:with- param | |||||
| 34 | name="mont hNum" | |||||
| 35 | select="$m onth" | |||||
| 36 | /> | |||||
| 37 | ||||||
| 38 | </xsl:call -template> | |||||
| 39 | ||||||
| 40 | <xsl:choos e> | |||||
| 41 | ||||||
| 42 | <xsl:when | |||||
| 43 | test='subs tring($dat eString, 6 , 1)="0"' | |||||
| 44 | > | |||||
| 45 | ||||||
| 46 | <xsl:value -of | |||||
| 47 | select="su bstring($d ateString, 7, 1)" | |||||
| 48 | /> | |||||
| 49 | ||||||
| 50 | <xsl:text> | |||||
| 51 | , | |||||
| 52 | </xsl:text > | |||||
| 53 | ||||||
| 54 | </xsl:when > | |||||
| 55 | ||||||
| 56 | <xsl:other wise> | |||||
| 57 | ||||||
| 58 | <xsl:value -of | |||||
| 59 | select="su bstring($d ateString, 6, 2)" | |||||
| 60 | /> | |||||
| 61 | ||||||
| 62 | <xsl:text> | |||||
| 63 | , | |||||
| 64 | </xsl:text > | |||||
| 65 | ||||||
| 66 | </xsl:othe rwise> | |||||
| 67 | ||||||
| 68 | </xsl:choo se> | |||||
| 69 | ||||||
| 70 | <xsl:value -of | |||||
| 71 | select="17 +number(su bstring($d ateString, 1, 1))" | |||||
| 72 | /> | |||||
| 73 | <xsl:value -of | |||||
| 74 | select="su bstring($d ateString, 2, 2)" | |||||
| 75 | /> | |||||
| 76 | ||||||
| 77 | </xsl:temp late> | |||||
| 78 | ||||||
| 79 | ||||||
| 80 | <xsl:templ ate | |||||
| 81 | name="long Month" | |||||
| 82 | > | |||||
| 83 | ||||||
| 84 | <xsl:param | |||||
| 85 | name="mont hNum" | |||||
| 86 | /> | |||||
| 87 | ||||||
| 88 | <xsl:choos e> | |||||
| 89 | ||||||
| 90 | <xsl:when | |||||
| 91 | test="$mon thNum='01' " | |||||
| 92 | > | |||||
| 93 | ||||||
| 94 | <xsl:text> | |||||
| 95 | January | |||||
| 96 | </xsl:text > | |||||
| 97 | ||||||
| 98 | </xsl:when > | |||||
| 99 | ||||||
| 100 | <xsl:when | |||||
| 101 | test="$mon thNum='02' " | |||||
| 102 | > | |||||
| 103 | ||||||
| 104 | <xsl:text> | |||||
| 105 | February | |||||
| 106 | </xsl:text > | |||||
| 107 | ||||||
| 108 | </xsl:when > | |||||
| 109 | ||||||
| 110 | <xsl:when | |||||
| 111 | test="$mon thNum='03' " | |||||
| 112 | > | |||||
| 113 | ||||||
| 114 | <xsl:text> | |||||
| 115 | March | |||||
| 116 | </xsl:text > | |||||
| 117 | ||||||
| 118 | </xsl:when > | |||||
| 119 | ||||||
| 120 | <xsl:when | |||||
| 121 | test="$mon thNum='04' " | |||||
| 122 | > | |||||
| 123 | ||||||
| 124 | <xsl:text> | |||||
| 125 | April | |||||
| 126 | </xsl:text > | |||||
| 127 | ||||||
| 128 | </xsl:when > | |||||
| 129 | ||||||
| 130 | <xsl:when | |||||
| 131 | test="$mon thNum='05' " | |||||
| 132 | > | |||||
| 133 | ||||||
| 134 | <xsl:text> | |||||
| 135 | May | |||||
| 136 | </xsl:text > | |||||
| 137 | ||||||
| 138 | </xsl:when > | |||||
| 139 | ||||||
| 140 | <xsl:when | |||||
| 141 | test="$mon thNum='06' " | |||||
| 142 | > | |||||
| 143 | ||||||
| 144 | <xsl:text> | |||||
| 145 | June | |||||
| 146 | </xsl:text > | |||||
| 147 | ||||||
| 148 | </xsl:when > | |||||
| 149 | ||||||
| 150 | <xsl:when | |||||
| 151 | test="$mon thNum='07' " | |||||
| 152 | > | |||||
| 153 | ||||||
| 154 | <xsl:text> | |||||
| 155 | July | |||||
| 156 | </xsl:text > | |||||
| 157 | ||||||
| 158 | </xsl:when > | |||||
| 159 | ||||||
| 160 | <xsl:when | |||||
| 161 | test="$mon thNum='08' " | |||||
| 162 | > | |||||
| 163 | ||||||
| 164 | <xsl:text> | |||||
| 165 | August | |||||
| 166 | </xsl:text > | |||||
| 167 | ||||||
| 168 | </xsl:when > | |||||
| 169 | ||||||
| 170 | <xsl:when | |||||
| 171 | test="$mon thNum='09' " | |||||
| 172 | > | |||||
| 173 | ||||||
| 174 | <xsl:text> | |||||
| 175 | September | |||||
| 176 | </xsl:text > | |||||
| 177 | ||||||
| 178 | </xsl:when > | |||||
| 179 | ||||||
| 180 | <xsl:when | |||||
| 181 | test="$mon thNum='10' " | |||||
| 182 | > | |||||
| 183 | ||||||
| 184 | <xsl:text> | |||||
| 185 | October | |||||
| 186 | </xsl:text > | |||||
| 187 | ||||||
| 188 | </xsl:when > | |||||
| 189 | ||||||
| 190 | <xsl:when | |||||
| 191 | test="$mon thNum='11' " | |||||
| 192 | > | |||||
| 193 | ||||||
| 194 | <xsl:text> | |||||
| 195 | November | |||||
| 196 | </xsl:text > | |||||
| 197 | ||||||
| 198 | </xsl:when > | |||||
| 199 | ||||||
| 200 | <xsl:when | |||||
| 201 | test="$mon thNum='12' " | |||||
| 202 | > | |||||
| 203 | ||||||
| 204 | <xsl:text> | |||||
| 205 | December | |||||
| 206 | </xsl:text > | |||||
| 207 | ||||||
| 208 | </xsl:when > | |||||
| 209 | ||||||
| 210 | <xsl:other wise> | |||||
| 211 | ||||||
| 212 | <xsl:text> | |||||
| 213 | (Unknown M onth: | |||||
| 214 | </xsl:text > | |||||
| 215 | <xsl:value -of | |||||
| 216 | select="$m onthNum" | |||||
| 217 | /> | |||||
| 218 | <xsl:text> | |||||
| 219 | :) | |||||
| 220 | </xsl:text > | |||||
| 221 | ||||||
| 222 | </xsl:othe rwise> | |||||
| 223 | ||||||
| 224 | </xsl:choo se> | |||||
| 225 | ||||||
| 226 | </xsl:temp late> | |||||
| 227 | ||||||
| 228 | ||||||
| 229 | <xsl:templ ate | |||||
| 230 | name="shor tMonth" | |||||
| 231 | > | |||||
| 232 | ||||||
| 233 | <xsl:param | |||||
| 234 | name="mont h" | |||||
| 235 | /> | |||||
| 236 | ||||||
| 237 | <xsl:choos e> | |||||
| 238 | ||||||
| 239 | <xsl:when | |||||
| 240 | test="$mon th='01'" | |||||
| 241 | > | |||||
| 242 | ||||||
| 243 | <xsl:text> | |||||
| 244 | Jan | |||||
| 245 | </xsl:text > | |||||
| 246 | ||||||
| 247 | </xsl:when > | |||||
| 248 | ||||||
| 249 | <xsl:when | |||||
| 250 | test="$mon th='02'" | |||||
| 251 | > | |||||
| 252 | ||||||
| 253 | <xsl:text> | |||||
| 254 | Feb | |||||
| 255 | </xsl:text > | |||||
| 256 | ||||||
| 257 | </xsl:when > | |||||
| 258 | ||||||
| 259 | <xsl:when | |||||
| 260 | test="$mon th='03'" | |||||
| 261 | > | |||||
| 262 | ||||||
| 263 | <xsl:text> | |||||
| 264 | Mar | |||||
| 265 | </xsl:text > | |||||
| 266 | ||||||
| 267 | </xsl:when > | |||||
| 268 | ||||||
| 269 | <xsl:when | |||||
| 270 | test="$mon th='04'" | |||||
| 271 | > | |||||
| 272 | ||||||
| 273 | <xsl:text> | |||||
| 274 | Apr | |||||
| 275 | </xsl:text > | |||||
| 276 | ||||||
| 277 | </xsl:when > | |||||
| 278 | ||||||
| 279 | <xsl:when | |||||
| 280 | test="$mon th='05'" | |||||
| 281 | > | |||||
| 282 | ||||||
| 283 | <xsl:text> | |||||
| 284 | May | |||||
| 285 | </xsl:text > | |||||
| 286 | ||||||
| 287 | </xsl:when > | |||||
| 288 | ||||||
| 289 | <xsl:when | |||||
| 290 | test="$mon th='06'" | |||||
| 291 | > | |||||
| 292 | ||||||
| 293 | <xsl:text> | |||||
| 294 | Jun | |||||
| 295 | </xsl:text > | |||||
| 296 | ||||||
| 297 | </xsl:when > | |||||
| 298 | ||||||
| 299 | <xsl:when | |||||
| 300 | test="$mon th='07'" | |||||
| 301 | > | |||||
| 302 | ||||||
| 303 | <xsl:text> | |||||
| 304 | Jul | |||||
| 305 | </xsl:text > | |||||
| 306 | ||||||
| 307 | </xsl:when > | |||||
| 308 | ||||||
| 309 | <xsl:when | |||||
| 310 | test="$mon th='08'" | |||||
| 311 | > | |||||
| 312 | ||||||
| 313 | <xsl:text> | |||||
| 314 | Aug | |||||
| 315 | </xsl:text > | |||||
| 316 | ||||||
| 317 | </xsl:when > | |||||
| 318 | ||||||
| 319 | <xsl:when | |||||
| 320 | test="$mon th='09'" | |||||
| 321 | > | |||||
| 322 | ||||||
| 323 | <xsl:text> | |||||
| 324 | Sep | |||||
| 325 | </xsl:text > | |||||
| 326 | ||||||
| 327 | </xsl:when > | |||||
| 328 | ||||||
| 329 | <xsl:when | |||||
| 330 | test="$mon th='10'" | |||||
| 331 | > | |||||
| 332 | ||||||
| 333 | <xsl:text> | |||||
| 334 | Oct | |||||
| 335 | </xsl:text > | |||||
| 336 | ||||||
| 337 | </xsl:when > | |||||
| 338 | ||||||
| 339 | <xsl:when | |||||
| 340 | test="$mon th='11'" | |||||
| 341 | > | |||||
| 342 | ||||||
| 343 | <xsl:text> | |||||
| 344 | Nov | |||||
| 345 | </xsl:text > | |||||
| 346 | ||||||
| 347 | </xsl:when > | |||||
| 348 | ||||||
| 349 | <xsl:when | |||||
| 350 | test="$mon th='12'" | |||||
| 351 | > | |||||
| 352 | ||||||
| 353 | <xsl:text> | |||||
| 354 | Dec | |||||
| 355 | </xsl:text > | |||||
| 356 | ||||||
| 357 | </xsl:when > | |||||
| 358 | ||||||
| 359 | </xsl:choo se> | |||||
| 360 | ||||||
| 361 | </xsl:temp late> | |||||
| 362 | ||||||
| 363 | ||||||
| 364 | <xsl:templ ate | |||||
| 365 | name="form atDateLong FromUtc" | |||||
| 366 | > | |||||
| 367 | ||||||
| 368 | <xsl:param | |||||
| 369 | name="date String" | |||||
| 370 | /> | |||||
| 371 | ||||||
| 372 | <xsl:varia ble | |||||
| 373 | name="mont h" | |||||
| 374 | select="su bstring($d ateString, 5,2)" | |||||
| 375 | /> | |||||
| 376 | ||||||
| 377 | <xsl:call- template | |||||
| 378 | name="long Month" | |||||
| 379 | > | |||||
| 380 | ||||||
| 381 | <xsl:with- param | |||||
| 382 | name="mont hNum" | |||||
| 383 | select="$m onth" | |||||
| 384 | /> | |||||
| 385 | ||||||
| 386 | </xsl:call -template> | |||||
| 387 | ||||||
| 388 | <xsl:choos e> | |||||
| 389 | ||||||
| 390 | <xsl:when | |||||
| 391 | test='subs tring($dat eString, 7 , 1)="0"' | |||||
| 392 | > | |||||
| 393 | ||||||
| 394 | <xsl:value -of | |||||
| 395 | select="su bstring($d ateString, 8, 1)" | |||||
| 396 | /> | |||||
| 397 | ||||||
| 398 | <xsl:text> | |||||
| 399 | , | |||||
| 400 | </xsl:text > | |||||
| 401 | ||||||
| 402 | </xsl:when > | |||||
| 403 | ||||||
| 404 | <xsl:other wise> | |||||
| 405 | ||||||
| 406 | <xsl:value -of | |||||
| 407 | select="su bstring($d ateString, 7, 2)" | |||||
| 408 | /> | |||||
| 409 | ||||||
| 410 | <xsl:text> | |||||
| 411 | , | |||||
| 412 | </xsl:text > | |||||
| 413 | ||||||
| 414 | </xsl:othe rwise> | |||||
| 415 | ||||||
| 416 | </xsl:choo se> | |||||
| 417 | ||||||
| 418 | <xsl:value -of | |||||
| 419 | select="su bstring($d ateString, 1, 4)" | |||||
| 420 | /> | |||||
| 421 | ||||||
| 422 | </xsl:temp late> | |||||
| 423 | ||||||
| 424 | ||||||
| 425 | <xsl:templ ate | |||||
| 426 | name="form atDateLong " | |||||
| 427 | > | |||||
| 428 | ||||||
| 429 | <xsl:param | |||||
| 430 | name="date String" | |||||
| 431 | /> | |||||
| 432 | ||||||
| 433 | <xsl:choos e> | |||||
| 434 | ||||||
| 435 | <xsl:when | |||||
| 436 | test="$dat eString='0 '" | |||||
| 437 | > | |||||
| 438 | </xsl:when > | |||||
| 439 | ||||||
| 440 | <xsl:when | |||||
| 441 | test="stri ng-length( $dateStrin g)=0" | |||||
| 442 | > | |||||
| 443 | </xsl:when > | |||||
| 444 | ||||||
| 445 | <xsl:when | |||||
| 446 | test="subs tring($dat eString, 8 , 1)='.'" | |||||
| 447 | > | |||||
| 448 | ||||||
| 449 | <xsl:call- template | |||||
| 450 | name="form atDateLong FromVista" | |||||
| 451 | > | |||||
| 452 | <xsl:with- param | |||||
| 453 | name="date String" | |||||
| 454 | select="$d ateString" | |||||
| 455 | /> | |||||
| 456 | </xsl:call -template> | |||||
| 457 | ||||||
| 458 | </xsl:when > | |||||
| 459 | ||||||
| 460 | <xsl:other wise> | |||||
| 461 | ||||||
| 462 | <xsl:call- template | |||||
| 463 | name="form atDateLong FromUtc" | |||||
| 464 | > | |||||
| 465 | ||||||
| 466 | <xsl:with- param | |||||
| 467 | name="date String" | |||||
| 468 | select="$d ateString" | |||||
| 469 | /> | |||||
| 470 | ||||||
| 471 | </xsl:call -template> | |||||
| 472 | ||||||
| 473 | </xsl:othe rwise> | |||||
| 474 | ||||||
| 475 | </xsl:choo se> | |||||
| 476 | ||||||
| 477 | </xsl:temp late> | |||||
| 478 | ||||||
| 479 | ||||||
| 480 | <xsl:templ ate | |||||
| 481 | name="form atDateShor t" | |||||
| 482 | > | |||||
| 483 | ||||||
| 484 | <xsl:param | |||||
| 485 | name="date String" | |||||
| 486 | /> | |||||
| 487 | ||||||
| 488 | <xsl:choos e> | |||||
| 489 | ||||||
| 490 | <xsl:when | |||||
| 491 | test="$dat eString='0 '" | |||||
| 492 | > | |||||
| 493 | </xsl:when > | |||||
| 494 | ||||||
| 495 | <xsl:when | |||||
| 496 | test="stri ng-length( $dateStrin g)=0" | |||||
| 497 | > | |||||
| 498 | </xsl:when > | |||||
| 499 | ||||||
| 500 | <xsl:when | |||||
| 501 | test="subs tring($dat eString, 8 , 1)='.'" | |||||
| 502 | > | |||||
| 503 | ||||||
| 504 | <xsl:call- template | |||||
| 505 | name="form atDateShor tFromVista " | |||||
| 506 | > | |||||
| 507 | ||||||
| 508 | <xsl:with- param | |||||
| 509 | name="date String" | |||||
| 510 | select="$d ateString" | |||||
| 511 | /> | |||||
| 512 | ||||||
| 513 | </xsl:call -template> | |||||
| 514 | ||||||
| 515 | </xsl:when > | |||||
| 516 | ||||||
| 517 | <xsl:other wise> | |||||
| 518 | ||||||
| 519 | <xsl:call- template | |||||
| 520 | name="form atDateShor tFromUtc" | |||||
| 521 | > | |||||
| 522 | ||||||
| 523 | <xsl:with- param | |||||
| 524 | name="date String" | |||||
| 525 | select="$d ateString" | |||||
| 526 | /> | |||||
| 527 | ||||||
| 528 | </xsl:call -template> | |||||
| 529 | ||||||
| 530 | </xsl:othe rwise> | |||||
| 531 | ||||||
| 532 | </xsl:choo se> | |||||
| 533 | ||||||
| 534 | </xsl:temp late> | |||||
| 535 | ||||||
| 536 | ||||||
| 537 | <xsl:templ ate | |||||
| 538 | name="form atDateShor tFromVista " | |||||
| 539 | > | |||||
| 540 | ||||||
| 541 | <xsl:param | |||||
| 542 | name="date String" | |||||
| 543 | /> | |||||
| 544 | ||||||
| 545 | <xsl:varia ble | |||||
| 546 | name="mont h" | |||||
| 547 | select="su bstring($d ateString, 4,2)" | |||||
| 548 | /> | |||||
| 549 | ||||||
| 550 | <xsl:call- template | |||||
| 551 | name="shor tMonth" | |||||
| 552 | > | |||||
| 553 | ||||||
| 554 | <xsl:with- param | |||||
| 555 | name="mont h" | |||||
| 556 | select="$m onth" | |||||
| 557 | /> | |||||
| 558 | ||||||
| 559 | </xsl:call -template> | |||||
| 560 | ||||||
| 561 | <xsl:choos e> | |||||
| 562 | ||||||
| 563 | <xsl:when | |||||
| 564 | test='subs tring($dat eString, 6 , 1)="0"' | |||||
| 565 | > | |||||
| 566 | ||||||
| 567 | <xsl:value -of | |||||
| 568 | select="su bstring($d ateString, 7, 1)" | |||||
| 569 | /> | |||||
| 570 | ||||||
| 571 | <xsl:text> | |||||
| 572 | , | |||||
| 573 | </xsl:text > | |||||
| 574 | ||||||
| 575 | </xsl:when > | |||||
| 576 | ||||||
| 577 | <xsl:other wise> | |||||
| 578 | ||||||
| 579 | <xsl:value -of | |||||
| 580 | select="su bstring($d ateString, 6, 2)" | |||||
| 581 | /> | |||||
| 582 | ||||||
| 583 | <xsl:text> | |||||
| 584 | , | |||||
| 585 | </xsl:text > | |||||
| 586 | ||||||
| 587 | </xsl:othe rwise> | |||||
| 588 | ||||||
| 589 | </xsl:choo se> | |||||
| 590 | ||||||
| 591 | <xsl:value -of | |||||
| 592 | select="17 +number(su bstring($d ateString, 1, 1))" | |||||
| 593 | /> | |||||
| 594 | ||||||
| 595 | <xsl:value -of | |||||
| 596 | select="su bstring($d ateString, 2, 2)" | |||||
| 597 | /> | |||||
| 598 | ||||||
| 599 | </xsl:temp late> | |||||
| 600 | ||||||
| 601 | ||||||
| 602 | <xsl:templ ate | |||||
| 603 | name="form atDateShor tFromUtc" | |||||
| 604 | > | |||||
| 605 | ||||||
| 606 | <xsl:param | |||||
| 607 | name="date String" | |||||
| 608 | /> | |||||
| 609 | ||||||
| 610 | <xsl:varia ble | |||||
| 611 | name="mont h" | |||||
| 612 | select="su bstring($d ateString, 5,2)" | |||||
| 613 | /> | |||||
| 614 | ||||||
| 615 | <xsl:call- template | |||||
| 616 | name="shor tMonth" | |||||
| 617 | > | |||||
| 618 | ||||||
| 619 | <xsl:with- param | |||||
| 620 | name="mont h" | |||||
| 621 | select="$m onth" | |||||
| 622 | /> | |||||
| 623 | ||||||
| 624 | </xsl:call -template> | |||||
| 625 | ||||||
| 626 | <xsl:choos e> | |||||
| 627 | ||||||
| 628 | <xsl:when | |||||
| 629 | test='subs tring($dat eString, 7 , 1)="0"' | |||||
| 630 | > | |||||
| 631 | ||||||
| 632 | <xsl:value -of | |||||
| 633 | select="su bstring($d ateString, 8, 1)" | |||||
| 634 | /> | |||||
| 635 | ||||||
| 636 | <xsl:text> | |||||
| 637 | , | |||||
| 638 | </xsl:text > | |||||
| 639 | ||||||
| 640 | </xsl:when > | |||||
| 641 | ||||||
| 642 | <xsl:other wise> | |||||
| 643 | ||||||
| 644 | <xsl:value -of | |||||
| 645 | select="su bstring($d ateString, 7, 2)" | |||||
| 646 | /> | |||||
| 647 | ||||||
| 648 | <xsl:text> | |||||
| 649 | , | |||||
| 650 | </xsl:text > | |||||
| 651 | ||||||
| 652 | </xsl:othe rwise> | |||||
| 653 | ||||||
| 654 | </xsl:choo se> | |||||
| 655 | ||||||
| 656 | <xsl:value -of | |||||
| 657 | select="su bstring($d ateString, 1, 4)" | |||||
| 658 | /> | |||||
| 659 | ||||||
| 660 | </xsl:temp late> | |||||
| 661 | ||||||
| 662 | ||||||
| 663 | <xsl:templ ate | |||||
| 664 | name="form atDateNume ric" | |||||
| 665 | > | |||||
| 666 | ||||||
| 667 | <xsl:param | |||||
| 668 | name="date String" | |||||
| 669 | /> | |||||
| 670 | ||||||
| 671 | <xsl:choos e> | |||||
| 672 | ||||||
| 673 | <xsl:when | |||||
| 674 | test="$dat eString='0 '" | |||||
| 675 | > | |||||
| 676 | </xsl:when > | |||||
| 677 | ||||||
| 678 | <xsl:when | |||||
| 679 | test="subs tring($dat eString, 8 , 1)='.' o r string-l ength($dat eString)=7 " | |||||
| 680 | > | |||||
| 681 | ||||||
| 682 | <xsl:call- template | |||||
| 683 | name="form atDateNume ricFromVis ta" | |||||
| 684 | > | |||||
| 685 | ||||||
| 686 | <xsl:with- param | |||||
| 687 | name="date String" | |||||
| 688 | select="$d ateString" | |||||
| 689 | /> | |||||
| 690 | ||||||
| 691 | </xsl:call -template> | |||||
| 692 | ||||||
| 693 | </xsl:when > | |||||
| 694 | ||||||
| 695 | <xsl:when | |||||
| 696 | test="subs tring($dat eString, 9 , 1)='.'" | |||||
| 697 | > | |||||
| 698 | ||||||
| 699 | <xsl:call- template | |||||
| 700 | name="form atDateNume ricFromMdo " | |||||
| 701 | > | |||||
| 702 | ||||||
| 703 | <xsl:with- param | |||||
| 704 | name="date String" | |||||
| 705 | select="$d ateString" | |||||
| 706 | /> | |||||
| 707 | ||||||
| 708 | </xsl:call -template> | |||||
| 709 | ||||||
| 710 | </xsl:when > | |||||
| 711 | ||||||
| 712 | <xsl:other wise> | |||||
| 713 | ||||||
| 714 | <xsl:call- template | |||||
| 715 | name="form atDateNume ricFromUtc " | |||||
| 716 | > | |||||
| 717 | ||||||
| 718 | <xsl:with- param | |||||
| 719 | name="date String" | |||||
| 720 | select="$d ateString" | |||||
| 721 | /> | |||||
| 722 | ||||||
| 723 | </xsl:call -template> | |||||
| 724 | ||||||
| 725 | </xsl:othe rwise> | |||||
| 726 | ||||||
| 727 | </xsl:choo se> | |||||
| 728 | ||||||
| 729 | </xsl:temp late> | |||||
| 730 | ||||||
| 731 | ||||||
| 732 | <xsl:templ ate | |||||
| 733 | name="form atDateNume ricFromMdo " | |||||
| 734 | > | |||||
| 735 | ||||||
| 736 | <xsl:param | |||||
| 737 | name="date String" | |||||
| 738 | /> | |||||
| 739 | ||||||
| 740 | <xsl:varia ble | |||||
| 741 | name="date Value" | |||||
| 742 | > | |||||
| 743 | ||||||
| 744 | <xsl:value -of | |||||
| 745 | select="$d ateString" | |||||
| 746 | /> | |||||
| 747 | ||||||
| 748 | <xsl:text> | |||||
| 749 | 000000 | |||||
| 750 | </xsl:text > | |||||
| 751 | ||||||
| 752 | </xsl:vari able> | |||||
| 753 | ||||||
| 754 | <xsl:value -of | |||||
| 755 | select="su bstring($d ateValue, 5, 2)" | |||||
| 756 | /> | |||||
| 757 | ||||||
| 758 | <xsl:text> | |||||
| 759 | / | |||||
| 760 | </xsl:text > | |||||
| 761 | ||||||
| 762 | <xsl:value -of | |||||
| 763 | select="su bstring($d ateValue, 7, 2)" | |||||
| 764 | /> | |||||
| 765 | ||||||
| 766 | <xsl:text> | |||||
| 767 | / | |||||
| 768 | </xsl:text > | |||||
| 769 | ||||||
| 770 | <xsl:value -of | |||||
| 771 | select="su bstring($d ateValue, 1, 4)" | |||||
| 772 | /> | |||||
| 773 | ||||||
| 774 | <xsl:text> | |||||
| 775 | ||||||
| 776 | </xsl:text > | |||||
| 777 | ||||||
| 778 | <xsl:value -of | |||||
| 779 | select="su bstring($d ateValue, 10, 2)" | |||||
| 780 | /> | |||||
| 781 | ||||||
| 782 | <xsl:text> | |||||
| 783 | : | |||||
| 784 | </xsl:text > | |||||
| 785 | ||||||
| 786 | <xsl:value -of | |||||
| 787 | select="su bstring($d ateValue, 12, 2)" | |||||
| 788 | /> | |||||
| 789 | ||||||
| 790 | <xsl:text> | |||||
| 791 | : | |||||
| 792 | </xsl:text > | |||||
| 793 | ||||||
| 794 | <xsl:value -of | |||||
| 795 | select="su bstring($d ateValue, 14, 2)" | |||||
| 796 | /> | |||||
| 797 | ||||||
| 798 | </xsl:temp late> | |||||
| 799 | ||||||
| 800 | ||||||
| 801 | <xsl:templ ate | |||||
| 802 | name="form atDateNume ricFromVis ta" | |||||
| 803 | > | |||||
| 804 | ||||||
| 805 | <xsl:param | |||||
| 806 | name="date String" | |||||
| 807 | /> | |||||
| 808 | ||||||
| 809 | <xsl:value -of | |||||
| 810 | select="su bstring($d ateString, 4, 2)" | |||||
| 811 | /> | |||||
| 812 | ||||||
| 813 | <xsl:text> | |||||
| 814 | / | |||||
| 815 | </xsl:text > | |||||
| 816 | ||||||
| 817 | <xsl:value -of | |||||
| 818 | select="su bstring($d ateString, 6, 2)" | |||||
| 819 | /> | |||||
| 820 | ||||||
| 821 | <xsl:text> | |||||
| 822 | / | |||||
| 823 | </xsl:text > | |||||
| 824 | ||||||
| 825 | <xsl:value -of | |||||
| 826 | select="17 +number(su bstring($d ateString, 1, 1))" | |||||
| 827 | /> | |||||
| 828 | ||||||
| 829 | <xsl:value -of | |||||
| 830 | select="su bstring($d ateString, 2, 2)" | |||||
| 831 | /> | |||||
| 832 | ||||||
| 833 | <xsl:if | |||||
| 834 | test="stri ng-length( $dateStrin g)>7" | |||||
| 835 | > | |||||
| 836 | ||||||
| 837 | <xsl:varia ble | |||||
| 838 | name="date Value" | |||||
| 839 | > | |||||
| 840 | ||||||
| 841 | <xsl:value -of | |||||
| 842 | select="$d ateString" | |||||
| 843 | /> | |||||
| 844 | ||||||
| 845 | <xsl:text> | |||||
| 846 | 000000 | |||||
| 847 | </xsl:text > | |||||
| 848 | ||||||
| 849 | </xsl:vari able> | |||||
| 850 | ||||||
| 851 | <xsl:text> | |||||
| 852 | ||||||
| 853 | </xsl:text > | |||||
| 854 | ||||||
| 855 | <xsl:value -of | |||||
| 856 | select="su bstring($d ateValue, 9, 2)" | |||||
| 857 | /> | |||||
| 858 | ||||||
| 859 | <xsl:text> | |||||
| 860 | : | |||||
| 861 | </xsl:text > | |||||
| 862 | ||||||
| 863 | <xsl:value -of | |||||
| 864 | select="su bstring($d ateValue, 11, 2)" | |||||
| 865 | /> | |||||
| 866 | ||||||
| 867 | <xsl:text> | |||||
| 868 | : | |||||
| 869 | </xsl:text > | |||||
| 870 | ||||||
| 871 | <xsl:value -of | |||||
| 872 | select="su bstring($d ateValue, 13, 2)" | |||||
| 873 | /> | |||||
| 874 | ||||||
| 875 | </xsl:if> | |||||
| 876 | ||||||
| 877 | </xsl:temp late> | |||||
| 878 | ||||||
| 879 | ||||||
| 880 | <xsl:templ ate | |||||
| 881 | name="form atDateNume ricFromUtc " | |||||
| 882 | > | |||||
| 883 | ||||||
| 884 | <xsl:param | |||||
| 885 | name="date String" | |||||
| 886 | /> | |||||
| 887 | ||||||
| 888 | <xsl:value -of | |||||
| 889 | select="su bstring($d ateString, 5, 2)" | |||||
| 890 | /> | |||||
| 891 | ||||||
| 892 | <xsl:text> | |||||
| 893 | / | |||||
| 894 | </xsl:text > | |||||
| 895 | ||||||
| 896 | <xsl:value -of | |||||
| 897 | select="su bstring($d ateString, 7, 2)" | |||||
| 898 | /> | |||||
| 899 | ||||||
| 900 | <xsl:text> | |||||
| 901 | / | |||||
| 902 | </xsl:text > | |||||
| 903 | ||||||
| 904 | <xsl:value -of | |||||
| 905 | select="su bstring($d ateString, 1, 4)" | |||||
| 906 | /> | |||||
| 907 | ||||||
| 908 | <xsl:if | |||||
| 909 | test="stri ng-length( $dateStrin g)>8" | |||||
| 910 | > | |||||
| 911 | ||||||
| 912 | <xsl:varia ble | |||||
| 913 | name="date Value" | |||||
| 914 | > | |||||
| 915 | ||||||
| 916 | <xsl:value -of | |||||
| 917 | select="$d ateString" | |||||
| 918 | /> | |||||
| 919 | ||||||
| 920 | <xsl:text> | |||||
| 921 | 000000 | |||||
| 922 | </xsl:text > | |||||
| 923 | ||||||
| 924 | </xsl:vari able> | |||||
| 925 | ||||||
| 926 | <xsl:text> | |||||
| 927 | ||||||
| 928 | </xsl:text > | |||||
| 929 | ||||||
| 930 | <xsl:value -of | |||||
| 931 | select="su bstring($d ateValue, 9, 2)" | |||||
| 932 | /> | |||||
| 933 | ||||||
| 934 | <xsl:text> | |||||
| 935 | : | |||||
| 936 | </xsl:text > | |||||
| 937 | ||||||
| 938 | <xsl:value -of | |||||
| 939 | select="su bstring($d ateValue, 11, 2)" | |||||
| 940 | /> | |||||
| 941 | ||||||
| 942 | <xsl:if | |||||
| 943 | test="stri ng-length( $dateValue )>14" | |||||
| 944 | > | |||||
| 945 | ||||||
| 946 | <xsl:if | |||||
| 947 | test="subs tring($dat eValue,15, 1)='-' or substring( $dateValue ,15,1)='+' " | |||||
| 948 | > | |||||
| 949 | ||||||
| 950 | <xsl:text> | |||||
| 951 | : | |||||
| 952 | </xsl:text > | |||||
| 953 | ||||||
| 954 | <xsl:value -of | |||||
| 955 | select="su bstring($d ateValue, 13, 2)" | |||||
| 956 | /> | |||||
| 957 | ||||||
| 958 | </xsl:if> | |||||
| 959 | ||||||
| 960 | </xsl:if> | |||||
| 961 | ||||||
| 962 | </xsl:if> | |||||
| 963 | ||||||
| 964 | </xsl:temp late> | |||||
| 965 | ||||||
| 966 | ||||||
| 967 | <xsl:templ ate | |||||
| 968 | name="ltri m" | |||||
| 969 | > | |||||
| 970 | ||||||
| 971 | <xsl:param | |||||
| 972 | name="text " | |||||
| 973 | /> | |||||
| 974 | ||||||
| 975 | <xsl:param | |||||
| 976 | name="star tChar" | |||||
| 977 | select="' '" | |||||
| 978 | /> | |||||
| 979 | ||||||
| 980 | <xsl:if | |||||
| 981 | test="$tex t" | |||||
| 982 | > | |||||
| 983 | ||||||
| 984 | <xsl:choos e> | |||||
| 985 | ||||||
| 986 | <xsl:when | |||||
| 987 | test="star ts-with($t ext,$start Char)" | |||||
| 988 | > | |||||
| 989 | ||||||
| 990 | <xsl:call- template | |||||
| 991 | name="ltri m" | |||||
| 992 | > | |||||
| 993 | ||||||
| 994 | <xsl:with- param | |||||
| 995 | name="text " | |||||
| 996 | select="su bstring-af ter($text, $startChar )" | |||||
| 997 | /> | |||||
| 998 | ||||||
| 999 | <xsl:with- param | |||||
| 1000 | name="star tChar" | |||||
| 1001 | select="$s tartChar" | |||||
| 1002 | /> | |||||
| 1003 | ||||||
| 1004 | </xsl:call -template> | |||||
| 1005 | ||||||
| 1006 | </xsl:when > | |||||
| 1007 | ||||||
| 1008 | <xsl:other wise> | |||||
| 1009 | ||||||
| 1010 | <xsl:value -of | |||||
| 1011 | select="$t ext" | |||||
| 1012 | /> | |||||
| 1013 | ||||||
| 1014 | </xsl:othe rwise> | |||||
| 1015 | ||||||
| 1016 | </xsl:choo se> | |||||
| 1017 | ||||||
| 1018 | </xsl:if> | |||||
| 1019 | ||||||
| 1020 | </xsl:temp late> | |||||
| 1021 | ||||||
| 1022 | </xsl:styl esheet> |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.