Produced by Araxis Merge on 6/9/2017 3:49:52 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:52 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\verbatim | xmlverbatim.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 | 956 |
| 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=" ISO-8859-1 " | |||||
| 4 | ?> | |||||
| 5 | ||||||
| 6 | <!-- XML t o HTML Ver batim Form atter with Syntax Hi ghlighting Version 1 .1 | |||||
| 7 | Co ntributors : Doug Dic ks, added auto-inden t (paramet er indent- elements) for | |||||
| 8 | pr etty-print Copyright 2002 Oliv er Becker ob@obqo.de Licensed under the Apache | |||||
| 9 | Li cense, Ver sion 2.0 ( the "Licen se"); you may not us e this fil e except i n | |||||
| 10 | co mpliance w ith the Li cense. You may obtai n a copy o f the Lice nse at htt p://www.ap ache.org/l icenses/LI CENSE-2.0 | |||||
| 11 | Un less requi red by app licable la w or agree d to in wr iting, sof tware dist ributed | |||||
| 12 | un der the Li cense is d istributed on an "AS IS" BASIS , WITHOUT WARRANTIES | |||||
| 13 | OR CONDITION S OF ANY K IND, eithe r express or implied . See the License fo r | |||||
| 14 | th e specific language governing permission s and limi tations un der the Li cense. | |||||
| 15 | Al ternativel y, this so ftware may be used u nder the t erms of th e GNU Less er | |||||
| 16 | Ge neral Publ ic License (LGPL). - -> | |||||
| 17 | ||||||
| 18 | <xsl:style sheet | |||||
| 19 | version="1 .0" | |||||
| 20 | ||||||
| 21 | xmlns:xsl= "http://ww w.w3.org/1 999/XSL/Tr ansform" | |||||
| 22 | xmlns:verb ="http://i nformatik. hu-berlin. de/xmlverb atim" | |||||
| 23 | ||||||
| 24 | exclude-re sult-prefi xes="verb" | |||||
| 25 | > | |||||
| 26 | ||||||
| 27 | ||||||
| 28 | <xsl:outpu t | |||||
| 29 | method="ht ml" | |||||
| 30 | omit-xml-d eclaration ="yes" | |||||
| 31 | indent="no " | |||||
| 32 | /> | |||||
| 33 | ||||||
| 34 | ||||||
| 35 | <xsl:param | |||||
| 36 | name="inde nt-element s" | |||||
| 37 | select="fa lse()" | |||||
| 38 | /> | |||||
| 39 | ||||||
| 40 | ||||||
| 41 | <xsl:templ ate | |||||
| 42 | match="/" | |||||
| 43 | > | |||||
| 44 | ||||||
| 45 | <xsl:apply -templates | |||||
| 46 | select="." | |||||
| 47 | mode="xmlv erb" | |||||
| 48 | /> | |||||
| 49 | ||||||
| 50 | </xsl:temp late> | |||||
| 51 | ||||||
| 52 | ||||||
| 53 | <!-- root --> | |||||
| 54 | ||||||
| 55 | <xsl:templ ate | |||||
| 56 | match="/" | |||||
| 57 | mode="xmlv erb" | |||||
| 58 | > | |||||
| 59 | ||||||
| 60 | <xsl:text> | |||||
| 61 | 
 | |||||
| 62 | </xsl:text > | |||||
| 63 | ||||||
| 64 | <xsl:comme nt> | |||||
| 65 | ||||||
| 66 | <xsl:text> | |||||
| 67 | converted by xmlver batim.xsl 1.1, (c) O . Becker | |||||
| 68 | </xsl:text > | |||||
| 69 | ||||||
| 70 | </xsl:comm ent> | |||||
| 71 | ||||||
| 72 | <xsl:text> | |||||
| 73 | 
 | |||||
| 74 | </xsl:text > | |||||
| 75 | ||||||
| 76 | <div | |||||
| 77 | class="xml verb-defau lt" | |||||
| 78 | > | |||||
| 79 | ||||||
| 80 | <xsl:apply -templates | |||||
| 81 | mode="xmlv erb" | |||||
| 82 | > | |||||
| 83 | ||||||
| 84 | <xsl:with- param | |||||
| 85 | name="inde nt-element s" | |||||
| 86 | select="$i ndent-elem ents" | |||||
| 87 | /> | |||||
| 88 | ||||||
| 89 | </xsl:appl y-template s> | |||||
| 90 | ||||||
| 91 | </div> | |||||
| 92 | ||||||
| 93 | <xsl:text> | |||||
| 94 | 
 | |||||
| 95 | </xsl:text > | |||||
| 96 | ||||||
| 97 | </xsl:temp late> | |||||
| 98 | ||||||
| 99 | ||||||
| 100 | <!-- wrapp er --> | |||||
| 101 | ||||||
| 102 | <xsl:templ ate | |||||
| 103 | match="ver b:wrapper" | |||||
| 104 | > | |||||
| 105 | ||||||
| 106 | <xsl:apply -templates | |||||
| 107 | mode="xmlv erb" | |||||
| 108 | > | |||||
| 109 | ||||||
| 110 | <xsl:with- param | |||||
| 111 | name="inde nt-element s" | |||||
| 112 | select="$i ndent-elem ents" | |||||
| 113 | /> | |||||
| 114 | ||||||
| 115 | </xsl:appl y-template s> | |||||
| 116 | ||||||
| 117 | </xsl:temp late> | |||||
| 118 | ||||||
| 119 | ||||||
| 120 | <xsl:templ ate | |||||
| 121 | match="ver b:wrapper" | |||||
| 122 | mode="xmlv erb" | |||||
| 123 | > | |||||
| 124 | ||||||
| 125 | <xsl:apply -templates | |||||
| 126 | mode="xmlv erb" | |||||
| 127 | > | |||||
| 128 | ||||||
| 129 | <xsl:with- param | |||||
| 130 | name="inde nt-element s" | |||||
| 131 | select="$i ndent-elem ents" | |||||
| 132 | /> | |||||
| 133 | ||||||
| 134 | </xsl:appl y-template s> | |||||
| 135 | ||||||
| 136 | </xsl:temp late> | |||||
| 137 | ||||||
| 138 | ||||||
| 139 | <!-- eleme nt nodes - -> | |||||
| 140 | ||||||
| 141 | <xsl:templ ate | |||||
| 142 | match="*" | |||||
| 143 | mode="xmlv erb" | |||||
| 144 | > | |||||
| 145 | ||||||
| 146 | <xsl:param | |||||
| 147 | name="inde nt-element s" | |||||
| 148 | select="fa lse()" | |||||
| 149 | /> | |||||
| 150 | ||||||
| 151 | <xsl:param | |||||
| 152 | name="inde nt" | |||||
| 153 | select="'' " | |||||
| 154 | /> | |||||
| 155 | ||||||
| 156 | <xsl:param | |||||
| 157 | name="inde nt-increme nt" | |||||
| 158 | select="'& #xA0;  ; '" | |||||
| 159 | /> | |||||
| 160 | ||||||
| 161 | <xsl:if | |||||
| 162 | test="$ind ent-elemen ts" | |||||
| 163 | > | |||||
| 164 | ||||||
| 165 | <br /> | |||||
| 166 | ||||||
| 167 | <xsl:value -of | |||||
| 168 | select="$i ndent" | |||||
| 169 | /> | |||||
| 170 | ||||||
| 171 | </xsl:if> | |||||
| 172 | ||||||
| 173 | <xsl:text> | |||||
| 174 | < | |||||
| 175 | </xsl:text > | |||||
| 176 | ||||||
| 177 | <xsl:varia ble | |||||
| 178 | name="ns-p refix" | |||||
| 179 | select="su bstring-be fore(name( ),':')" | |||||
| 180 | /> | |||||
| 181 | ||||||
| 182 | <xsl:if | |||||
| 183 | test="$ns- prefix != ''" | |||||
| 184 | > | |||||
| 185 | ||||||
| 186 | <span | |||||
| 187 | class="xml verb-eleme nt-nsprefi x" | |||||
| 188 | > | |||||
| 189 | ||||||
| 190 | <xsl:value -of | |||||
| 191 | select="$n s-prefix" | |||||
| 192 | /> | |||||
| 193 | ||||||
| 194 | </span> | |||||
| 195 | ||||||
| 196 | <xsl:text> | |||||
| 197 | : | |||||
| 198 | </xsl:text > | |||||
| 199 | ||||||
| 200 | </xsl:if> | |||||
| 201 | ||||||
| 202 | <span | |||||
| 203 | class="xml verb-eleme nt-name" | |||||
| 204 | > | |||||
| 205 | ||||||
| 206 | <xsl:value -of | |||||
| 207 | select="lo cal-name() " | |||||
| 208 | /> | |||||
| 209 | ||||||
| 210 | </span> | |||||
| 211 | ||||||
| 212 | <xsl:varia ble | |||||
| 213 | name="pns" | |||||
| 214 | select=".. /namespace ::*" | |||||
| 215 | /> | |||||
| 216 | ||||||
| 217 | <xsl:if | |||||
| 218 | test="$pns [name()='' ] and not( namespace: :*[name()= ''])" | |||||
| 219 | > | |||||
| 220 | ||||||
| 221 | <span | |||||
| 222 | class="xml verb-ns-na me" | |||||
| 223 | > | |||||
| 224 | ||||||
| 225 | <xsl:text> | |||||
| 226 | xmlns | |||||
| 227 | </xsl:text > | |||||
| 228 | ||||||
| 229 | </span> | |||||
| 230 | ||||||
| 231 | <xsl:text> | |||||
| 232 | ="&qu ot; | |||||
| 233 | </xsl:text > | |||||
| 234 | ||||||
| 235 | </xsl:if> | |||||
| 236 | ||||||
| 237 | <xsl:for-e ach | |||||
| 238 | select="na mespace::* " | |||||
| 239 | > | |||||
| 240 | ||||||
| 241 | <xsl:if | |||||
| 242 | ||||||
| 243 | test="not( $pns[name( )=name(cur rent()) an d | |||||
| 244 | .=c urrent()]) " | |||||
| 245 | > | |||||
| 246 | ||||||
| 247 | <xsl:call- template | |||||
| 248 | name="xmlv erb-ns" | |||||
| 249 | /> | |||||
| 250 | ||||||
| 251 | </xsl:if> | |||||
| 252 | ||||||
| 253 | </xsl:for- each> | |||||
| 254 | ||||||
| 255 | <xsl:for-e ach | |||||
| 256 | select="@* " | |||||
| 257 | > | |||||
| 258 | ||||||
| 259 | <xsl:call- template | |||||
| 260 | name="xmlv erb-attrs" | |||||
| 261 | /> | |||||
| 262 | ||||||
| 263 | </xsl:for- each> | |||||
| 264 | ||||||
| 265 | <xsl:choos e> | |||||
| 266 | ||||||
| 267 | <xsl:when | |||||
| 268 | test="node ()" | |||||
| 269 | > | |||||
| 270 | ||||||
| 271 | <xsl:text> | |||||
| 272 | > | |||||
| 273 | </xsl:text > | |||||
| 274 | ||||||
| 275 | <xsl:apply -templates | |||||
| 276 | mode="xmlv erb" | |||||
| 277 | > | |||||
| 278 | ||||||
| 279 | <xsl:with- param | |||||
| 280 | name="inde nt-element s" | |||||
| 281 | select="$i ndent-elem ents" | |||||
| 282 | /> | |||||
| 283 | ||||||
| 284 | <xsl:with- param | |||||
| 285 | name="inde nt" | |||||
| 286 | ||||||
| 287 | select="co ncat($inde nt, $inden t-incremen t)" | |||||
| 288 | /> | |||||
| 289 | ||||||
| 290 | <xsl:with- param | |||||
| 291 | name="inde nt-increme nt" | |||||
| 292 | select="$i ndent-incr ement" | |||||
| 293 | /> | |||||
| 294 | ||||||
| 295 | </xsl:appl y-template s> | |||||
| 296 | ||||||
| 297 | <xsl:if | |||||
| 298 | test="* an d $indent- elements" | |||||
| 299 | > | |||||
| 300 | ||||||
| 301 | <br /> | |||||
| 302 | ||||||
| 303 | <xsl:value -of | |||||
| 304 | select="$i ndent" | |||||
| 305 | /> | |||||
| 306 | ||||||
| 307 | </xsl:if> | |||||
| 308 | ||||||
| 309 | <xsl:text> | |||||
| 310 | </ | |||||
| 311 | </xsl:text > | |||||
| 312 | ||||||
| 313 | <xsl:if | |||||
| 314 | test="$ns- prefix != ''" | |||||
| 315 | > | |||||
| 316 | ||||||
| 317 | <span | |||||
| 318 | class="xml verb-eleme nt-nsprefi x" | |||||
| 319 | > | |||||
| 320 | ||||||
| 321 | <xsl:value -of | |||||
| 322 | select="$n s-prefix" | |||||
| 323 | /> | |||||
| 324 | ||||||
| 325 | </span> | |||||
| 326 | ||||||
| 327 | <xsl:text> | |||||
| 328 | : | |||||
| 329 | </xsl:text > | |||||
| 330 | ||||||
| 331 | </xsl:if> | |||||
| 332 | ||||||
| 333 | <span | |||||
| 334 | class="xml verb-eleme nt-name" | |||||
| 335 | > | |||||
| 336 | ||||||
| 337 | <xsl:value -of | |||||
| 338 | select="lo cal-name() " | |||||
| 339 | /> | |||||
| 340 | ||||||
| 341 | </span> | |||||
| 342 | ||||||
| 343 | <xsl:text> | |||||
| 344 | > | |||||
| 345 | </xsl:text > | |||||
| 346 | ||||||
| 347 | </xsl:when > | |||||
| 348 | ||||||
| 349 | <xsl:other wise> | |||||
| 350 | ||||||
| 351 | <xsl:text> | |||||
| 352 | /> | |||||
| 353 | </xsl:text > | |||||
| 354 | ||||||
| 355 | </xsl:othe rwise> | |||||
| 356 | ||||||
| 357 | </xsl:choo se> | |||||
| 358 | ||||||
| 359 | <xsl:if | |||||
| 360 | test="not( parent::*) " | |||||
| 361 | > | |||||
| 362 | ||||||
| 363 | <br /> | |||||
| 364 | ||||||
| 365 | <xsl:text> | |||||
| 366 | 
 | |||||
| 367 | </xsl:text > | |||||
| 368 | ||||||
| 369 | </xsl:if> | |||||
| 370 | ||||||
| 371 | </xsl:temp late> | |||||
| 372 | ||||||
| 373 | ||||||
| 374 | <!-- attri bute nodes --> | |||||
| 375 | ||||||
| 376 | <xsl:templ ate | |||||
| 377 | name="xmlv erb-attrs" | |||||
| 378 | > | |||||
| 379 | ||||||
| 380 | <xsl:text> | |||||
| 381 | ||||||
| 382 | </xsl:text > | |||||
| 383 | ||||||
| 384 | <span | |||||
| 385 | class="xml verb-attr- name" | |||||
| 386 | > | |||||
| 387 | ||||||
| 388 | <xsl:value -of | |||||
| 389 | select="na me()" | |||||
| 390 | /> | |||||
| 391 | ||||||
| 392 | </span> | |||||
| 393 | ||||||
| 394 | <xsl:text> | |||||
| 395 | =" | |||||
| 396 | </xsl:text > | |||||
| 397 | ||||||
| 398 | <span | |||||
| 399 | class="xml verb-attr- content" | |||||
| 400 | > | |||||
| 401 | ||||||
| 402 | <xsl:call- template | |||||
| 403 | name="html -replace-e ntities" | |||||
| 404 | > | |||||
| 405 | ||||||
| 406 | <xsl:with- param | |||||
| 407 | name="text " | |||||
| 408 | select="no rmalize-sp ace(.)" | |||||
| 409 | /> | |||||
| 410 | ||||||
| 411 | <xsl:with- param | |||||
| 412 | name="attr s" | |||||
| 413 | select="tr ue()" | |||||
| 414 | /> | |||||
| 415 | ||||||
| 416 | </xsl:call -template> | |||||
| 417 | ||||||
| 418 | </span> | |||||
| 419 | ||||||
| 420 | <xsl:text> | |||||
| 421 | " | |||||
| 422 | </xsl:text > | |||||
| 423 | ||||||
| 424 | </xsl:temp late> | |||||
| 425 | ||||||
| 426 | ||||||
| 427 | <!-- names pace nodes --> | |||||
| 428 | ||||||
| 429 | <xsl:templ ate | |||||
| 430 | name="xmlv erb-ns" | |||||
| 431 | > | |||||
| 432 | ||||||
| 433 | <xsl:if | |||||
| 434 | test="name ()!='xml'" | |||||
| 435 | > | |||||
| 436 | ||||||
| 437 | <span | |||||
| 438 | class="xml verb-ns-na me" | |||||
| 439 | > | |||||
| 440 | ||||||
| 441 | <xsl:text> | |||||
| 442 | xmlns | |||||
| 443 | </xsl:text > | |||||
| 444 | ||||||
| 445 | <xsl:if | |||||
| 446 | test="name ()!=''" | |||||
| 447 | > | |||||
| 448 | ||||||
| 449 | <xsl:text> | |||||
| 450 | : | |||||
| 451 | </xsl:text > | |||||
| 452 | ||||||
| 453 | </xsl:if> | |||||
| 454 | ||||||
| 455 | <xsl:value -of | |||||
| 456 | select="na me()" | |||||
| 457 | /> | |||||
| 458 | ||||||
| 459 | </span> | |||||
| 460 | ||||||
| 461 | <xsl:text> | |||||
| 462 | =" | |||||
| 463 | </xsl:text > | |||||
| 464 | ||||||
| 465 | <span | |||||
| 466 | class="xml verb-ns-ur i" | |||||
| 467 | > | |||||
| 468 | ||||||
| 469 | <xsl:value -of | |||||
| 470 | select="." | |||||
| 471 | /> | |||||
| 472 | ||||||
| 473 | </span> | |||||
| 474 | ||||||
| 475 | <xsl:text> | |||||
| 476 | " | |||||
| 477 | </xsl:text > | |||||
| 478 | ||||||
| 479 | </xsl:if> | |||||
| 480 | ||||||
| 481 | </xsl:temp late> | |||||
| 482 | ||||||
| 483 | ||||||
| 484 | <!-- text nodes --> | |||||
| 485 | ||||||
| 486 | <xsl:templ ate | |||||
| 487 | match="tex t()" | |||||
| 488 | mode="xmlv erb" | |||||
| 489 | > | |||||
| 490 | ||||||
| 491 | <span | |||||
| 492 | class="xml verb-text" | |||||
| 493 | > | |||||
| 494 | ||||||
| 495 | <xsl:call- template | |||||
| 496 | name="pref ormatted-o utput" | |||||
| 497 | > | |||||
| 498 | ||||||
| 499 | <xsl:with- param | |||||
| 500 | name="text " | |||||
| 501 | > | |||||
| 502 | ||||||
| 503 | <xsl:call- template | |||||
| 504 | name="html -replace-e ntities" | |||||
| 505 | > | |||||
| 506 | ||||||
| 507 | <xsl:with- param | |||||
| 508 | name="text " | |||||
| 509 | select="." | |||||
| 510 | /> | |||||
| 511 | ||||||
| 512 | </xsl:call -template> | |||||
| 513 | ||||||
| 514 | </xsl:with -param> | |||||
| 515 | ||||||
| 516 | </xsl:call -template> | |||||
| 517 | ||||||
| 518 | </span> | |||||
| 519 | ||||||
| 520 | </xsl:temp late> | |||||
| 521 | ||||||
| 522 | ||||||
| 523 | <!-- comme nts --> | |||||
| 524 | ||||||
| 525 | <xsl:templ ate | |||||
| 526 | match="com ment()" | |||||
| 527 | mode="xmlv erb" | |||||
| 528 | > | |||||
| 529 | ||||||
| 530 | <xsl:text> | |||||
| 531 | <!-- | |||||
| 532 | </xsl:text > | |||||
| 533 | ||||||
| 534 | <span | |||||
| 535 | class="xml verb-comme nt" | |||||
| 536 | > | |||||
| 537 | ||||||
| 538 | <xsl:call- template | |||||
| 539 | name="pref ormatted-o utput" | |||||
| 540 | > | |||||
| 541 | ||||||
| 542 | <xsl:with- param | |||||
| 543 | name="text " | |||||
| 544 | select="." | |||||
| 545 | /> | |||||
| 546 | ||||||
| 547 | </xsl:call -template> | |||||
| 548 | ||||||
| 549 | </span> | |||||
| 550 | ||||||
| 551 | <xsl:text> | |||||
| 552 | --> | |||||
| 553 | </xsl:text > | |||||
| 554 | ||||||
| 555 | <xsl:if | |||||
| 556 | test="not( parent::*) " | |||||
| 557 | > | |||||
| 558 | ||||||
| 559 | <br /> | |||||
| 560 | ||||||
| 561 | <xsl:text> | |||||
| 562 | 
 | |||||
| 563 | </xsl:text > | |||||
| 564 | ||||||
| 565 | </xsl:if> | |||||
| 566 | ||||||
| 567 | </xsl:temp late> | |||||
| 568 | ||||||
| 569 | ||||||
| 570 | <!-- proce ssing inst ructions - -> | |||||
| 571 | ||||||
| 572 | <xsl:templ ate | |||||
| 573 | match="pro cessing-in struction( )" | |||||
| 574 | mode="xmlv erb" | |||||
| 575 | > | |||||
| 576 | ||||||
| 577 | <xsl:text> | |||||
| 578 | <? | |||||
| 579 | </xsl:text > | |||||
| 580 | ||||||
| 581 | <span | |||||
| 582 | class="xml verb-pi-na me" | |||||
| 583 | > | |||||
| 584 | ||||||
| 585 | <xsl:value -of | |||||
| 586 | select="na me()" | |||||
| 587 | /> | |||||
| 588 | ||||||
| 589 | </span> | |||||
| 590 | ||||||
| 591 | <xsl:if | |||||
| 592 | test=".!=' '" | |||||
| 593 | > | |||||
| 594 | ||||||
| 595 | <xsl:text> | |||||
| 596 | ||||||
| 597 | </xsl:text > | |||||
| 598 | ||||||
| 599 | <span | |||||
| 600 | class="xml verb-pi-co ntent" | |||||
| 601 | > | |||||
| 602 | ||||||
| 603 | <xsl:value -of | |||||
| 604 | select="." | |||||
| 605 | /> | |||||
| 606 | ||||||
| 607 | </span> | |||||
| 608 | ||||||
| 609 | </xsl:if> | |||||
| 610 | ||||||
| 611 | <xsl:text> | |||||
| 612 | ?> | |||||
| 613 | </xsl:text > | |||||
| 614 | ||||||
| 615 | <xsl:if | |||||
| 616 | test="not( parent::*) " | |||||
| 617 | > | |||||
| 618 | ||||||
| 619 | <br /> | |||||
| 620 | ||||||
| 621 | <xsl:text> | |||||
| 622 | 
 | |||||
| 623 | </xsl:text > | |||||
| 624 | ||||||
| 625 | </xsl:if> | |||||
| 626 | ||||||
| 627 | </xsl:temp late> | |||||
| 628 | ||||||
| 629 | ||||||
| 630 | ||||||
| 631 | <!-- ===== ========== ========== ========== ========== ========== ==== --> | |||||
| 632 | ||||||
| 633 | <!-- Proce dures / Fu nctions -- > | |||||
| 634 | ||||||
| 635 | <!-- ===== ========== ========== ========== ========== ========== ==== --> | |||||
| 636 | ||||||
| 637 | ||||||
| 638 | <!-- gener ate entiti es by repl acing &, " , < and > in $text - -> | |||||
| 639 | ||||||
| 640 | <xsl:templ ate | |||||
| 641 | name="html -replace-e ntities" | |||||
| 642 | > | |||||
| 643 | ||||||
| 644 | <xsl:param | |||||
| 645 | name="text " | |||||
| 646 | /> | |||||
| 647 | ||||||
| 648 | <xsl:param | |||||
| 649 | name="attr s" | |||||
| 650 | /> | |||||
| 651 | ||||||
| 652 | <xsl:varia ble | |||||
| 653 | name="tmp" | |||||
| 654 | > | |||||
| 655 | ||||||
| 656 | <xsl:call- template | |||||
| 657 | name="repl ace-substr ing" | |||||
| 658 | > | |||||
| 659 | ||||||
| 660 | <xsl:with- param | |||||
| 661 | name="from " | |||||
| 662 | select="'& gt;'" | |||||
| 663 | /> | |||||
| 664 | ||||||
| 665 | <xsl:with- param | |||||
| 666 | name="to" | |||||
| 667 | select="'& amp;gt;'" | |||||
| 668 | /> | |||||
| 669 | ||||||
| 670 | <xsl:with- param | |||||
| 671 | name="valu e" | |||||
| 672 | > | |||||
| 673 | ||||||
| 674 | <xsl:call- template | |||||
| 675 | name="repl ace-substr ing" | |||||
| 676 | > | |||||
| 677 | ||||||
| 678 | <xsl:with- param | |||||
| 679 | name="from " | |||||
| 680 | select="'& lt;'" | |||||
| 681 | /> | |||||
| 682 | ||||||
| 683 | <xsl:with- param | |||||
| 684 | name="to" | |||||
| 685 | select="'& amp;lt;'" | |||||
| 686 | /> | |||||
| 687 | ||||||
| 688 | <xsl:with- param | |||||
| 689 | name="valu e" | |||||
| 690 | > | |||||
| 691 | ||||||
| 692 | <xsl:call- template | |||||
| 693 | name="repl ace-substr ing" | |||||
| 694 | > | |||||
| 695 | ||||||
| 696 | <xsl:with- param | |||||
| 697 | name="from " | |||||
| 698 | select="'& amp;'" | |||||
| 699 | /> | |||||
| 700 | ||||||
| 701 | <xsl:with- param | |||||
| 702 | name="to" | |||||
| 703 | select="'& amp;amp;'" | |||||
| 704 | /> | |||||
| 705 | ||||||
| 706 | <xsl:with- param | |||||
| 707 | name="valu e" | |||||
| 708 | select="$t ext" | |||||
| 709 | /> | |||||
| 710 | ||||||
| 711 | </xsl:call -template> | |||||
| 712 | ||||||
| 713 | </xsl:with -param> | |||||
| 714 | ||||||
| 715 | </xsl:call -template> | |||||
| 716 | ||||||
| 717 | </xsl:with -param> | |||||
| 718 | ||||||
| 719 | </xsl:call -template> | |||||
| 720 | ||||||
| 721 | </xsl:vari able> | |||||
| 722 | ||||||
| 723 | <xsl:choos e> | |||||
| 724 | ||||||
| 725 | <!-- $text is an att ribute val ue --> | |||||
| 726 | ||||||
| 727 | <xsl:when | |||||
| 728 | test="$att rs" | |||||
| 729 | > | |||||
| 730 | ||||||
| 731 | <xsl:call- template | |||||
| 732 | name="repl ace-substr ing" | |||||
| 733 | > | |||||
| 734 | ||||||
| 735 | <xsl:with- param | |||||
| 736 | name="from " | |||||
| 737 | select="'& #xA;'" | |||||
| 738 | /> | |||||
| 739 | ||||||
| 740 | <xsl:with- param | |||||
| 741 | name="to" | |||||
| 742 | select="'& amp;#xA;'" | |||||
| 743 | /> | |||||
| 744 | ||||||
| 745 | <xsl:with- param | |||||
| 746 | name="valu e" | |||||
| 747 | > | |||||
| 748 | ||||||
| 749 | <xsl:call- template | |||||
| 750 | name="repl ace-substr ing" | |||||
| 751 | > | |||||
| 752 | ||||||
| 753 | <xsl:with- param | |||||
| 754 | name="from " | |||||
| 755 | select="'& quot;'" | |||||
| 756 | /> | |||||
| 757 | ||||||
| 758 | <xsl:with- param | |||||
| 759 | name="to" | |||||
| 760 | select="'& amp;quot;' " | |||||
| 761 | /> | |||||
| 762 | ||||||
| 763 | <xsl:with- param | |||||
| 764 | name="valu e" | |||||
| 765 | select="$t mp" | |||||
| 766 | /> | |||||
| 767 | ||||||
| 768 | </xsl:call -template> | |||||
| 769 | ||||||
| 770 | </xsl:with -param> | |||||
| 771 | ||||||
| 772 | </xsl:call -template> | |||||
| 773 | ||||||
| 774 | </xsl:when > | |||||
| 775 | ||||||
| 776 | <xsl:other wise> | |||||
| 777 | ||||||
| 778 | <xsl:value -of | |||||
| 779 | select="$t mp" | |||||
| 780 | /> | |||||
| 781 | ||||||
| 782 | </xsl:othe rwise> | |||||
| 783 | ||||||
| 784 | </xsl:choo se> | |||||
| 785 | ||||||
| 786 | </xsl:temp late> | |||||
| 787 | ||||||
| 788 | ||||||
| 789 | <!-- repla ce in $val ue substri ng $from w ith $to -- > | |||||
| 790 | ||||||
| 791 | <xsl:templ ate | |||||
| 792 | name="repl ace-substr ing" | |||||
| 793 | > | |||||
| 794 | ||||||
| 795 | <xsl:param | |||||
| 796 | name="valu e" | |||||
| 797 | /> | |||||
| 798 | ||||||
| 799 | <xsl:param | |||||
| 800 | name="from " | |||||
| 801 | /> | |||||
| 802 | ||||||
| 803 | <xsl:param | |||||
| 804 | name="to" | |||||
| 805 | /> | |||||
| 806 | ||||||
| 807 | <xsl:choos e> | |||||
| 808 | ||||||
| 809 | <xsl:when | |||||
| 810 | test="cont ains($valu e,$from)" | |||||
| 811 | > | |||||
| 812 | ||||||
| 813 | <xsl:value -of | |||||
| 814 | select="su bstring-be fore($valu e,$from)" | |||||
| 815 | /> | |||||
| 816 | ||||||
| 817 | <xsl:value -of | |||||
| 818 | select="$t o" | |||||
| 819 | /> | |||||
| 820 | ||||||
| 821 | <xsl:call- template | |||||
| 822 | name="repl ace-substr ing" | |||||
| 823 | > | |||||
| 824 | ||||||
| 825 | <xsl:with- param | |||||
| 826 | name="valu e" | |||||
| 827 | select="su bstring-af ter($value ,$from)" | |||||
| 828 | /> | |||||
| 829 | ||||||
| 830 | <xsl:with- param | |||||
| 831 | name="from " | |||||
| 832 | select="$f rom" | |||||
| 833 | /> | |||||
| 834 | ||||||
| 835 | <xsl:with- param | |||||
| 836 | name="to" | |||||
| 837 | select="$t o" | |||||
| 838 | /> | |||||
| 839 | ||||||
| 840 | </xsl:call -template> | |||||
| 841 | ||||||
| 842 | </xsl:when > | |||||
| 843 | ||||||
| 844 | <xsl:other wise> | |||||
| 845 | ||||||
| 846 | <xsl:value -of | |||||
| 847 | select="$v alue" | |||||
| 848 | /> | |||||
| 849 | ||||||
| 850 | </xsl:othe rwise> | |||||
| 851 | ||||||
| 852 | </xsl:choo se> | |||||
| 853 | ||||||
| 854 | </xsl:temp late> | |||||
| 855 | ||||||
| 856 | ||||||
| 857 | <!-- prefo rmatted ou tput: spac e as   ;, tab as 8 n l as <br> --> | |||||
| 858 | ||||||
| 859 | <xsl:templ ate | |||||
| 860 | name="pref ormatted-o utput" | |||||
| 861 | > | |||||
| 862 | ||||||
| 863 | <xsl:param | |||||
| 864 | name="text " | |||||
| 865 | /> | |||||
| 866 | ||||||
| 867 | <xsl:call- template | |||||
| 868 | name="outp ut-nl" | |||||
| 869 | > | |||||
| 870 | ||||||
| 871 | <xsl:with- param | |||||
| 872 | name="text " | |||||
| 873 | > | |||||
| 874 | ||||||
| 875 | <xsl:call- template | |||||
| 876 | name="repl ace-substr ing" | |||||
| 877 | > | |||||
| 878 | ||||||
| 879 | <xsl:with- param | |||||
| 880 | name="valu e" | |||||
| 881 | select="tr anslate($t ext,' ','& #xA0;')" | |||||
| 882 | /> | |||||
| 883 | ||||||
| 884 | <xsl:with- param | |||||
| 885 | name="from " | |||||
| 886 | select="'& #9;'" | |||||
| 887 | /> | |||||
| 888 | ||||||
| 889 | <xsl:with- param | |||||
| 890 | name="to" | |||||
| 891 | ||||||
| 892 | select="'& #xA0;  ; &#x A0; & #xA0;  ; '" | |||||
| 893 | /> | |||||
| 894 | ||||||
| 895 | </xsl:call -template> | |||||
| 896 | ||||||
| 897 | </xsl:with -param> | |||||
| 898 | ||||||
| 899 | </xsl:call -template> | |||||
| 900 | ||||||
| 901 | </xsl:temp late> | |||||
| 902 | ||||||
| 903 | ||||||
| 904 | <!-- outpu t nl as <b r> --> | |||||
| 905 | ||||||
| 906 | <xsl:templ ate | |||||
| 907 | name="outp ut-nl" | |||||
| 908 | > | |||||
| 909 | ||||||
| 910 | <xsl:param | |||||
| 911 | name="text " | |||||
| 912 | /> | |||||
| 913 | ||||||
| 914 | <xsl:choos e> | |||||
| 915 | ||||||
| 916 | <xsl:when | |||||
| 917 | test="cont ains($text ,'
')" | |||||
| 918 | > | |||||
| 919 | ||||||
| 920 | <xsl:value -of | |||||
| 921 | select="su bstring-be fore($text ,'
')" | |||||
| 922 | /> | |||||
| 923 | ||||||
| 924 | <br /> | |||||
| 925 | ||||||
| 926 | <xsl:text> | |||||
| 927 | 
 | |||||
| 928 | </xsl:text > | |||||
| 929 | ||||||
| 930 | <xsl:call- template | |||||
| 931 | name="outp ut-nl" | |||||
| 932 | > | |||||
| 933 | ||||||
| 934 | <xsl:with- param | |||||
| 935 | name="text " | |||||
| 936 | ||||||
| 937 | select="su bstring-af ter($text, '
')" | |||||
| 938 | /> | |||||
| 939 | ||||||
| 940 | </xsl:call -template> | |||||
| 941 | ||||||
| 942 | </xsl:when > | |||||
| 943 | ||||||
| 944 | <xsl:other wise> | |||||
| 945 | ||||||
| 946 | <xsl:value -of | |||||
| 947 | select="$t ext" | |||||
| 948 | /> | |||||
| 949 | ||||||
| 950 | </xsl:othe rwise> | |||||
| 951 | ||||||
| 952 | </xsl:choo se> | |||||
| 953 | ||||||
| 954 | </xsl:temp late> | |||||
| 955 | ||||||
| 956 | </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.