booky 0.0.4 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/.pdf +0 -0
- data/README.textile +35 -8
- data/booky.gemspec +7 -2
- data/lib/booky.rb +40 -36
- data/lib/booky/ast.rb +10 -0
- data/lib/booky/exceptions.rb +1 -1
- data/lib/booky/layout.rb +103 -0
- data/lib/booky/layout/base.rb +70 -0
- data/lib/booky/layout/base/author.rb +15 -0
- data/lib/booky/layout/base/blockquote.rb +58 -0
- data/lib/booky/layout/base/chart.rb +26 -0
- data/lib/booky/layout/base/charts/bar.rb +164 -0
- data/lib/booky/layout/base/charts/base.rb +82 -0
- data/lib/booky/layout/base/charts/line.rb +249 -0
- data/lib/booky/layout/base/code.rb +185 -0
- data/lib/booky/layout/base/copyright.rb +16 -0
- data/lib/booky/layout/base/footnote.rb +10 -0
- data/lib/booky/layout/base/h0.rb +26 -0
- data/lib/booky/layout/base/h1.rb +29 -0
- data/lib/booky/layout/base/h2.rb +29 -0
- data/lib/booky/layout/base/h3.rb +29 -0
- data/lib/booky/layout/base/h4.rb +29 -0
- data/lib/booky/layout/base/image.rb +39 -0
- data/lib/booky/layout/base/import.rb +11 -0
- data/lib/booky/layout/base/numbered_list.rb +45 -0
- data/lib/booky/layout/base/outline.rb +21 -0
- data/lib/booky/layout/base/p.rb +15 -0
- data/lib/booky/layout/base/subtitle.rb +18 -0
- data/lib/booky/layout/base/table.rb +58 -0
- data/lib/booky/layout/base/title.rb +22 -0
- data/lib/booky/layout/base/toc.rb +131 -0
- data/lib/booky/layout/base/tof.rb +73 -0
- data/lib/booky/layout/base/unnumbered_list.rb +36 -0
- data/lib/booky/layout/element.rb +28 -0
- data/lib/booky/layout/helpers.rb +29 -0
- data/lib/booky/pdf.rb +12 -10
- data/lib/booky/textile.rb +6 -4
- data/lib/booky/textile/load.rb +1 -1
- data/lib/booky/textile/precompiler.rb +1 -0
- data/lib/booky/textile/source.rb +31 -5
- data/lib/booky/textile/table.rb +52 -0
- data/lib/booky/version.rb +1 -1
- data/pdfs/Rakefile +16 -0
- data/pdfs/blockquote_source.pdf +15641 -1
- data/pdfs/footnotes.pdf +1991 -0
- data/pdfs/link_image.pdf +0 -0
- data/pdfs/lists.pdf +706 -1
- data/pdfs/tables.pdf +2162 -0
- data/pdfs/title_subtitle.pdf +3454 -0
- data/spec/ast_spec.rb +12 -0
- data/{lib/fop/lib → spec/fixtures}/.DS_Store +0 -0
- data/spec/fixtures/bar_chart.json +35 -0
- data/spec/fixtures/blockquote_pagebreak.textile +27 -0
- data/spec/fixtures/blockquote_source.textile +35 -0
- data/spec/fixtures/chart.textile +9 -0
- data/spec/fixtures/footnotes.textile +57 -0
- data/spec/fixtures/footnotes_tables.textile +29 -0
- data/spec/fixtures/image_big.jpg +0 -0
- data/spec/fixtures/image_small.jpg +0 -0
- data/spec/fixtures/import.textile +7 -0
- data/spec/fixtures/line_chart.json +49 -0
- data/spec/fixtures/link_image.textile +18 -0
- data/spec/fixtures/lists.textile +98 -0
- data/spec/fixtures/request_flow.pdf +477 -0
- data/spec/fixtures/some_code.rb +138 -0
- data/spec/fixtures/some_text.txt +10 -0
- data/spec/fixtures/source_plain_text.textile +1 -0
- data/spec/fixtures/tables.textile +42 -0
- data/spec/fixtures/textile/basic.textile +3 -0
- data/spec/fixtures/textile/source/precompiled_index.textile +2 -2
- data/spec/fixtures/textile/tables/names.xls +0 -0
- data/spec/fixtures/textile/tables/request_limits_hardware.xls +0 -0
- data/spec/fixtures/title_subtitle.textile +110 -0
- data/spec/helpers.rb +2 -1
- data/spec/pdf_spec.rb +107 -0
- data/test.pdf +16657 -0
- metadata +152 -1551
- data/lib/booky/docbook.rb +0 -13
- data/lib/booky/fo.rb +0 -15
- data/lib/booky/fonts.rb +0 -104
- data/lib/custom_fonts.xml +0 -91
- data/lib/fop/KEYS +0 -248
- data/lib/fop/LICENSE +0 -202
- data/lib/fop/NOTICE +0 -10
- data/lib/fop/README +0 -286
- data/lib/fop/build/fop.jar +0 -0
- data/lib/fop/conf/fop.xconf +0 -464
- data/lib/fop/fop +0 -254
- data/lib/fop/fop.bat +0 -85
- data/lib/fop/fop.cmd +0 -75
- data/lib/fop/fop.js +0 -341
- data/lib/fop/lib/README.txt +0 -243
- data/lib/fop/lib/avalon-framework-4.2.0.jar +0 -0
- data/lib/fop/lib/avalon-framework.LICENSE.txt +0 -175
- data/lib/fop/lib/avalon-framework.NOTICE.TXT +0 -11
- data/lib/fop/lib/batik-all-1.7.jar +0 -0
- data/lib/fop/lib/batik.LICENSE.txt +0 -201
- data/lib/fop/lib/batik.NOTICE.txt +0 -18
- data/lib/fop/lib/commons-io-1.3.1.jar +0 -0
- data/lib/fop/lib/commons-io.LICENSE.txt +0 -203
- data/lib/fop/lib/commons-io.NOTICE.txt +0 -6
- data/lib/fop/lib/commons-logging-1.0.4.jar +0 -0
- data/lib/fop/lib/commons-logging.LICENSE.txt +0 -202
- data/lib/fop/lib/commons-logging.NOTICE.txt +0 -3
- data/lib/fop/lib/jeuclid-core-3.1.9.jar +0 -0
- data/lib/fop/lib/jeuclid-fop-3.1.9.jar +0 -0
- data/lib/fop/lib/serializer-2.7.0.jar +0 -0
- data/lib/fop/lib/serializer.LICENSE.txt +0 -201
- data/lib/fop/lib/serializer.NOTICE.txt +0 -15
- data/lib/fop/lib/xalan-2.7.0.jar +0 -0
- data/lib/fop/lib/xalan.BCEL.LICENSE.txt +0 -52
- data/lib/fop/lib/xalan.LICENSE.txt +0 -202
- data/lib/fop/lib/xalan.NOTICE.txt +0 -44
- data/lib/fop/lib/xalan.regexp.LICENSE.txt +0 -52
- data/lib/fop/lib/xalan.runtime.LICENSE.txt +0 -20
- data/lib/fop/lib/xerces.LICENSE.txt +0 -56
- data/lib/fop/lib/xercesImpl-2.7.1.jar +0 -0
- data/lib/fop/lib/xercesImpl.LICENSE.txt +0 -201
- data/lib/fop/lib/xercesImpl.NOTICE.txt +0 -14
- data/lib/fop/lib/xml-apis-1.3.04.jar +0 -0
- data/lib/fop/lib/xml-apis-ext-1.3.04.jar +0 -0
- data/lib/fop/lib/xml-apis-ext.LICENSE.dom-documentation.txt +0 -73
- data/lib/fop/lib/xml-apis-ext.LICENSE.dom-software.txt +0 -61
- data/lib/fop/lib/xml-apis-ext.LICENSE.sac.html +0 -75
- data/lib/fop/lib/xml-apis-ext.LICENSE.txt +0 -202
- data/lib/fop/lib/xml-apis-ext.NOTICE.txt +0 -16
- data/lib/fop/lib/xml-apis-ext.README.dom.txt +0 -56
- data/lib/fop/lib/xml-apis.LICENSE-SAX.html +0 -17
- data/lib/fop/lib/xml-apis.LICENSE.DOM-documentation.html +0 -74
- data/lib/fop/lib/xml-apis.LICENSE.DOM-software.html +0 -66
- data/lib/fop/lib/xml-apis.LICENSE.txt +0 -201
- data/lib/fop/lib/xml-apis.NOTICE.txt +0 -13
- data/lib/fop/lib/xmlgraphics-commons-1.4.jar +0 -0
- data/lib/fop/lib/xmlgraphics-commons.LICENSE.txt +0 -202
- data/lib/fop/lib/xmlgraphics-commons.NOTICE.txt +0 -5
- data/lib/fop/lib/xslthl-2.0.2.jar +0 -0
- data/lib/fop/status.xml +0 -1809
- data/lib/params.pdf +0 -0
- data/lib/stylesheets/.CatalogManager.properties.example +0 -61
- data/lib/stylesheets/.urilist +0 -1
- data/lib/stylesheets/AUTHORS +0 -4
- data/lib/stylesheets/BUGS +0 -21
- data/lib/stylesheets/COPYING +0 -47
- data/lib/stylesheets/INSTALL +0 -88
- data/lib/stylesheets/Makefile +0 -89
- data/lib/stylesheets/NEWS +0 -139
- data/lib/stylesheets/NEWS.html +0 -25
- data/lib/stylesheets/NEWS.xml +0 -145
- data/lib/stylesheets/README +0 -166
- data/lib/stylesheets/RELEASE-NOTES.html +0 -8353
- data/lib/stylesheets/RELEASE-NOTES.pdf +6 -24345
- data/lib/stylesheets/RELEASE-NOTES.txt +0 -8575
- data/lib/stylesheets/RELEASE-NOTES.xml +0 -10327
- data/lib/stylesheets/TODO +0 -23
- data/lib/stylesheets/VERSION +0 -115
- data/lib/stylesheets/catalog.xml +0 -8
- data/lib/stylesheets/common/addns.xsl +0 -118
- data/lib/stylesheets/common/af.xml +0 -1229
- data/lib/stylesheets/common/am.xml +0 -1229
- data/lib/stylesheets/common/ar.xml +0 -1229
- data/lib/stylesheets/common/as.xml +0 -660
- data/lib/stylesheets/common/ast.xml +0 -660
- data/lib/stylesheets/common/autoidx-kimber.xsl +0 -45
- data/lib/stylesheets/common/autoidx-kosek.xsl +0 -155
- data/lib/stylesheets/common/az.xml +0 -672
- data/lib/stylesheets/common/bg.xml +0 -724
- data/lib/stylesheets/common/bn.xml +0 -1229
- data/lib/stylesheets/common/bn_in.xml +0 -660
- data/lib/stylesheets/common/bs.xml +0 -662
- data/lib/stylesheets/common/ca.xml +0 -660
- data/lib/stylesheets/common/charmap.xml +0 -185
- data/lib/stylesheets/common/charmap.xsl +0 -222
- data/lib/stylesheets/common/common.xml +0 -622
- data/lib/stylesheets/common/common.xsl +0 -2040
- data/lib/stylesheets/common/cs.xml +0 -700
- data/lib/stylesheets/common/cy.xml +0 -1245
- data/lib/stylesheets/common/da.xml +0 -664
- data/lib/stylesheets/common/de.xml +0 -666
- data/lib/stylesheets/common/el.xml +0 -729
- data/lib/stylesheets/common/en.xml +0 -1230
- data/lib/stylesheets/common/entities.ent +0 -67
- data/lib/stylesheets/common/eo.xml +0 -1229
- data/lib/stylesheets/common/es.xml +0 -676
- data/lib/stylesheets/common/et.xml +0 -1229
- data/lib/stylesheets/common/eu.xml +0 -1229
- data/lib/stylesheets/common/fa.xml +0 -660
- data/lib/stylesheets/common/fi.xml +0 -670
- data/lib/stylesheets/common/fr.xml +0 -690
- data/lib/stylesheets/common/ga.xml +0 -1229
- data/lib/stylesheets/common/gentext.xsl +0 -840
- data/lib/stylesheets/common/gl.xml +0 -1229
- data/lib/stylesheets/common/gu.xml +0 -660
- data/lib/stylesheets/common/he.xml +0 -1229
- data/lib/stylesheets/common/hi.xml +0 -660
- data/lib/stylesheets/common/hr.xml +0 -662
- data/lib/stylesheets/common/hu.xml +0 -678
- data/lib/stylesheets/common/id.xml +0 -1229
- data/lib/stylesheets/common/insertfile.xsl +0 -113
- data/lib/stylesheets/common/is.xml +0 -672
- data/lib/stylesheets/common/it.xml +0 -1229
- data/lib/stylesheets/common/ja.xml +0 -660
- data/lib/stylesheets/common/ka.xml +0 -700
- data/lib/stylesheets/common/kn.xml +0 -1229
- data/lib/stylesheets/common/ko.xml +0 -1229
- data/lib/stylesheets/common/ky.xml +0 -732
- data/lib/stylesheets/common/l10n.dtd +0 -64
- data/lib/stylesheets/common/l10n.xml +0 -77
- data/lib/stylesheets/common/l10n.xsl +0 -594
- data/lib/stylesheets/common/la.xml +0 -1229
- data/lib/stylesheets/common/labels.xsl +0 -888
- data/lib/stylesheets/common/lt.xml +0 -678
- data/lib/stylesheets/common/lv.xml +0 -1229
- data/lib/stylesheets/common/ml.xml +0 -660
- data/lib/stylesheets/common/mn.xml +0 -730
- data/lib/stylesheets/common/mr.xml +0 -660
- data/lib/stylesheets/common/nb.xml +0 -1229
- data/lib/stylesheets/common/nds.xml +0 -666
- data/lib/stylesheets/common/nl.xml +0 -660
- data/lib/stylesheets/common/nn.xml +0 -1229
- data/lib/stylesheets/common/olink.xsl +0 -1227
- data/lib/stylesheets/common/or.xml +0 -1229
- data/lib/stylesheets/common/pa.xml +0 -660
- data/lib/stylesheets/common/pi.xml +0 -168
- data/lib/stylesheets/common/pi.xsl +0 -347
- data/lib/stylesheets/common/pl.xml +0 -678
- data/lib/stylesheets/common/pt.xml +0 -1229
- data/lib/stylesheets/common/pt_br.xml +0 -1229
- data/lib/stylesheets/common/refentry.xml +0 -781
- data/lib/stylesheets/common/refentry.xsl +0 -1353
- data/lib/stylesheets/common/ro.xml +0 -1229
- data/lib/stylesheets/common/ru.xml +0 -726
- data/lib/stylesheets/common/sk.xml +0 -1229
- data/lib/stylesheets/common/sl.xml +0 -1229
- data/lib/stylesheets/common/sq.xml +0 -1229
- data/lib/stylesheets/common/sr.xml +0 -720
- data/lib/stylesheets/common/sr_Latn.xml +0 -679
- data/lib/stylesheets/common/subtitles.xsl +0 -156
- data/lib/stylesheets/common/sv.xml +0 -664
- data/lib/stylesheets/common/ta.xml +0 -660
- data/lib/stylesheets/common/table.xsl +0 -515
- data/lib/stylesheets/common/targetdatabase.dtd +0 -49
- data/lib/stylesheets/common/targets.xsl +0 -334
- data/lib/stylesheets/common/te.xml +0 -660
- data/lib/stylesheets/common/th.xml +0 -1229
- data/lib/stylesheets/common/titles.xsl +0 -806
- data/lib/stylesheets/common/tl.xml +0 -1229
- data/lib/stylesheets/common/tr.xml +0 -666
- data/lib/stylesheets/common/uk.xml +0 -726
- data/lib/stylesheets/common/utility.xml +0 -259
- data/lib/stylesheets/common/utility.xsl +0 -291
- data/lib/stylesheets/common/vi.xml +0 -1229
- data/lib/stylesheets/common/xh.xml +0 -1229
- data/lib/stylesheets/common/zh.xml +0 -660
- data/lib/stylesheets/common/zh_cn.xml +0 -660
- data/lib/stylesheets/common/zh_tw.xml +0 -660
- data/lib/stylesheets/docsrc/authors.xml +0 -10
- data/lib/stylesheets/docsrc/copyright.xml +0 -18
- data/lib/stylesheets/docsrc/license.xml +0 -23
- data/lib/stylesheets/docsrc/page.png +0 -0
- data/lib/stylesheets/docsrc/reference.css +0 -79
- data/lib/stylesheets/docsrc/reference.xml +0 -229
- data/lib/stylesheets/docsrc/reference.xml.included +0 -33905
- data/lib/stylesheets/docsrc/warranty.xml +0 -11
- data/lib/stylesheets/eclipse/eclipse.xsl +0 -294
- data/lib/stylesheets/eclipse/eclipse3.xsl +0 -112
- data/lib/stylesheets/eclipse/profile-eclipse.xsl +0 -268
- data/lib/stylesheets/epub/README +0 -88
- data/lib/stylesheets/epub/bin/dbtoepub +0 -76
- data/lib/stylesheets/epub/bin/lib/docbook.rb +0 -227
- data/lib/stylesheets/epub/bin/xslt/obfuscate.xsl +0 -14
- data/lib/stylesheets/epub/docbook.xsl +0 -1678
- data/lib/stylesheets/extensions/LICENSE.txt +0 -264
- data/lib/stylesheets/extensions/NOTICE.txt +0 -12
- data/lib/stylesheets/extensions/README.LIBXSLT +0 -52
- data/lib/stylesheets/extensions/README.txt +0 -4
- data/lib/stylesheets/extensions/docbook.py +0 -239
- data/lib/stylesheets/extensions/lucene-analyzers-3.0.0.jar +0 -0
- data/lib/stylesheets/extensions/lucene-core-3.0.0.jar +0 -0
- data/lib/stylesheets/extensions/saxon65.jar +0 -0
- data/lib/stylesheets/extensions/webhelpindexer.jar +0 -0
- data/lib/stylesheets/extensions/xalan27.jar +0 -0
- data/lib/stylesheets/extensions/xslt.py +0 -84
- data/lib/stylesheets/fo/admon.xsl +0 -132
- data/lib/stylesheets/fo/annotations.xsl +0 -20
- data/lib/stylesheets/fo/autoidx-kimber.xsl +0 -173
- data/lib/stylesheets/fo/autoidx-kosek.xsl +0 -140
- data/lib/stylesheets/fo/autoidx-ng.xsl +0 -22
- data/lib/stylesheets/fo/autoidx.xsl +0 -1331
- data/lib/stylesheets/fo/autotoc.xsl +0 -917
- data/lib/stylesheets/fo/axf.xsl +0 -112
- data/lib/stylesheets/fo/biblio-iso690.xsl +0 -1302
- data/lib/stylesheets/fo/biblio.xsl +0 -1171
- data/lib/stylesheets/fo/block.xsl +0 -656
- data/lib/stylesheets/fo/callout.xsl +0 -232
- data/lib/stylesheets/fo/component.xsl +0 -900
- data/lib/stylesheets/fo/division.xsl +0 -614
- data/lib/stylesheets/fo/docbook.xsl +0 -333
- data/lib/stylesheets/fo/ebnf.xsl +0 -326
- data/lib/stylesheets/fo/fo-rtf.xsl +0 -155
- data/lib/stylesheets/fo/fo.xsl +0 -120
- data/lib/stylesheets/fo/footnote.xsl +0 -221
- data/lib/stylesheets/fo/fop.xsl +0 -95
- data/lib/stylesheets/fo/fop1.xsl +0 -225
- data/lib/stylesheets/fo/formal.xsl +0 -644
- data/lib/stylesheets/fo/glossary.xsl +0 -1170
- data/lib/stylesheets/fo/graphics.xsl +0 -649
- data/lib/stylesheets/fo/highlight.xsl +0 -78
- data/lib/stylesheets/fo/htmltbl.xsl +0 -427
- data/lib/stylesheets/fo/index.xsl +0 -486
- data/lib/stylesheets/fo/info.xsl +0 -36
- data/lib/stylesheets/fo/inline.xsl +0 -1289
- data/lib/stylesheets/fo/keywords.xsl +0 -23
- data/lib/stylesheets/fo/lists.xsl +0 -1395
- data/lib/stylesheets/fo/math.xsl +0 -141
- data/lib/stylesheets/fo/pagesetup.xsl +0 -2571
- data/lib/stylesheets/fo/param.xml +0 -12445
- data/lib/stylesheets/fo/param.xsl +0 -969
- data/lib/stylesheets/fo/passivetex.xsl +0 -38
- data/lib/stylesheets/fo/pdf2index +0 -140
- data/lib/stylesheets/fo/pi.xml +0 -1002
- data/lib/stylesheets/fo/pi.xsl +0 -1093
- data/lib/stylesheets/fo/profile-docbook.xsl +0 -288
- data/lib/stylesheets/fo/ptc.xsl +0 -79
- data/lib/stylesheets/fo/qandaset.xsl +0 -397
- data/lib/stylesheets/fo/refentry.xsl +0 -640
- data/lib/stylesheets/fo/sections.xsl +0 -766
- data/lib/stylesheets/fo/spaces.xsl +0 -276
- data/lib/stylesheets/fo/synop.xsl +0 -1009
- data/lib/stylesheets/fo/table.xml +0 -135
- data/lib/stylesheets/fo/table.xsl +0 -1682
- data/lib/stylesheets/fo/task.xsl +0 -93
- data/lib/stylesheets/fo/titlepage.templates.xml +0 -1354
- data/lib/stylesheets/fo/titlepage.templates.xsl +0 -5186
- data/lib/stylesheets/fo/titlepage.xsl +0 -769
- data/lib/stylesheets/fo/toc.xsl +0 -334
- data/lib/stylesheets/fo/verbatim.xsl +0 -466
- data/lib/stylesheets/fo/xep.xsl +0 -182
- data/lib/stylesheets/fo/xref.xsl +0 -1539
- data/lib/stylesheets/highlighting/README +0 -16
- data/lib/stylesheets/highlighting/c-hl.xml +0 -101
- data/lib/stylesheets/highlighting/common.xsl +0 -121
- data/lib/stylesheets/highlighting/cpp-hl.xml +0 -150
- data/lib/stylesheets/highlighting/csharp-hl.xml +0 -187
- data/lib/stylesheets/highlighting/delphi-hl.xml +0 -200
- data/lib/stylesheets/highlighting/ini-hl.xml +0 -45
- data/lib/stylesheets/highlighting/java-hl.xml +0 -117
- data/lib/stylesheets/highlighting/javascript-hl.xml +0 -147
- data/lib/stylesheets/highlighting/m2-hl.xml +0 -90
- data/lib/stylesheets/highlighting/myxml-hl.xml +0 -116
- data/lib/stylesheets/highlighting/perl-hl.xml +0 -120
- data/lib/stylesheets/highlighting/php-hl.xml +0 -149
- data/lib/stylesheets/highlighting/python-hl.xml +0 -100
- data/lib/stylesheets/highlighting/ruby-hl.xml +0 -109
- data/lib/stylesheets/highlighting/tcl-hl.xml +0 -180
- data/lib/stylesheets/highlighting/xslthl-config.xml +0 -46
- data/lib/stylesheets/html/admon.xsl +0 -136
- data/lib/stylesheets/html/annotations.xsl +0 -171
- data/lib/stylesheets/html/autoidx-kimber.xsl +0 -166
- data/lib/stylesheets/html/autoidx-kosek.xsl +0 -121
- data/lib/stylesheets/html/autoidx-ng.xsl +0 -22
- data/lib/stylesheets/html/autoidx.xsl +0 -740
- data/lib/stylesheets/html/autotoc.xsl +0 -709
- data/lib/stylesheets/html/biblio-iso690.xsl +0 -1302
- data/lib/stylesheets/html/biblio.xsl +0 -1255
- data/lib/stylesheets/html/block.xsl +0 -540
- data/lib/stylesheets/html/callout.xsl +0 -202
- data/lib/stylesheets/html/changebars.xsl +0 -123
- data/lib/stylesheets/html/chunk-changebars.xsl +0 -100
- data/lib/stylesheets/html/chunk-code.xsl +0 -672
- data/lib/stylesheets/html/chunk-common.xsl +0 -1921
- data/lib/stylesheets/html/chunk.xsl +0 -53
- data/lib/stylesheets/html/chunker.xsl +0 -440
- data/lib/stylesheets/html/chunkfast.xsl +0 -73
- data/lib/stylesheets/html/chunktoc.xsl +0 -541
- data/lib/stylesheets/html/component.xsl +0 -427
- data/lib/stylesheets/html/division.xsl +0 -219
- data/lib/stylesheets/html/docbook.css.xml +0 -109
- data/lib/stylesheets/html/docbook.xsl +0 -468
- data/lib/stylesheets/html/ebnf.xsl +0 -330
- data/lib/stylesheets/html/footnote.xsl +0 -314
- data/lib/stylesheets/html/formal.xsl +0 -427
- data/lib/stylesheets/html/glossary.xsl +0 -493
- data/lib/stylesheets/html/graphics.xsl +0 -1516
- data/lib/stylesheets/html/highlight.xsl +0 -87
- data/lib/stylesheets/html/html-rtf.xsl +0 -336
- data/lib/stylesheets/html/html.xsl +0 -614
- data/lib/stylesheets/html/htmltbl.xsl +0 -137
- data/lib/stylesheets/html/index.xsl +0 -290
- data/lib/stylesheets/html/info.xsl +0 -45
- data/lib/stylesheets/html/inline.xsl +0 -1491
- data/lib/stylesheets/html/keywords.xsl +0 -37
- data/lib/stylesheets/html/lists.xsl +0 -1185
- data/lib/stylesheets/html/maketoc.xsl +0 -87
- data/lib/stylesheets/html/manifest.xsl +0 -23
- data/lib/stylesheets/html/math.xsl +0 -271
- data/lib/stylesheets/html/oldchunker.xsl +0 -203
- data/lib/stylesheets/html/onechunk.xsl +0 -38
- data/lib/stylesheets/html/param.xml +0 -10905
- data/lib/stylesheets/html/param.xsl +0 -436
- data/lib/stylesheets/html/pi.xml +0 -1113
- data/lib/stylesheets/html/pi.xsl +0 -1264
- data/lib/stylesheets/html/profile-chunk-code.xsl +0 -614
- data/lib/stylesheets/html/profile-chunk.xsl +0 -53
- data/lib/stylesheets/html/profile-docbook.xsl +0 -412
- data/lib/stylesheets/html/profile-onechunk.xsl +0 -38
- data/lib/stylesheets/html/qandaset.xsl +0 -438
- data/lib/stylesheets/html/refentry.xsl +0 -301
- data/lib/stylesheets/html/sections.xsl +0 -617
- data/lib/stylesheets/html/synop.xsl +0 -1556
- data/lib/stylesheets/html/table.xsl +0 -1201
- data/lib/stylesheets/html/task.xsl +0 -78
- data/lib/stylesheets/html/titlepage.templates.xml +0 -708
- data/lib/stylesheets/html/titlepage.templates.xsl +0 -3818
- data/lib/stylesheets/html/titlepage.xsl +0 -1049
- data/lib/stylesheets/html/toc.xsl +0 -352
- data/lib/stylesheets/html/verbatim.xsl +0 -411
- data/lib/stylesheets/html/xref.xsl +0 -1378
- data/lib/stylesheets/htmlhelp/htmlhelp-common.xsl +0 -1108
- data/lib/stylesheets/htmlhelp/htmlhelp.xsl +0 -23
- data/lib/stylesheets/htmlhelp/profile-htmlhelp-common.xsl +0 -1082
- data/lib/stylesheets/htmlhelp/profile-htmlhelp.xsl +0 -23
- data/lib/stylesheets/images/annot-close.png +0 -0
- data/lib/stylesheets/images/annot-open.png +0 -0
- data/lib/stylesheets/images/blank.png +0 -0
- data/lib/stylesheets/images/callouts/1.gif +0 -0
- data/lib/stylesheets/images/callouts/1.png +0 -0
- data/lib/stylesheets/images/callouts/1.svg +0 -15
- data/lib/stylesheets/images/callouts/10.gif +0 -0
- data/lib/stylesheets/images/callouts/10.png +0 -0
- data/lib/stylesheets/images/callouts/10.svg +0 -18
- data/lib/stylesheets/images/callouts/11.gif +0 -0
- data/lib/stylesheets/images/callouts/11.png +0 -0
- data/lib/stylesheets/images/callouts/11.svg +0 -16
- data/lib/stylesheets/images/callouts/12.gif +0 -0
- data/lib/stylesheets/images/callouts/12.png +0 -0
- data/lib/stylesheets/images/callouts/12.svg +0 -18
- data/lib/stylesheets/images/callouts/13.gif +0 -0
- data/lib/stylesheets/images/callouts/13.png +0 -0
- data/lib/stylesheets/images/callouts/13.svg +0 -20
- data/lib/stylesheets/images/callouts/14.gif +0 -0
- data/lib/stylesheets/images/callouts/14.png +0 -0
- data/lib/stylesheets/images/callouts/14.svg +0 -17
- data/lib/stylesheets/images/callouts/15.gif +0 -0
- data/lib/stylesheets/images/callouts/15.png +0 -0
- data/lib/stylesheets/images/callouts/15.svg +0 -19
- data/lib/stylesheets/images/callouts/16.svg +0 -20
- data/lib/stylesheets/images/callouts/17.svg +0 -17
- data/lib/stylesheets/images/callouts/18.svg +0 -21
- data/lib/stylesheets/images/callouts/19.svg +0 -20
- data/lib/stylesheets/images/callouts/2.gif +0 -0
- data/lib/stylesheets/images/callouts/2.png +0 -0
- data/lib/stylesheets/images/callouts/2.svg +0 -17
- data/lib/stylesheets/images/callouts/20.svg +0 -20
- data/lib/stylesheets/images/callouts/21.svg +0 -18
- data/lib/stylesheets/images/callouts/22.svg +0 -20
- data/lib/stylesheets/images/callouts/23.svg +0 -22
- data/lib/stylesheets/images/callouts/24.svg +0 -19
- data/lib/stylesheets/images/callouts/25.svg +0 -21
- data/lib/stylesheets/images/callouts/26.svg +0 -22
- data/lib/stylesheets/images/callouts/27.svg +0 -19
- data/lib/stylesheets/images/callouts/28.svg +0 -23
- data/lib/stylesheets/images/callouts/29.svg +0 -22
- data/lib/stylesheets/images/callouts/3.gif +0 -0
- data/lib/stylesheets/images/callouts/3.png +0 -0
- data/lib/stylesheets/images/callouts/3.svg +0 -19
- data/lib/stylesheets/images/callouts/30.svg +0 -22
- data/lib/stylesheets/images/callouts/4.gif +0 -0
- data/lib/stylesheets/images/callouts/4.png +0 -0
- data/lib/stylesheets/images/callouts/4.svg +0 -16
- data/lib/stylesheets/images/callouts/5.gif +0 -0
- data/lib/stylesheets/images/callouts/5.png +0 -0
- data/lib/stylesheets/images/callouts/5.svg +0 -18
- data/lib/stylesheets/images/callouts/6.gif +0 -0
- data/lib/stylesheets/images/callouts/6.png +0 -0
- data/lib/stylesheets/images/callouts/6.svg +0 -19
- data/lib/stylesheets/images/callouts/7.gif +0 -0
- data/lib/stylesheets/images/callouts/7.png +0 -0
- data/lib/stylesheets/images/callouts/7.svg +0 -16
- data/lib/stylesheets/images/callouts/8.gif +0 -0
- data/lib/stylesheets/images/callouts/8.png +0 -0
- data/lib/stylesheets/images/callouts/8.svg +0 -20
- data/lib/stylesheets/images/callouts/9.gif +0 -0
- data/lib/stylesheets/images/callouts/9.png +0 -0
- data/lib/stylesheets/images/callouts/9.svg +0 -19
- data/lib/stylesheets/images/caution.gif +0 -0
- data/lib/stylesheets/images/caution.png +0 -0
- data/lib/stylesheets/images/caution.svg +0 -25
- data/lib/stylesheets/images/caution.tif +0 -0
- data/lib/stylesheets/images/colorsvg/caution.svg +0 -141
- data/lib/stylesheets/images/colorsvg/home.svg +0 -498
- data/lib/stylesheets/images/colorsvg/important.svg +0 -239
- data/lib/stylesheets/images/colorsvg/next.svg +0 -338
- data/lib/stylesheets/images/colorsvg/note.svg +0 -200
- data/lib/stylesheets/images/colorsvg/prev.svg +0 -338
- data/lib/stylesheets/images/colorsvg/tip.svg +0 -367
- data/lib/stylesheets/images/colorsvg/up.svg +0 -338
- data/lib/stylesheets/images/colorsvg/warning.svg +0 -232
- data/lib/stylesheets/images/draft.png +0 -0
- data/lib/stylesheets/images/home.gif +0 -0
- data/lib/stylesheets/images/home.png +0 -0
- data/lib/stylesheets/images/home.svg +0 -26
- data/lib/stylesheets/images/important.gif +0 -0
- data/lib/stylesheets/images/important.png +0 -0
- data/lib/stylesheets/images/important.svg +0 -25
- data/lib/stylesheets/images/important.tif +0 -0
- data/lib/stylesheets/images/next.gif +0 -0
- data/lib/stylesheets/images/next.png +0 -0
- data/lib/stylesheets/images/next.svg +0 -19
- data/lib/stylesheets/images/note.gif +0 -0
- data/lib/stylesheets/images/note.png +0 -0
- data/lib/stylesheets/images/note.svg +0 -33
- data/lib/stylesheets/images/note.tif +0 -0
- data/lib/stylesheets/images/prev.gif +0 -0
- data/lib/stylesheets/images/prev.png +0 -0
- data/lib/stylesheets/images/prev.svg +0 -19
- data/lib/stylesheets/images/tip.gif +0 -0
- data/lib/stylesheets/images/tip.png +0 -0
- data/lib/stylesheets/images/tip.svg +0 -31
- data/lib/stylesheets/images/tip.tif +0 -0
- data/lib/stylesheets/images/toc-blank.png +0 -0
- data/lib/stylesheets/images/toc-minus.png +0 -0
- data/lib/stylesheets/images/toc-plus.png +0 -0
- data/lib/stylesheets/images/up.gif +0 -0
- data/lib/stylesheets/images/up.png +0 -0
- data/lib/stylesheets/images/up.svg +0 -19
- data/lib/stylesheets/images/warning.gif +0 -0
- data/lib/stylesheets/images/warning.png +0 -0
- data/lib/stylesheets/images/warning.svg +0 -23
- data/lib/stylesheets/images/warning.tif +0 -0
- data/lib/stylesheets/install.sh +0 -977
- data/lib/stylesheets/javahelp/javahelp.xsl +0 -613
- data/lib/stylesheets/javahelp/profile-javahelp.xsl +0 -548
- data/lib/stylesheets/lib/lib.xsl +0 -482
- data/lib/stylesheets/manpages/ChangeLog.20020917 +0 -195
- data/lib/stylesheets/manpages/block.xsl +0 -412
- data/lib/stylesheets/manpages/charmap.groff.xsl +0 -6014
- data/lib/stylesheets/manpages/docbook.xsl +0 -302
- data/lib/stylesheets/manpages/endnotes.xsl +0 -587
- data/lib/stylesheets/manpages/html-synop.xsl +0 -1569
- data/lib/stylesheets/manpages/info.xsl +0 -801
- data/lib/stylesheets/manpages/inline.xsl +0 -221
- data/lib/stylesheets/manpages/lists.xsl +0 -606
- data/lib/stylesheets/manpages/other.xsl +0 -889
- data/lib/stylesheets/manpages/param.xml +0 -3220
- data/lib/stylesheets/manpages/param.xsl +0 -195
- data/lib/stylesheets/manpages/pi.xml +0 -70
- data/lib/stylesheets/manpages/pi.xsl +0 -80
- data/lib/stylesheets/manpages/profile-docbook.xsl +0 -282
- data/lib/stylesheets/manpages/refentry.xsl +0 -321
- data/lib/stylesheets/manpages/synop.xsl +0 -433
- data/lib/stylesheets/manpages/table.xsl +0 -633
- data/lib/stylesheets/manpages/utility.xsl +0 -556
- data/lib/stylesheets/params/abstract.notitle.enabled.xml +0 -22
- data/lib/stylesheets/params/abstract.properties.xml +0 -32
- data/lib/stylesheets/params/abstract.title.properties.xml +0 -39
- data/lib/stylesheets/params/active.toc.xml +0 -29
- data/lib/stylesheets/params/ade.extensions.xml +0 -32
- data/lib/stylesheets/params/admon.graphics.extension.xml +0 -27
- data/lib/stylesheets/params/admon.graphics.path.xml +0 -27
- data/lib/stylesheets/params/admon.graphics.xml +0 -29
- data/lib/stylesheets/params/admon.style.xml +0 -31
- data/lib/stylesheets/params/admon.textlabel.xml +0 -32
- data/lib/stylesheets/params/admonition.properties.xml +0 -25
- data/lib/stylesheets/params/admonition.title.properties.xml +0 -32
- data/lib/stylesheets/params/alignment.xml +0 -41
- data/lib/stylesheets/params/annotate.toc.xml +0 -28
- data/lib/stylesheets/params/annotation.css.xml +0 -71
- data/lib/stylesheets/params/annotation.graphic.close.xml +0 -31
- data/lib/stylesheets/params/annotation.graphic.open.xml +0 -28
- data/lib/stylesheets/params/annotation.js.xml +0 -33
- data/lib/stylesheets/params/annotation.support.xml +0 -29
- data/lib/stylesheets/params/appendix.autolabel.xml +0 -73
- data/lib/stylesheets/params/arbortext.extensions.xml +0 -30
- data/lib/stylesheets/params/article.appendix.title.properties.xml +0 -33
- data/lib/stylesheets/params/author.othername.in.middle.xml +0 -31
- data/lib/stylesheets/params/autolayout-file.xml +0 -29
- data/lib/stylesheets/params/autotoc.label.in.hyperlink.xml +0 -29
- data/lib/stylesheets/params/autotoc.label.separator.xml +0 -27
- data/lib/stylesheets/params/axf.extensions.xml +0 -33
- data/lib/stylesheets/params/banner.before.navigation.xml +0 -25
- data/lib/stylesheets/params/base.dir.xml +0 -29
- data/lib/stylesheets/params/biblioentry.item.separator.xml +0 -26
- data/lib/stylesheets/params/biblioentry.properties.xml +0 -28
- data/lib/stylesheets/params/bibliography.collection.xml +0 -104
- data/lib/stylesheets/params/bibliography.numbered.xml +0 -27
- data/lib/stylesheets/params/bibliography.style.xml +0 -35
- data/lib/stylesheets/params/blockquote.properties.xml +0 -34
- data/lib/stylesheets/params/blurb.on.titlepage.enabled.xml +0 -31
- data/lib/stylesheets/params/body.attributes.xml +0 -31
- data/lib/stylesheets/params/body.bg.color.xml +0 -28
- data/lib/stylesheets/params/body.end.indent.xml +0 -37
- data/lib/stylesheets/params/body.font.family.xml +0 -32
- data/lib/stylesheets/params/body.font.master.xml +0 -30
- data/lib/stylesheets/params/body.font.size.xml +0 -31
- data/lib/stylesheets/params/body.margin.bottom.xml +0 -29
- data/lib/stylesheets/params/body.margin.top.xml +0 -28
- data/lib/stylesheets/params/body.start.indent.xml +0 -64
- data/lib/stylesheets/params/bookmarks.collapse.xml +0 -31
- data/lib/stylesheets/params/bridgehead.in.toc.xml +0 -28
- data/lib/stylesheets/params/bullet.image.xml +0 -28
- data/lib/stylesheets/params/callout.defaultcolumn.xml +0 -30
- data/lib/stylesheets/params/callout.graphics.extension.xml +0 -33
- data/lib/stylesheets/params/callout.graphics.number.limit.xml +0 -34
- data/lib/stylesheets/params/callout.graphics.path.xml +0 -31
- data/lib/stylesheets/params/callout.graphics.xml +0 -30
- data/lib/stylesheets/params/callout.icon.size.xml +0 -28
- data/lib/stylesheets/params/callout.list.table.xml +0 -32
- data/lib/stylesheets/params/callout.unicode.font.xml +0 -29
- data/lib/stylesheets/params/callout.unicode.number.limit.xml +0 -35
- data/lib/stylesheets/params/callout.unicode.start.character.xml +0 -33
- data/lib/stylesheets/params/callout.unicode.xml +0 -26
- data/lib/stylesheets/params/callouts.extension.xml +0 -30
- data/lib/stylesheets/params/chapter.autolabel.xml +0 -71
- data/lib/stylesheets/params/chunk.append.xml +0 -30
- data/lib/stylesheets/params/chunk.first.sections.xml +0 -31
- data/lib/stylesheets/params/chunk.quietly.xml +0 -30
- data/lib/stylesheets/params/chunk.section.depth.xml +0 -27
- data/lib/stylesheets/params/chunk.sections.xml +0 -30
- data/lib/stylesheets/params/chunk.separate.lots.xml +0 -36
- data/lib/stylesheets/params/chunk.toc.xml +0 -30
- data/lib/stylesheets/params/chunk.tocs.and.lots.has.title.xml +0 -28
- data/lib/stylesheets/params/chunk.tocs.and.lots.xml +0 -32
- data/lib/stylesheets/params/chunker.output.cdata-section-elements.xml +0 -30
- data/lib/stylesheets/params/chunker.output.doctype-public.xml +0 -31
- data/lib/stylesheets/params/chunker.output.doctype-system.xml +0 -31
- data/lib/stylesheets/params/chunker.output.encoding.xml +0 -31
- data/lib/stylesheets/params/chunker.output.indent.xml +0 -30
- data/lib/stylesheets/params/chunker.output.media-type.xml +0 -35
- data/lib/stylesheets/params/chunker.output.method.xml +0 -32
- data/lib/stylesheets/params/chunker.output.omit-xml-declaration.xml +0 -30
- data/lib/stylesheets/params/chunker.output.standalone.xml +0 -31
- data/lib/stylesheets/params/citerefentry.link.xml +0 -29
- data/lib/stylesheets/params/collect.xref.targets.xml +0 -33
- data/lib/stylesheets/params/column.count.back.xml +0 -27
- data/lib/stylesheets/params/column.count.body.xml +0 -27
- data/lib/stylesheets/params/column.count.front.xml +0 -27
- data/lib/stylesheets/params/column.count.index.xml +0 -27
- data/lib/stylesheets/params/column.count.lot.xml +0 -28
- data/lib/stylesheets/params/column.count.titlepage.xml +0 -27
- data/lib/stylesheets/params/column.gap.back.xml +0 -28
- data/lib/stylesheets/params/column.gap.body.xml +0 -28
- data/lib/stylesheets/params/column.gap.front.xml +0 -28
- data/lib/stylesheets/params/column.gap.index.xml +0 -28
- data/lib/stylesheets/params/column.gap.lot.xml +0 -28
- data/lib/stylesheets/params/column.gap.titlepage.xml +0 -29
- data/lib/stylesheets/params/compact.list.item.spacing.xml +0 -28
- data/lib/stylesheets/params/component.label.includes.part.label.xml +0 -39
- data/lib/stylesheets/params/component.title.properties.xml +0 -40
- data/lib/stylesheets/params/component.titlepage.properties.xml +0 -33
- data/lib/stylesheets/params/contrib.inline.enabled.xml +0 -26
- data/lib/stylesheets/params/crop.mark.bleed.xml +0 -28
- data/lib/stylesheets/params/crop.mark.offset.xml +0 -28
- data/lib/stylesheets/params/crop.mark.width.xml +0 -28
- data/lib/stylesheets/params/crop.marks.xml +0 -28
- data/lib/stylesheets/params/css.decoration.xml +0 -33
- data/lib/stylesheets/params/css.stylesheet.dir.xml +0 -33
- data/lib/stylesheets/params/css.stylesheet.xml +0 -29
- data/lib/stylesheets/params/current.docid.xml +0 -27
- data/lib/stylesheets/params/currentpage.marker.xml +0 -25
- data/lib/stylesheets/params/custom.css.source.xml +0 -119
- data/lib/stylesheets/params/default.float.class.xml +0 -34
- data/lib/stylesheets/params/default.image.width.xml +0 -30
- data/lib/stylesheets/params/default.table.frame.xml +0 -28
- data/lib/stylesheets/params/default.table.rules.xml +0 -76
- data/lib/stylesheets/params/default.table.width.xml +0 -26
- data/lib/stylesheets/params/default.units.xml +0 -37
- data/lib/stylesheets/params/dingbat.font.family.xml +0 -33
- data/lib/stylesheets/params/docbook.css.link.xml +0 -42
- data/lib/stylesheets/params/docbook.css.source.xml +0 -83
- data/lib/stylesheets/params/double.sided.xml +0 -31
- data/lib/stylesheets/params/draft.mode.xml +0 -36
- data/lib/stylesheets/params/draft.watermark.image.xml +0 -27
- data/lib/stylesheets/params/dry-run.xml +0 -27
- data/lib/stylesheets/params/dynamic.toc.xml +0 -29
- data/lib/stylesheets/params/ebnf.assignment.xml +0 -39
- data/lib/stylesheets/params/ebnf.statement.terminator.xml +0 -32
- data/lib/stylesheets/params/ebnf.table.bgcolor.xml +0 -30
- data/lib/stylesheets/params/ebnf.table.border.xml +0 -26
- data/lib/stylesheets/params/eclipse.autolabel.xml +0 -28
- data/lib/stylesheets/params/eclipse.plugin.id.xml +0 -28
- data/lib/stylesheets/params/eclipse.plugin.name.xml +0 -27
- data/lib/stylesheets/params/eclipse.plugin.provider.xml +0 -27
- data/lib/stylesheets/params/editedby.enabled.xml +0 -27
- data/lib/stylesheets/params/email.delimiters.enabled.xml +0 -34
- data/lib/stylesheets/params/email.mailto.enabled.xml +0 -29
- data/lib/stylesheets/params/emphasis.propagates.style.xml +0 -26
- data/lib/stylesheets/params/entry.propagates.style.xml +0 -30
- data/lib/stylesheets/params/epub.autolabel.xml +0 -28
- data/lib/stylesheets/params/equation.number.properties.xml +0 -28
- data/lib/stylesheets/params/equation.properties.xml +0 -27
- data/lib/stylesheets/params/example.properties.xml +0 -27
- data/lib/stylesheets/params/exsl.node.set.available.xml +0 -44
- data/lib/stylesheets/params/feedback.href.xml +0 -28
- data/lib/stylesheets/params/feedback.link.text.xml +0 -28
- data/lib/stylesheets/params/feedback.with.ids.xml +0 -27
- data/lib/stylesheets/params/figure.properties.xml +0 -27
- data/lib/stylesheets/params/filename-prefix.xml +0 -28
- data/lib/stylesheets/params/firstterm.only.link.xml +0 -29
- data/lib/stylesheets/params/foil.properties.xml +0 -37
- data/lib/stylesheets/params/foil.subtitle.properties.xml +0 -36
- data/lib/stylesheets/params/foil.title.master.xml +0 -29
- data/lib/stylesheets/params/foil.title.size.xml +0 -32
- data/lib/stylesheets/params/foilgroup.properties.xml +0 -31
- data/lib/stylesheets/params/foilgroup.toc.xml +0 -29
- data/lib/stylesheets/params/footer.column.widths.xml +0 -80
- data/lib/stylesheets/params/footer.content.properties.xml +0 -34
- data/lib/stylesheets/params/footer.hr.xml +0 -26
- data/lib/stylesheets/params/footer.rule.xml +0 -27
- data/lib/stylesheets/params/footer.table.height.xml +0 -32
- data/lib/stylesheets/params/footer.table.properties.xml +0 -30
- data/lib/stylesheets/params/footers.on.blank.pages.xml +0 -27
- data/lib/stylesheets/params/footnote.font.size.xml +0 -28
- data/lib/stylesheets/params/footnote.mark.properties.xml +0 -41
- data/lib/stylesheets/params/footnote.number.format.xml +0 -33
- data/lib/stylesheets/params/footnote.number.symbols.xml +0 -39
- data/lib/stylesheets/params/footnote.properties.xml +0 -43
- data/lib/stylesheets/params/footnote.sep.leader.properties.xml +0 -39
- data/lib/stylesheets/params/fop.extensions.xml +0 -36
- data/lib/stylesheets/params/fop1.extensions.xml +0 -34
- data/lib/stylesheets/params/formal.object.properties.xml +0 -36
- data/lib/stylesheets/params/formal.procedures.xml +0 -28
- data/lib/stylesheets/params/formal.title.placement.xml +0 -41
- data/lib/stylesheets/params/formal.title.properties.xml +0 -34
- data/lib/stylesheets/params/funcsynopsis.decoration.xml +0 -30
- data/lib/stylesheets/params/funcsynopsis.style.xml +0 -31
- data/lib/stylesheets/params/function.parens.xml +0 -29
- data/lib/stylesheets/params/generate.css.header.xml +0 -40
- data/lib/stylesheets/params/generate.id.attributes.xml +0 -59
- data/lib/stylesheets/params/generate.index.xml +0 -25
- data/lib/stylesheets/params/generate.legalnotice.link.xml +0 -72
- data/lib/stylesheets/params/generate.manifest.xml +0 -27
- data/lib/stylesheets/params/generate.meta.abstract.xml +0 -29
- data/lib/stylesheets/params/generate.revhistory.link.xml +0 -50
- data/lib/stylesheets/params/generate.section.toc.level.xml +0 -35
- data/lib/stylesheets/params/generate.toc.xml +0 -108
- data/lib/stylesheets/params/glossary.as.blocks.xml +0 -38
- data/lib/stylesheets/params/glossary.collection.xml +0 -252
- data/lib/stylesheets/params/glossary.sort.xml +0 -32
- data/lib/stylesheets/params/glossdef.block.properties.xml +0 -32
- data/lib/stylesheets/params/glossdef.list.properties.xml +0 -30
- data/lib/stylesheets/params/glossentry.list.item.properties.xml +0 -32
- data/lib/stylesheets/params/glossentry.show.acronym.xml +0 -37
- data/lib/stylesheets/params/glosslist.as.blocks.xml +0 -27
- data/lib/stylesheets/params/glossterm.auto.link.xml +0 -33
- data/lib/stylesheets/params/glossterm.block.properties.xml +0 -35
- data/lib/stylesheets/params/glossterm.list.properties.xml +0 -30
- data/lib/stylesheets/params/glossterm.separation.xml +0 -31
- data/lib/stylesheets/params/glossterm.width.xml +0 -28
- data/lib/stylesheets/params/graphic.default.extension.xml +0 -29
- data/lib/stylesheets/params/graphical.admonition.properties.xml +0 -42
- data/lib/stylesheets/params/graphics.dir.xml +0 -33
- data/lib/stylesheets/params/graphicsize.extension.xml +0 -30
- data/lib/stylesheets/params/graphicsize.use.img.src.path.xml +0 -30
- data/lib/stylesheets/params/header.column.widths.xml +0 -80
- data/lib/stylesheets/params/header.content.properties.xml +0 -34
- data/lib/stylesheets/params/header.hr.xml +0 -26
- data/lib/stylesheets/params/header.rule.xml +0 -27
- data/lib/stylesheets/params/header.table.height.xml +0 -32
- data/lib/stylesheets/params/header.table.properties.xml +0 -30
- data/lib/stylesheets/params/headers.on.blank.pages.xml +0 -27
- data/lib/stylesheets/params/hidetoc.image.xml +0 -29
- data/lib/stylesheets/params/highlight.default.language.xml +0 -27
- data/lib/stylesheets/params/highlight.source.xml +0 -82
- data/lib/stylesheets/params/highlight.xslthl.config.xml +0 -33
- data/lib/stylesheets/params/home.image.xml +0 -27
- data/lib/stylesheets/params/html.append.xml +0 -30
- data/lib/stylesheets/params/html.base.xml +0 -30
- data/lib/stylesheets/params/html.cellpadding.xml +0 -29
- data/lib/stylesheets/params/html.cellspacing.xml +0 -29
- data/lib/stylesheets/params/html.cleanup.xml +0 -34
- data/lib/stylesheets/params/html.ext.xml +0 -29
- data/lib/stylesheets/params/html.extra.head.links.xml +0 -31
- data/lib/stylesheets/params/html.head.legalnotice.link.multiple.xml +0 -44
- data/lib/stylesheets/params/html.head.legalnotice.link.types.xml +0 -75
- data/lib/stylesheets/params/html.longdesc.link.xml +0 -39
- data/lib/stylesheets/params/html.longdesc.xml +0 -28
- data/lib/stylesheets/params/html.stylesheet.type.xml +0 -26
- data/lib/stylesheets/params/html.stylesheet.xml +0 -36
- data/lib/stylesheets/params/htmlhelp.alias.file.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.autolabel.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.button.back.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.button.forward.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.button.hideshow.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.button.home.url.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.button.home.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.button.jump1.title.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.button.jump1.url.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.button.jump1.xml +0 -23
- data/lib/stylesheets/params/htmlhelp.button.jump2.title.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.button.jump2.url.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.button.jump2.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.button.locate.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.button.next.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.button.options.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.button.prev.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.button.print.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.button.refresh.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.button.stop.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.button.zoom.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.chm.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.default.topic.xml +0 -37
- data/lib/stylesheets/params/htmlhelp.display.progress.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.encoding.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.enhanced.decompilation.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.enumerate.images.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.force.map.and.alias.xml +0 -26
- data/lib/stylesheets/params/htmlhelp.hhc.binary.xml +0 -29
- data/lib/stylesheets/params/htmlhelp.hhc.folders.instead.books.xml +0 -31
- data/lib/stylesheets/params/htmlhelp.hhc.section.depth.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.hhc.show.root.xml +0 -29
- data/lib/stylesheets/params/htmlhelp.hhc.width.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.hhc.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.hhk.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.hhp.tail.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.hhp.window.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.hhp.windows.xml +0 -29
- data/lib/stylesheets/params/htmlhelp.hhp.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.map.file.xml +0 -25
- data/lib/stylesheets/params/htmlhelp.only.xml +0 -32
- data/lib/stylesheets/params/htmlhelp.remember.window.position.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.show.advanced.search.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.show.favorities.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.show.menu.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.show.toolbar.text.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.title.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.use.hhk.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.window.geometry.xml +0 -30
- data/lib/stylesheets/params/hyphenate.verbatim.characters.xml +0 -30
- data/lib/stylesheets/params/hyphenate.verbatim.xml +0 -45
- data/lib/stylesheets/params/hyphenate.xml +0 -29
- data/lib/stylesheets/params/id.warnings.xml +0 -25
- data/lib/stylesheets/params/ignore.image.scaling.xml +0 -28
- data/lib/stylesheets/params/img.src.path.xml +0 -40
- data/lib/stylesheets/params/index.div.title.properties.xml +0 -39
- data/lib/stylesheets/params/index.entry.properties.xml +0 -33
- data/lib/stylesheets/params/index.links.to.section.xml +0 -76
- data/lib/stylesheets/params/index.method.xml +0 -162
- data/lib/stylesheets/params/index.number.separator.xml +0 -54
- data/lib/stylesheets/params/index.on.role.xml +0 -48
- data/lib/stylesheets/params/index.on.type.xml +0 -52
- data/lib/stylesheets/params/index.page.number.properties.xml +0 -31
- data/lib/stylesheets/params/index.prefer.titleabbrev.xml +0 -29
- data/lib/stylesheets/params/index.preferred.page.properties.xml +0 -32
- data/lib/stylesheets/params/index.range.separator.xml +0 -57
- data/lib/stylesheets/params/index.term.separator.xml +0 -54
- data/lib/stylesheets/params/informal.object.properties.xml +0 -29
- data/lib/stylesheets/params/informalequation.properties.xml +0 -27
- data/lib/stylesheets/params/informalexample.properties.xml +0 -27
- data/lib/stylesheets/params/informalfigure.properties.xml +0 -27
- data/lib/stylesheets/params/informaltable.properties.xml +0 -32
- data/lib/stylesheets/params/inherit.keywords.xml +0 -31
- data/lib/stylesheets/params/insert.link.page.number.xml +0 -69
- data/lib/stylesheets/params/insert.olink.page.number.xml +0 -83
- data/lib/stylesheets/params/insert.olink.pdf.frag.xml +0 -68
- data/lib/stylesheets/params/insert.xref.page.number.xml +0 -60
- data/lib/stylesheets/params/itemizedlist.label.properties.xml +0 -26
- data/lib/stylesheets/params/itemizedlist.label.width.xml +0 -28
- data/lib/stylesheets/params/itemizedlist.properties.xml +0 -23
- data/lib/stylesheets/params/javahelp.encoding.xml +0 -31
- data/lib/stylesheets/params/keep.relative.image.uris.xml +0 -34
- data/lib/stylesheets/params/keyboard.nav.xml +0 -29
- data/lib/stylesheets/params/l10n.gentext.default.language.xml +0 -30
- data/lib/stylesheets/params/l10n.gentext.language.xml +0 -33
- data/lib/stylesheets/params/l10n.gentext.use.xref.language.xml +0 -53
- data/lib/stylesheets/params/l10n.lang.value.rfc.compliant.xml +0 -57
- data/lib/stylesheets/params/label.from.part.xml +0 -38
- data/lib/stylesheets/params/line-height.xml +0 -27
- data/lib/stylesheets/params/linenumbering.everyNth.xml +0 -29
- data/lib/stylesheets/params/linenumbering.extension.xml +0 -30
- data/lib/stylesheets/params/linenumbering.separator.xml +0 -30
- data/lib/stylesheets/params/linenumbering.width.xml +0 -29
- data/lib/stylesheets/params/link.mailto.url.xml +0 -29
- data/lib/stylesheets/params/list.block.properties.xml +0 -25
- data/lib/stylesheets/params/list.block.spacing.xml +0 -29
- data/lib/stylesheets/params/list.item.spacing.xml +0 -26
- data/lib/stylesheets/params/make.clean.html.xml +0 -51
- data/lib/stylesheets/params/make.graphic.viewport.xml +0 -35
- data/lib/stylesheets/params/make.index.markup.xml +0 -73
- data/lib/stylesheets/params/make.single.year.ranges.xml +0 -28
- data/lib/stylesheets/params/make.valid.html.xml +0 -35
- data/lib/stylesheets/params/make.year.ranges.xml +0 -32
- data/lib/stylesheets/params/man.authors.section.enabled.xml +0 -46
- data/lib/stylesheets/params/man.base.url.for.relative.links.xml +0 -76
- data/lib/stylesheets/params/man.break.after.slash.xml +0 -46
- data/lib/stylesheets/params/man.charmap.enabled.xml +0 -55
- data/lib/stylesheets/params/man.charmap.subset.profile.english.xml +0 -80
- data/lib/stylesheets/params/man.charmap.subset.profile.xml +0 -297
- data/lib/stylesheets/params/man.charmap.uri.xml +0 -42
- data/lib/stylesheets/params/man.charmap.use.subset.xml +0 -80
- data/lib/stylesheets/params/man.copyright.section.enabled.xml +0 -46
- data/lib/stylesheets/params/man.endnotes.are.numbered.xml +0 -106
- data/lib/stylesheets/params/man.endnotes.list.enabled.xml +0 -105
- data/lib/stylesheets/params/man.endnotes.list.heading.xml +0 -36
- data/lib/stylesheets/params/man.font.funcprototype.xml +0 -30
- data/lib/stylesheets/params/man.font.funcsynopsisinfo.xml +0 -30
- data/lib/stylesheets/params/man.font.links.xml +0 -64
- data/lib/stylesheets/params/man.font.table.headings.xml +0 -30
- data/lib/stylesheets/params/man.font.table.title.xml +0 -30
- data/lib/stylesheets/params/man.funcsynopsis.style.xml +0 -26
- data/lib/stylesheets/params/man.hyphenate.computer.inlines.xml +0 -53
- data/lib/stylesheets/params/man.hyphenate.filenames.xml +0 -47
- data/lib/stylesheets/params/man.hyphenate.urls.xml +0 -46
- data/lib/stylesheets/params/man.hyphenate.xml +0 -59
- data/lib/stylesheets/params/man.indent.blurbs.xml +0 -33
- data/lib/stylesheets/params/man.indent.lists.xml +0 -35
- data/lib/stylesheets/params/man.indent.refsect.xml +0 -70
- data/lib/stylesheets/params/man.indent.verbatims.xml +0 -33
- data/lib/stylesheets/params/man.indent.width.xml +0 -39
- data/lib/stylesheets/params/man.justify.xml +0 -52
- data/lib/stylesheets/params/man.output.base.dir.xml +0 -39
- data/lib/stylesheets/params/man.output.better.ps.enabled.xml +0 -61
- data/lib/stylesheets/params/man.output.encoding.xml +0 -53
- data/lib/stylesheets/params/man.output.in.separate.dir.xml +0 -32
- data/lib/stylesheets/params/man.output.lang.in.name.enabled.xml +0 -50
- data/lib/stylesheets/params/man.output.manifest.enabled.xml +0 -27
- data/lib/stylesheets/params/man.output.manifest.filename.xml +0 -29
- data/lib/stylesheets/params/man.output.quietly.xml +0 -37
- data/lib/stylesheets/params/man.output.subdirs.enabled.xml +0 -40
- data/lib/stylesheets/params/man.segtitle.suppress.xml +0 -28
- data/lib/stylesheets/params/man.string.subst.map.local.post.xml +0 -34
- data/lib/stylesheets/params/man.string.subst.map.local.pre.xml +0 -34
- data/lib/stylesheets/params/man.string.subst.map.xml +0 -162
- data/lib/stylesheets/params/man.subheading.divider.enabled.xml +0 -37
- data/lib/stylesheets/params/man.subheading.divider.xml +0 -37
- data/lib/stylesheets/params/man.table.footnotes.divider.xml +0 -29
- data/lib/stylesheets/params/man.th.extra1.suppress.xml +0 -32
- data/lib/stylesheets/params/man.th.extra2.max.length.xml +0 -43
- data/lib/stylesheets/params/man.th.extra2.suppress.xml +0 -44
- data/lib/stylesheets/params/man.th.extra3.max.length.xml +0 -42
- data/lib/stylesheets/params/man.th.extra3.suppress.xml +0 -34
- data/lib/stylesheets/params/man.th.title.max.length.xml +0 -63
- data/lib/stylesheets/params/manifest.in.base.dir.xml +0 -29
- data/lib/stylesheets/params/manifest.xml +0 -29
- data/lib/stylesheets/params/manual.toc.xml +0 -29
- data/lib/stylesheets/params/margin.note.float.type.xml +0 -77
- data/lib/stylesheets/params/margin.note.properties.xml +0 -54
- data/lib/stylesheets/params/margin.note.title.properties.xml +0 -32
- data/lib/stylesheets/params/margin.note.width.xml +0 -35
- data/lib/stylesheets/params/marker.section.level.xml +0 -50
- data/lib/stylesheets/params/menuchoice.menu.separator.xml +0 -42
- data/lib/stylesheets/params/menuchoice.separator.xml +0 -32
- data/lib/stylesheets/params/minus.image.xml +0 -29
- data/lib/stylesheets/params/monospace.font.family.xml +0 -29
- data/lib/stylesheets/params/monospace.properties.xml +0 -38
- data/lib/stylesheets/params/monospace.verbatim.font.width.xml +0 -40
- data/lib/stylesheets/params/monospace.verbatim.properties.xml +0 -27
- data/lib/stylesheets/params/multiframe.bottom.bgcolor.xml +0 -28
- data/lib/stylesheets/params/multiframe.navigation.height.xml +0 -28
- data/lib/stylesheets/params/multiframe.top.bgcolor.xml +0 -28
- data/lib/stylesheets/params/multiframe.xml +0 -31
- data/lib/stylesheets/params/nav.separator.xml +0 -28
- data/lib/stylesheets/params/nav.table.summary.xml +0 -27
- data/lib/stylesheets/params/navbgcolor.xml +0 -26
- data/lib/stylesheets/params/navbodywidth.xml +0 -26
- data/lib/stylesheets/params/navig.graphics.extension.xml +0 -28
- data/lib/stylesheets/params/navig.graphics.path.xml +0 -30
- data/lib/stylesheets/params/navig.graphics.xml +0 -31
- data/lib/stylesheets/params/navig.showtitles.xml +0 -32
- data/lib/stylesheets/params/navtocwidth.xml +0 -26
- data/lib/stylesheets/params/next.image.xml +0 -27
- data/lib/stylesheets/params/no.home.image.xml +0 -27
- data/lib/stylesheets/params/no.next.image.xml +0 -27
- data/lib/stylesheets/params/no.prev.image.xml +0 -27
- data/lib/stylesheets/params/no.toc.image.xml +0 -27
- data/lib/stylesheets/params/no.up.image.xml +0 -27
- data/lib/stylesheets/params/nominal.image.depth.xml +0 -27
- data/lib/stylesheets/params/nominal.image.width.xml +0 -43
- data/lib/stylesheets/params/nominal.table.width.xml +0 -30
- data/lib/stylesheets/params/nongraphical.admonition.properties.xml +0 -41
- data/lib/stylesheets/params/normal.para.spacing.xml +0 -26
- data/lib/stylesheets/params/olink.base.uri.xml +0 -35
- data/lib/stylesheets/params/olink.debug.xml +0 -36
- data/lib/stylesheets/params/olink.doctitle.xml +0 -146
- data/lib/stylesheets/params/olink.fragid.xml +0 -23
- data/lib/stylesheets/params/olink.lang.fallback.sequence.xml +0 -83
- data/lib/stylesheets/params/olink.outline.ext.xml +0 -28
- data/lib/stylesheets/params/olink.properties.xml +0 -33
- data/lib/stylesheets/params/olink.pubid.xml +0 -27
- data/lib/stylesheets/params/olink.resolver.xml +0 -23
- data/lib/stylesheets/params/olink.sysid.xml +0 -27
- data/lib/stylesheets/params/orderedlist.label.properties.xml +0 -26
- data/lib/stylesheets/params/orderedlist.label.width.xml +0 -28
- data/lib/stylesheets/params/orderedlist.properties.xml +0 -24
- data/lib/stylesheets/params/othercredit.like.author.enabled.xml +0 -31
- data/lib/stylesheets/params/output-root.xml +0 -28
- data/lib/stylesheets/params/output.indent.xml +0 -32
- data/lib/stylesheets/params/overlay.js.xml +0 -28
- data/lib/stylesheets/params/overlay.logo.xml +0 -28
- data/lib/stylesheets/params/overlay.xml +0 -32
- data/lib/stylesheets/params/page.height.portrait.xml +0 -69
- data/lib/stylesheets/params/page.height.xml +0 -37
- data/lib/stylesheets/params/page.margin.bottom.xml +0 -29
- data/lib/stylesheets/params/page.margin.inner.xml +0 -56
- data/lib/stylesheets/params/page.margin.outer.xml +0 -53
- data/lib/stylesheets/params/page.margin.top.xml +0 -28
- data/lib/stylesheets/params/page.orientation.xml +0 -32
- data/lib/stylesheets/params/page.width.portrait.xml +0 -67
- data/lib/stylesheets/params/page.width.xml +0 -36
- data/lib/stylesheets/params/pages.template.xml +0 -29
- data/lib/stylesheets/params/paper.type.xml +0 -73
- data/lib/stylesheets/params/para.propagates.style.xml +0 -29
- data/lib/stylesheets/params/part.autolabel.xml +0 -73
- data/lib/stylesheets/params/passivetex.extensions.xml +0 -37
- data/lib/stylesheets/params/pgwide.properties.xml +0 -52
- data/lib/stylesheets/params/phrase.propagates.style.xml +0 -29
- data/lib/stylesheets/params/pixels.per.inch.xml +0 -31
- data/lib/stylesheets/params/plus.image.xml +0 -29
- data/lib/stylesheets/params/points.per.em.xml +0 -29
- data/lib/stylesheets/params/preface.autolabel.xml +0 -71
- data/lib/stylesheets/params/prefer.internal.olink.xml +0 -78
- data/lib/stylesheets/params/preferred.mediaobject.role.xml +0 -40
- data/lib/stylesheets/params/prev.image.xml +0 -27
- data/lib/stylesheets/params/procedure.properties.xml +0 -29
- data/lib/stylesheets/params/process.empty.source.toc.xml +0 -39
- data/lib/stylesheets/params/process.source.toc.xml +0 -39
- data/lib/stylesheets/params/profile.arch.xml +0 -39
- data/lib/stylesheets/params/profile.attribute.xml +0 -34
- data/lib/stylesheets/params/profile.audience.xml +0 -38
- data/lib/stylesheets/params/profile.condition.xml +0 -38
- data/lib/stylesheets/params/profile.conformance.xml +0 -38
- data/lib/stylesheets/params/profile.lang.xml +0 -38
- data/lib/stylesheets/params/profile.os.xml +0 -38
- data/lib/stylesheets/params/profile.revision.xml +0 -38
- data/lib/stylesheets/params/profile.revisionflag.xml +0 -38
- data/lib/stylesheets/params/profile.role.xml +0 -54
- data/lib/stylesheets/params/profile.security.xml +0 -38
- data/lib/stylesheets/params/profile.separator.xml +0 -27
- data/lib/stylesheets/params/profile.status.xml +0 -38
- data/lib/stylesheets/params/profile.userlevel.xml +0 -38
- data/lib/stylesheets/params/profile.value.xml +0 -41
- data/lib/stylesheets/params/profile.vendor.xml +0 -38
- data/lib/stylesheets/params/profile.wordsize.xml +0 -38
- data/lib/stylesheets/params/punct.honorific.xml +0 -28
- data/lib/stylesheets/params/qanda.defaultlabel.xml +0 -86
- data/lib/stylesheets/params/qanda.in.toc.xml +0 -34
- data/lib/stylesheets/params/qanda.inherit.numeration.xml +0 -30
- data/lib/stylesheets/params/qanda.nested.in.toc.xml +0 -29
- data/lib/stylesheets/params/qanda.title.level1.properties.xml +0 -32
- data/lib/stylesheets/params/qanda.title.level2.properties.xml +0 -32
- data/lib/stylesheets/params/qanda.title.level3.properties.xml +0 -32
- data/lib/stylesheets/params/qanda.title.level4.properties.xml +0 -32
- data/lib/stylesheets/params/qanda.title.level5.properties.xml +0 -32
- data/lib/stylesheets/params/qanda.title.level6.properties.xml +0 -34
- data/lib/stylesheets/params/qanda.title.properties.xml +0 -37
- data/lib/stylesheets/params/qandadiv.autolabel.xml +0 -26
- data/lib/stylesheets/params/rebuild-all.xml +0 -33
- data/lib/stylesheets/params/refclass.suppress.xml +0 -28
- data/lib/stylesheets/params/refentry.date.profile.enabled.xml +0 -46
- data/lib/stylesheets/params/refentry.date.profile.xml +0 -38
- data/lib/stylesheets/params/refentry.generate.name.xml +0 -33
- data/lib/stylesheets/params/refentry.generate.title.xml +0 -33
- data/lib/stylesheets/params/refentry.manual.fallback.profile.xml +0 -48
- data/lib/stylesheets/params/refentry.manual.profile.enabled.xml +0 -47
- data/lib/stylesheets/params/refentry.manual.profile.xml +0 -72
- data/lib/stylesheets/params/refentry.meta.get.quietly.xml +0 -37
- data/lib/stylesheets/params/refentry.pagebreak.xml +0 -33
- data/lib/stylesheets/params/refentry.separator.xml +0 -29
- data/lib/stylesheets/params/refentry.source.fallback.profile.xml +0 -49
- data/lib/stylesheets/params/refentry.source.name.profile.enabled.xml +0 -48
- data/lib/stylesheets/params/refentry.source.name.profile.xml +0 -89
- data/lib/stylesheets/params/refentry.source.name.suppress.xml +0 -42
- data/lib/stylesheets/params/refentry.title.properties.xml +0 -59
- data/lib/stylesheets/params/refentry.version.profile.enabled.xml +0 -47
- data/lib/stylesheets/params/refentry.version.profile.xml +0 -41
- data/lib/stylesheets/params/refentry.version.suppress.xml +0 -43
- data/lib/stylesheets/params/refentry.xref.manvolnum.xml +0 -31
- data/lib/stylesheets/params/reference.autolabel.xml +0 -67
- data/lib/stylesheets/params/region.after.extent.xml +0 -29
- data/lib/stylesheets/params/region.before.extent.xml +0 -29
- data/lib/stylesheets/params/revhistory.table.cell.properties.xml +0 -28
- data/lib/stylesheets/params/revhistory.table.properties.xml +0 -28
- data/lib/stylesheets/params/revhistory.title.properties.xml +0 -28
- data/lib/stylesheets/params/root.filename.xml +0 -29
- data/lib/stylesheets/params/root.properties.xml +0 -46
- data/lib/stylesheets/params/rootid.xml +0 -33
- data/lib/stylesheets/params/runinhead.default.title.end.punct.xml +0 -27
- data/lib/stylesheets/params/runinhead.title.end.punct.xml +0 -32
- data/lib/stylesheets/params/running.foot.properties.xml +0 -34
- data/lib/stylesheets/params/sans.font.family.xml +0 -29
- data/lib/stylesheets/params/saxon.callouts.xml +0 -30
- data/lib/stylesheets/params/saxon.character.representation.xml +0 -38
- data/lib/stylesheets/params/saxon.linenumbering.xml +0 -32
- data/lib/stylesheets/params/saxon.tablecolumns.xml +0 -30
- data/lib/stylesheets/params/script.dir.xml +0 -33
- data/lib/stylesheets/params/section.autolabel.max.depth.xml +0 -32
- data/lib/stylesheets/params/section.autolabel.xml +0 -26
- data/lib/stylesheets/params/section.container.element.xml +0 -62
- data/lib/stylesheets/params/section.label.includes.component.label.xml +0 -27
- data/lib/stylesheets/params/section.level1.properties.xml +0 -43
- data/lib/stylesheets/params/section.level2.properties.xml +0 -43
- data/lib/stylesheets/params/section.level3.properties.xml +0 -43
- data/lib/stylesheets/params/section.level4.properties.xml +0 -43
- data/lib/stylesheets/params/section.level5.properties.xml +0 -43
- data/lib/stylesheets/params/section.level6.properties.xml +0 -43
- data/lib/stylesheets/params/section.properties.xml +0 -35
- data/lib/stylesheets/params/section.title.level1.properties.xml +0 -32
- data/lib/stylesheets/params/section.title.level2.properties.xml +0 -33
- data/lib/stylesheets/params/section.title.level3.properties.xml +0 -32
- data/lib/stylesheets/params/section.title.level4.properties.xml +0 -32
- data/lib/stylesheets/params/section.title.level5.properties.xml +0 -32
- data/lib/stylesheets/params/section.title.level6.properties.xml +0 -33
- data/lib/stylesheets/params/section.title.properties.xml +0 -39
- data/lib/stylesheets/params/segmentedlist.as.table.xml +0 -28
- data/lib/stylesheets/params/sequential.links.xml +0 -25
- data/lib/stylesheets/params/shade.verbatim.style.xml +0 -36
- data/lib/stylesheets/params/shade.verbatim.xml +0 -30
- data/lib/stylesheets/params/show.comments.xml +0 -32
- data/lib/stylesheets/params/show.foil.number.xml +0 -28
- data/lib/stylesheets/params/show.revisionflag.xml +0 -42
- data/lib/stylesheets/params/showtoc.image.xml +0 -29
- data/lib/stylesheets/params/side.float.properties.xml +0 -50
- data/lib/stylesheets/params/sidebar.float.type.xml +0 -90
- data/lib/stylesheets/params/sidebar.float.width.xml +0 -35
- data/lib/stylesheets/params/sidebar.properties.xml +0 -42
- data/lib/stylesheets/params/sidebar.title.properties.xml +0 -32
- data/lib/stylesheets/params/simplesect.in.toc.xml +0 -26
- data/lib/stylesheets/params/slide.font.family.xml +0 -31
- data/lib/stylesheets/params/slide.title.font.family.xml +0 -31
- data/lib/stylesheets/params/slides.js.xml +0 -28
- data/lib/stylesheets/params/slides.properties.xml +0 -31
- data/lib/stylesheets/params/spacing.paras.xml +0 -30
- data/lib/stylesheets/params/speakernote.properties.xml +0 -32
- data/lib/stylesheets/params/subscript.properties.xml +0 -29
- data/lib/stylesheets/params/superscript.properties.xml +0 -29
- data/lib/stylesheets/params/suppress.footer.navigation.xml +0 -26
- data/lib/stylesheets/params/suppress.header.navigation.xml +0 -27
- data/lib/stylesheets/params/suppress.homepage.title.xml +0 -25
- data/lib/stylesheets/params/suppress.navigation.xml +0 -28
- data/lib/stylesheets/params/symbol.font.family.xml +0 -45
- data/lib/stylesheets/params/table.borders.with.css.xml +0 -28
- data/lib/stylesheets/params/table.cell.border.color.xml +0 -39
- data/lib/stylesheets/params/table.cell.border.style.xml +0 -42
- data/lib/stylesheets/params/table.cell.border.thickness.xml +0 -35
- data/lib/stylesheets/params/table.cell.padding.xml +0 -32
- data/lib/stylesheets/params/table.entry.padding.xml +0 -27
- data/lib/stylesheets/params/table.footnote.number.format.xml +0 -33
- data/lib/stylesheets/params/table.footnote.number.symbols.xml +0 -39
- data/lib/stylesheets/params/table.footnote.properties.xml +0 -39
- data/lib/stylesheets/params/table.frame.border.color.xml +0 -28
- data/lib/stylesheets/params/table.frame.border.style.xml +0 -37
- data/lib/stylesheets/params/table.frame.border.thickness.xml +0 -27
- data/lib/stylesheets/params/table.properties.xml +0 -34
- data/lib/stylesheets/params/table.spacer.image.xml +0 -26
- data/lib/stylesheets/params/table.table.properties.xml +0 -36
- data/lib/stylesheets/params/tablecolumns.extension.xml +0 -30
- data/lib/stylesheets/params/target.database.document.xml +0 -37
- data/lib/stylesheets/params/targets.filename.xml +0 -32
- data/lib/stylesheets/params/template.xml +0 -27
- data/lib/stylesheets/params/tex.math.delims.xml +0 -47
- data/lib/stylesheets/params/tex.math.file.xml +0 -42
- data/lib/stylesheets/params/tex.math.in.alt.xml +0 -76
- data/lib/stylesheets/params/text.home.xml +0 -27
- data/lib/stylesheets/params/text.next.xml +0 -27
- data/lib/stylesheets/params/text.prev.xml +0 -27
- data/lib/stylesheets/params/text.toc.xml +0 -27
- data/lib/stylesheets/params/text.up.xml +0 -27
- data/lib/stylesheets/params/textbgcolor.xml +0 -26
- data/lib/stylesheets/params/textdata.default.encoding.xml +0 -32
- data/lib/stylesheets/params/textinsert.extension.xml +0 -62
- data/lib/stylesheets/params/title.font.family.xml +0 -33
- data/lib/stylesheets/params/title.margin.left.xml +0 -65
- data/lib/stylesheets/params/titlefoil.html.xml +0 -27
- data/lib/stylesheets/params/toc.bg.color.xml +0 -27
- data/lib/stylesheets/params/toc.blank.graphic.xml +0 -28
- data/lib/stylesheets/params/toc.blank.image.xml +0 -27
- data/lib/stylesheets/params/toc.blank.text.xml +0 -27
- data/lib/stylesheets/params/toc.hide.show.xml +0 -33
- data/lib/stylesheets/params/toc.html.xml +0 -27
- data/lib/stylesheets/params/toc.image.xml +0 -27
- data/lib/stylesheets/params/toc.indent.width.xml +0 -34
- data/lib/stylesheets/params/toc.line.properties.xml +0 -44
- data/lib/stylesheets/params/toc.list.type.xml +0 -30
- data/lib/stylesheets/params/toc.margin.properties.xml +0 -33
- data/lib/stylesheets/params/toc.max.depth.xml +0 -25
- data/lib/stylesheets/params/toc.pointer.graphic.xml +0 -28
- data/lib/stylesheets/params/toc.pointer.image.xml +0 -27
- data/lib/stylesheets/params/toc.pointer.text.xml +0 -27
- data/lib/stylesheets/params/toc.row.height.xml +0 -33
- data/lib/stylesheets/params/toc.section.depth.xml +0 -28
- data/lib/stylesheets/params/toc.spacer.graphic.xml +0 -28
- data/lib/stylesheets/params/toc.spacer.image.xml +0 -27
- data/lib/stylesheets/params/toc.spacer.text.xml +0 -27
- data/lib/stylesheets/params/toc.width.xml +0 -28
- data/lib/stylesheets/params/ua.js.xml +0 -28
- data/lib/stylesheets/params/ulink.footnotes.xml +0 -34
- data/lib/stylesheets/params/ulink.hyphenate.chars.xml +0 -37
- data/lib/stylesheets/params/ulink.hyphenate.xml +0 -35
- data/lib/stylesheets/params/ulink.show.xml +0 -37
- data/lib/stylesheets/params/ulink.target.xml +0 -29
- data/lib/stylesheets/params/up.image.xml +0 -27
- data/lib/stylesheets/params/use.embed.for.svg.xml +0 -33
- data/lib/stylesheets/params/use.extensions.xml +0 -31
- data/lib/stylesheets/params/use.id.as.filename.xml +0 -30
- data/lib/stylesheets/params/use.id.function.xml +0 -32
- data/lib/stylesheets/params/use.local.olink.style.xml +0 -28
- data/lib/stylesheets/params/use.role.as.xrefstyle.xml +0 -93
- data/lib/stylesheets/params/use.role.for.mediaobject.xml +0 -56
- data/lib/stylesheets/params/use.svg.xml +0 -30
- data/lib/stylesheets/params/variablelist.as.blocks.xml +0 -62
- data/lib/stylesheets/params/variablelist.as.table.xml +0 -54
- data/lib/stylesheets/params/variablelist.max.termlength.xml +0 -46
- data/lib/stylesheets/params/variablelist.term.break.after.xml +0 -39
- data/lib/stylesheets/params/variablelist.term.properties.xml +0 -29
- data/lib/stylesheets/params/variablelist.term.separator.xml +0 -40
- data/lib/stylesheets/params/verbatim.properties.xml +0 -38
- data/lib/stylesheets/params/wordml.template.xml +0 -29
- data/lib/stylesheets/params/writing.mode.xml +0 -83
- data/lib/stylesheets/params/xbCollapsibleLists.js.xml +0 -28
- data/lib/stylesheets/params/xbDOM.js.xml +0 -28
- data/lib/stylesheets/params/xbLibrary.js.xml +0 -28
- data/lib/stylesheets/params/xbStyle.js.xml +0 -28
- data/lib/stylesheets/params/xep.extensions.xml +0 -31
- data/lib/stylesheets/params/xep.index.item.properties.xml +0 -36
- data/lib/stylesheets/params/xref.label-page.separator.xml +0 -38
- data/lib/stylesheets/params/xref.label-title.separator.xml +0 -36
- data/lib/stylesheets/params/xref.properties.xml +0 -29
- data/lib/stylesheets/params/xref.title-page.separator.xml +0 -36
- data/lib/stylesheets/params/xref.with.number.and.title.xml +0 -30
- data/lib/stylesheets/profiling/profile-mode.xsl +0 -239
- data/lib/stylesheets/profiling/profile.xsl +0 -58
- data/lib/stylesheets/profiling/strip-attributes.xsl +0 -27
- data/lib/stylesheets/profiling/xsl2profile.xsl +0 -159
- data/lib/stylesheets/roundtrip/blocks-spec.xml +0 -11
- data/lib/stylesheets/roundtrip/blocks2dbk.dtd +0 -76
- data/lib/stylesheets/roundtrip/blocks2dbk.xsl +0 -1734
- data/lib/stylesheets/roundtrip/dbk2ooo.xsl +0 -178
- data/lib/stylesheets/roundtrip/dbk2pages.xsl +0 -442
- data/lib/stylesheets/roundtrip/dbk2wordml.xsl +0 -402
- data/lib/stylesheets/roundtrip/dbk2wp.xsl +0 -1376
- data/lib/stylesheets/roundtrip/normalise-common.xsl +0 -39
- data/lib/stylesheets/roundtrip/normalise2sections.xsl +0 -1270
- data/lib/stylesheets/roundtrip/pages2normalise.xsl +0 -352
- data/lib/stylesheets/roundtrip/param.xml +0 -105
- data/lib/stylesheets/roundtrip/param.xsl +0 -20
- data/lib/stylesheets/roundtrip/sections-spec.xml +0 -38
- data/lib/stylesheets/roundtrip/sections2blocks.xsl +0 -263
- data/lib/stylesheets/roundtrip/specifications.xml +0 -1420
- data/lib/stylesheets/roundtrip/template-pages.xml +0 -2
- data/lib/stylesheets/roundtrip/template.dot +0 -0
- data/lib/stylesheets/roundtrip/template.xml +0 -3
- data/lib/stylesheets/roundtrip/wordml2normalise.xsl +0 -446
- data/lib/stylesheets/slides/browser/CTOCWidget.js +0 -169
- data/lib/stylesheets/slides/browser/overlay.js +0 -142
- data/lib/stylesheets/slides/browser/slides-default.css +0 -9
- data/lib/stylesheets/slides/browser/slides-frames.css +0 -73
- data/lib/stylesheets/slides/browser/slides-plain.css +0 -1
- data/lib/stylesheets/slides/browser/slides-table.css +0 -41
- data/lib/stylesheets/slides/browser/slides-w3c.css +0 -1
- data/lib/stylesheets/slides/browser/slides.css +0 -119
- data/lib/stylesheets/slides/browser/slides.js +0 -120
- data/lib/stylesheets/slides/browser/ua.js +0 -135
- data/lib/stylesheets/slides/browser/xbCollapsibleLists.js +0 -537
- data/lib/stylesheets/slides/browser/xbDOM.js +0 -374
- data/lib/stylesheets/slides/browser/xbDebug.js +0 -311
- data/lib/stylesheets/slides/browser/xbLibrary.js +0 -80
- data/lib/stylesheets/slides/browser/xbStyle-css.js +0 -791
- data/lib/stylesheets/slides/browser/xbStyle-nn4.js +0 -485
- data/lib/stylesheets/slides/browser/xbStyle-not-supported.js +0 -77
- data/lib/stylesheets/slides/browser/xbStyle.js +0 -295
- data/lib/stylesheets/slides/fo/param.xml +0 -356
- data/lib/stylesheets/slides/fo/param.xsl +0 -74
- data/lib/stylesheets/slides/fo/plain-titlepage.xml +0 -79
- data/lib/stylesheets/slides/fo/plain-titlepage.xsl +0 -187
- data/lib/stylesheets/slides/fo/plain.xsl +0 -528
- data/lib/stylesheets/slides/graphics/active/arr-next.png +0 -0
- data/lib/stylesheets/slides/graphics/active/arr-prev.png +0 -0
- data/lib/stylesheets/slides/graphics/active/but-fforward.png +0 -0
- data/lib/stylesheets/slides/graphics/active/but-info.png +0 -0
- data/lib/stylesheets/slides/graphics/active/but-next.png +0 -0
- data/lib/stylesheets/slides/graphics/active/but-prev.png +0 -0
- data/lib/stylesheets/slides/graphics/active/but-rewind.png +0 -0
- data/lib/stylesheets/slides/graphics/active/nav-home.png +0 -0
- data/lib/stylesheets/slides/graphics/active/nav-next.png +0 -0
- data/lib/stylesheets/slides/graphics/active/nav-prev.png +0 -0
- data/lib/stylesheets/slides/graphics/active/nav-toc.png +0 -0
- data/lib/stylesheets/slides/graphics/active/nav-up.png +0 -0
- data/lib/stylesheets/slides/graphics/active/w3c-next.png +0 -0
- data/lib/stylesheets/slides/graphics/active/w3c-prev.png +0 -0
- data/lib/stylesheets/slides/graphics/active/w3c-toc.png +0 -0
- data/lib/stylesheets/slides/graphics/arrow.gif +0 -0
- data/lib/stylesheets/slides/graphics/blank.gif +0 -0
- data/lib/stylesheets/slides/graphics/blank.png +0 -0
- data/lib/stylesheets/slides/graphics/hidetoc.gif +0 -0
- data/lib/stylesheets/slides/graphics/inactive/but-fforward.png +0 -0
- data/lib/stylesheets/slides/graphics/inactive/but-info.png +0 -0
- data/lib/stylesheets/slides/graphics/inactive/but-next.png +0 -0
- data/lib/stylesheets/slides/graphics/inactive/but-prev.png +0 -0
- data/lib/stylesheets/slides/graphics/inactive/but-rewind.png +0 -0
- data/lib/stylesheets/slides/graphics/inactive/nav-home.png +0 -0
- data/lib/stylesheets/slides/graphics/inactive/nav-next.png +0 -0
- data/lib/stylesheets/slides/graphics/inactive/nav-prev.png +0 -0
- data/lib/stylesheets/slides/graphics/inactive/nav-toc.png +0 -0
- data/lib/stylesheets/slides/graphics/inactive/nav-up.png +0 -0
- data/lib/stylesheets/slides/graphics/inactive/w3c-next.png +0 -0
- data/lib/stylesheets/slides/graphics/inactive/w3c-prev.png +0 -0
- data/lib/stylesheets/slides/graphics/inactive/w3c-toc.png +0 -0
- data/lib/stylesheets/slides/graphics/plus.gif +0 -0
- data/lib/stylesheets/slides/graphics/pointer.png +0 -0
- data/lib/stylesheets/slides/graphics/showtoc.gif +0 -0
- data/lib/stylesheets/slides/graphics/toc/bullet.png +0 -0
- data/lib/stylesheets/slides/graphics/toc/closed.png +0 -0
- data/lib/stylesheets/slides/graphics/toc/open.png +0 -0
- data/lib/stylesheets/slides/html/css.xsl +0 -46
- data/lib/stylesheets/slides/html/default.xsl +0 -261
- data/lib/stylesheets/slides/html/flat.xsl +0 -70
- data/lib/stylesheets/slides/html/frames.xsl +0 -2016
- data/lib/stylesheets/slides/html/graphics.xsl +0 -151
- data/lib/stylesheets/slides/html/jscript.xsl +0 -127
- data/lib/stylesheets/slides/html/param.xml +0 -1376
- data/lib/stylesheets/slides/html/param.xsl +0 -68
- data/lib/stylesheets/slides/html/plain.xsl +0 -472
- data/lib/stylesheets/slides/html/slides-common.xsl +0 -1541
- data/lib/stylesheets/slides/html/tables.xsl +0 -336
- data/lib/stylesheets/slides/html/vslides.xsl +0 -667
- data/lib/stylesheets/slides/html/w3c.xsl +0 -376
- data/lib/stylesheets/slides/htmlhelp/htmlhelp.xsl +0 -89
- data/lib/stylesheets/slides/keynote/default.xsl +0 -600
- data/lib/stylesheets/slides/keynote/xsltsl/cmp.xsl +0 -348
- data/lib/stylesheets/slides/keynote/xsltsl/date-time.xsl +0 -1524
- data/lib/stylesheets/slides/keynote/xsltsl/example.xsl +0 -90
- data/lib/stylesheets/slides/keynote/xsltsl/markup.xsl +0 -789
- data/lib/stylesheets/slides/keynote/xsltsl/math.xsl +0 -704
- data/lib/stylesheets/slides/keynote/xsltsl/node.xsl +0 -229
- data/lib/stylesheets/slides/keynote/xsltsl/stdlib.xsl +0 -340
- data/lib/stylesheets/slides/keynote/xsltsl/string.xsl +0 -1233
- data/lib/stylesheets/slides/keynote/xsltsl/svg.xsl +0 -177
- data/lib/stylesheets/slides/keynote/xsltsl/uri.xsl +0 -580
- data/lib/stylesheets/slides/svg/default.xsl +0 -686
- data/lib/stylesheets/slides/xhtml/css.xsl +0 -47
- data/lib/stylesheets/slides/xhtml/default.xsl +0 -246
- data/lib/stylesheets/slides/xhtml/flat.xsl +0 -71
- data/lib/stylesheets/slides/xhtml/frames.xsl +0 -1982
- data/lib/stylesheets/slides/xhtml/graphics.xsl +0 -152
- data/lib/stylesheets/slides/xhtml/jscript.xsl +0 -128
- data/lib/stylesheets/slides/xhtml/param.xsl +0 -70
- data/lib/stylesheets/slides/xhtml/plain.xsl +0 -470
- data/lib/stylesheets/slides/xhtml/slides-common.xsl +0 -1534
- data/lib/stylesheets/slides/xhtml/tables.xsl +0 -334
- data/lib/stylesheets/slides/xhtml/vslides.xsl +0 -652
- data/lib/stylesheets/slides/xhtml/w3c.xsl +0 -358
- data/lib/stylesheets/template/titlepage.xml +0 -478
- data/lib/stylesheets/template/titlepage.xsl +0 -1355
- data/lib/stylesheets/tests/refentry.007.ns.xml +0 -325
- data/lib/stylesheets/tests/refentry.007.xml +0 -340
- data/lib/stylesheets/tools/bin/docbook-xsl-update +0 -53
- data/lib/stylesheets/tools/make/Makefile.DocBook +0 -698
- data/lib/stylesheets/tools/make/Makefile.combine +0 -182
- data/lib/stylesheets/tools/make/Makefile.docParam +0 -59
- data/lib/stylesheets/webhelp/LICENSE +0 -1
- data/lib/stylesheets/webhelp/build.properties +0 -43
- data/lib/stylesheets/webhelp/build.xml +0 -112
- data/lib/stylesheets/webhelp/docs/common/css/positioning.css +0 -109
- data/lib/stylesheets/webhelp/docs/common/images/header-bg.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/images/highlight-blue.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/images/highlight-yellow.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/images/loading.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/images/logo.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/images/showHideTreeIcons.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/jquery-1.4.2.min.js +0 -154
- data/lib/stylesheets/webhelp/docs/common/jquery/jquery-ui-1.8.2.custom.min.js +0 -321
- data/lib/stylesheets/webhelp/docs/common/jquery/jquery.cookie.js +0 -93
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-anim_basic_16x16.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_217bc0_256x240.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_2e83ff_256x240.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_469bdd_256x240.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_6da8d5_256x240.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_f9bd01_256x240.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css +0 -398
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/file.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/folder-closed.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/folder-closed2.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/folder.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/folder2.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/minus.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/plus.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-black-line.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-black.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-default-line.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-default.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-famfamfam-line.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-famfamfam.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-gray-line.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-gray.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-red-line.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-red.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/jquery.treeview.async.js +0 -72
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/jquery.treeview.css +0 -85
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/jquery.treeview.js +0 -255
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/jquery.treeview.min.js +0 -16
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/jquery.treeview.pack.js +0 -16
- data/lib/stylesheets/webhelp/docs/common/main.js +0 -161
- data/lib/stylesheets/webhelp/docs/content/ch01.html +0 -61
- data/lib/stylesheets/webhelp/docs/content/ch02.html +0 -32
- data/lib/stylesheets/webhelp/docs/content/ch02s01.html +0 -117
- data/lib/stylesheets/webhelp/docs/content/ch02s02.html +0 -102
- data/lib/stylesheets/webhelp/docs/content/ch02s03.html +0 -36
- data/lib/stylesheets/webhelp/docs/content/ch02s04.html +0 -42
- data/lib/stylesheets/webhelp/docs/content/ch03.html +0 -37
- data/lib/stylesheets/webhelp/docs/content/ch03s01.html +0 -62
- data/lib/stylesheets/webhelp/docs/content/ch03s02.html +0 -124
- data/lib/stylesheets/webhelp/docs/content/index.html +0 -71
- data/lib/stylesheets/webhelp/docs/content/search/htmlFileInfoList.js +0 -10
- data/lib/stylesheets/webhelp/docs/content/search/htmlFileList.js +0 -11
- data/lib/stylesheets/webhelp/docs/content/search/index-1.js +0 -224
- data/lib/stylesheets/webhelp/docs/content/search/index-2.js +0 -223
- data/lib/stylesheets/webhelp/docs/content/search/index-3.js +0 -221
- data/lib/stylesheets/webhelp/docs/content/search/nwSearchFnt.js +0 -513
- data/lib/stylesheets/webhelp/docs/content/search/stemmers/en_stemmer.js +0 -187
- data/lib/stylesheets/webhelp/docs/favicon.ico +0 -0
- data/lib/stylesheets/webhelp/docs/index.html +0 -13
- data/lib/stylesheets/webhelp/docsrc/readme.xml +0 -891
- data/lib/stylesheets/webhelp/template/common/css/positioning.css +0 -109
- data/lib/stylesheets/webhelp/template/common/images/header-bg.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/images/highlight-blue.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/images/highlight-yellow.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/images/loading.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/images/logo.png +0 -0
- data/lib/stylesheets/webhelp/template/common/images/showHideTreeIcons.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/jquery-1.4.2.min.js +0 -154
- data/lib/stylesheets/webhelp/template/common/jquery/jquery-ui-1.8.2.custom.min.js +0 -321
- data/lib/stylesheets/webhelp/template/common/jquery/jquery.cookie.js +0 -93
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-anim_basic_16x16.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-icons_217bc0_256x240.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-icons_2e83ff_256x240.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-icons_469bdd_256x240.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-icons_6da8d5_256x240.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-icons_f9bd01_256x240.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css +0 -398
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/file.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/folder-closed.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/folder-closed2.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/folder.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/folder2.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/minus.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/plus.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-black-line.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-black.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-default-line.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-default.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-famfamfam-line.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-famfamfam.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-gray-line.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-gray.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-red-line.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-red.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/jquery.treeview.async.js +0 -72
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/jquery.treeview.css +0 -85
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/jquery.treeview.js +0 -255
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/jquery.treeview.min.js +0 -16
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/jquery.treeview.pack.js +0 -16
- data/lib/stylesheets/webhelp/template/common/main.js +0 -161
- data/lib/stylesheets/webhelp/template/content/search/default.props +0 -1
- data/lib/stylesheets/webhelp/template/content/search/en-us.props +0 -45
- data/lib/stylesheets/webhelp/template/content/search/es-es.props +0 -179
- data/lib/stylesheets/webhelp/template/content/search/ja-jp.props +0 -1
- data/lib/stylesheets/webhelp/template/content/search/nwSearchFnt.js +0 -513
- data/lib/stylesheets/webhelp/template/content/search/punctuation.props +0 -31
- data/lib/stylesheets/webhelp/template/content/search/stemmers/de_stemmer.js +0 -247
- data/lib/stylesheets/webhelp/template/content/search/stemmers/en_stemmer.js +0 -187
- data/lib/stylesheets/webhelp/template/content/search/stemmers/fr_stemmer.js +0 -299
- data/lib/stylesheets/webhelp/template/favicon.ico +0 -0
- data/lib/stylesheets/webhelp/xsl/webhelp.xsl +0 -772
- data/lib/stylesheets/website/autolayout.xsl +0 -258
- data/lib/stylesheets/website/chunk-common.xsl +0 -227
- data/lib/stylesheets/website/chunk-tabular.xsl +0 -12
- data/lib/stylesheets/website/chunk-website.xsl +0 -12
- data/lib/stylesheets/website/head.xsl +0 -316
- data/lib/stylesheets/website/makefile-dep.xsl +0 -143
- data/lib/stylesheets/website/olink.xsl +0 -297
- data/lib/stylesheets/website/param.xml +0 -788
- data/lib/stylesheets/website/param.xsl +0 -53
- data/lib/stylesheets/website/rss.xsl +0 -143
- data/lib/stylesheets/website/tabular.xsl +0 -213
- data/lib/stylesheets/website/toc-tabular.xsl +0 -480
- data/lib/stylesheets/website/toc.xsl +0 -286
- data/lib/stylesheets/website/website-common.xsl +0 -821
- data/lib/stylesheets/website/website-targets.xsl +0 -27
- data/lib/stylesheets/website/website.xsl +0 -132
- data/lib/stylesheets/website/xbel.xsl +0 -114
- data/lib/stylesheets/xhtml-1_1/admon.xsl +0 -135
- data/lib/stylesheets/xhtml-1_1/annotations.xsl +0 -160
- data/lib/stylesheets/xhtml-1_1/autoidx-kimber.xsl +0 -140
- data/lib/stylesheets/xhtml-1_1/autoidx-kosek.xsl +0 -110
- data/lib/stylesheets/xhtml-1_1/autoidx-ng.xsl +0 -23
- data/lib/stylesheets/xhtml-1_1/autoidx.xsl +0 -682
- data/lib/stylesheets/xhtml-1_1/autotoc.xsl +0 -665
- data/lib/stylesheets/xhtml-1_1/biblio-iso690.xsl +0 -1302
- data/lib/stylesheets/xhtml-1_1/biblio.xsl +0 -1242
- data/lib/stylesheets/xhtml-1_1/block.xsl +0 -537
- data/lib/stylesheets/xhtml-1_1/callout.xsl +0 -189
- data/lib/stylesheets/xhtml-1_1/changebars.xsl +0 -80
- data/lib/stylesheets/xhtml-1_1/chunk-changebars.xsl +0 -97
- data/lib/stylesheets/xhtml-1_1/chunk-code.xsl +0 -644
- data/lib/stylesheets/xhtml-1_1/chunk-common.xsl +0 -1562
- data/lib/stylesheets/xhtml-1_1/chunk.xsl +0 -53
- data/lib/stylesheets/xhtml-1_1/chunker.xsl +0 -303
- data/lib/stylesheets/xhtml-1_1/chunkfast.xsl +0 -70
- data/lib/stylesheets/xhtml-1_1/chunktoc.xsl +0 -527
- data/lib/stylesheets/xhtml-1_1/component.xsl +0 -397
- data/lib/stylesheets/xhtml-1_1/division.xsl +0 -219
- data/lib/stylesheets/xhtml-1_1/docbook.css.xml +0 -109
- data/lib/stylesheets/xhtml-1_1/docbook.xsl +0 -435
- data/lib/stylesheets/xhtml-1_1/ebnf.xsl +0 -329
- data/lib/stylesheets/xhtml-1_1/footnote.xsl +0 -306
- data/lib/stylesheets/xhtml-1_1/formal.xsl +0 -413
- data/lib/stylesheets/xhtml-1_1/glossary.xsl +0 -565
- data/lib/stylesheets/xhtml-1_1/graphics.xsl +0 -1437
- data/lib/stylesheets/xhtml-1_1/highlight.xsl +0 -89
- data/lib/stylesheets/xhtml-1_1/html-rtf.xsl +0 -321
- data/lib/stylesheets/xhtml-1_1/html.xsl +0 -600
- data/lib/stylesheets/xhtml-1_1/htmltbl.xsl +0 -104
- data/lib/stylesheets/xhtml-1_1/index.xsl +0 -266
- data/lib/stylesheets/xhtml-1_1/info.xsl +0 -46
- data/lib/stylesheets/xhtml-1_1/inline.xsl +0 -1452
- data/lib/stylesheets/xhtml-1_1/keywords.xsl +0 -38
- data/lib/stylesheets/xhtml-1_1/lists.xsl +0 -1090
- data/lib/stylesheets/xhtml-1_1/maketoc.xsl +0 -92
- data/lib/stylesheets/xhtml-1_1/manifest.xsl +0 -23
- data/lib/stylesheets/xhtml-1_1/math.xsl +0 -285
- data/lib/stylesheets/xhtml-1_1/oldchunker.xsl +0 -177
- data/lib/stylesheets/xhtml-1_1/onechunk.xsl +0 -37
- data/lib/stylesheets/xhtml-1_1/param.xsl +0 -438
- data/lib/stylesheets/xhtml-1_1/pi.xsl +0 -1204
- data/lib/stylesheets/xhtml-1_1/profile-chunk-code.xsl +0 -616
- data/lib/stylesheets/xhtml-1_1/profile-chunk.xsl +0 -53
- data/lib/stylesheets/xhtml-1_1/profile-docbook.xsl +0 -407
- data/lib/stylesheets/xhtml-1_1/profile-onechunk.xsl +0 -37
- data/lib/stylesheets/xhtml-1_1/qandaset.xsl +0 -421
- data/lib/stylesheets/xhtml-1_1/refentry.xsl +0 -301
- data/lib/stylesheets/xhtml-1_1/sections.xsl +0 -543
- data/lib/stylesheets/xhtml-1_1/synop.xsl +0 -1515
- data/lib/stylesheets/xhtml-1_1/table.xsl +0 -1169
- data/lib/stylesheets/xhtml-1_1/task.xsl +0 -75
- data/lib/stylesheets/xhtml-1_1/titlepage.templates.xsl +0 -3818
- data/lib/stylesheets/xhtml-1_1/titlepage.xsl +0 -1032
- data/lib/stylesheets/xhtml-1_1/toc.xsl +0 -332
- data/lib/stylesheets/xhtml-1_1/verbatim.xsl +0 -389
- data/lib/stylesheets/xhtml-1_1/xref.xsl +0 -1317
- data/lib/stylesheets/xhtml/admon.xsl +0 -137
- data/lib/stylesheets/xhtml/annotations.xsl +0 -160
- data/lib/stylesheets/xhtml/autoidx-kimber.xsl +0 -140
- data/lib/stylesheets/xhtml/autoidx-kosek.xsl +0 -110
- data/lib/stylesheets/xhtml/autoidx-ng.xsl +0 -23
- data/lib/stylesheets/xhtml/autoidx.xsl +0 -682
- data/lib/stylesheets/xhtml/autotoc.xsl +0 -665
- data/lib/stylesheets/xhtml/biblio-iso690.xsl +0 -1302
- data/lib/stylesheets/xhtml/biblio.xsl +0 -1242
- data/lib/stylesheets/xhtml/block.xsl +0 -537
- data/lib/stylesheets/xhtml/callout.xsl +0 -189
- data/lib/stylesheets/xhtml/changebars.xsl +0 -80
- data/lib/stylesheets/xhtml/chunk-changebars.xsl +0 -97
- data/lib/stylesheets/xhtml/chunk-code.xsl +0 -644
- data/lib/stylesheets/xhtml/chunk-common.xsl +0 -1562
- data/lib/stylesheets/xhtml/chunk.xsl +0 -53
- data/lib/stylesheets/xhtml/chunker.xsl +0 -303
- data/lib/stylesheets/xhtml/chunkfast.xsl +0 -70
- data/lib/stylesheets/xhtml/chunktoc.xsl +0 -527
- data/lib/stylesheets/xhtml/component.xsl +0 -397
- data/lib/stylesheets/xhtml/division.xsl +0 -219
- data/lib/stylesheets/xhtml/docbook.css.xml +0 -109
- data/lib/stylesheets/xhtml/docbook.xsl +0 -435
- data/lib/stylesheets/xhtml/ebnf.xsl +0 -329
- data/lib/stylesheets/xhtml/footnote.xsl +0 -306
- data/lib/stylesheets/xhtml/formal.xsl +0 -413
- data/lib/stylesheets/xhtml/glossary.xsl +0 -565
- data/lib/stylesheets/xhtml/graphics.xsl +0 -1437
- data/lib/stylesheets/xhtml/highlight.xsl +0 -89
- data/lib/stylesheets/xhtml/html-rtf.xsl +0 -321
- data/lib/stylesheets/xhtml/html.xsl +0 -600
- data/lib/stylesheets/xhtml/htmltbl.xsl +0 -104
- data/lib/stylesheets/xhtml/index.xsl +0 -266
- data/lib/stylesheets/xhtml/info.xsl +0 -46
- data/lib/stylesheets/xhtml/inline.xsl +0 -1452
- data/lib/stylesheets/xhtml/keywords.xsl +0 -38
- data/lib/stylesheets/xhtml/lists.xsl +0 -1123
- data/lib/stylesheets/xhtml/maketoc.xsl +0 -92
- data/lib/stylesheets/xhtml/manifest.xsl +0 -23
- data/lib/stylesheets/xhtml/math.xsl +0 -285
- data/lib/stylesheets/xhtml/oldchunker.xsl +0 -177
- data/lib/stylesheets/xhtml/onechunk.xsl +0 -37
- data/lib/stylesheets/xhtml/param.xsl +0 -438
- data/lib/stylesheets/xhtml/pi.xsl +0 -1204
- data/lib/stylesheets/xhtml/profile-chunk-code.xsl +0 -616
- data/lib/stylesheets/xhtml/profile-chunk.xsl +0 -53
- data/lib/stylesheets/xhtml/profile-docbook.xsl +0 -407
- data/lib/stylesheets/xhtml/profile-onechunk.xsl +0 -37
- data/lib/stylesheets/xhtml/qandaset.xsl +0 -421
- data/lib/stylesheets/xhtml/refentry.xsl +0 -301
- data/lib/stylesheets/xhtml/sections.xsl +0 -543
- data/lib/stylesheets/xhtml/synop.xsl +0 -1515
- data/lib/stylesheets/xhtml/table.xsl +0 -1169
- data/lib/stylesheets/xhtml/task.xsl +0 -75
- data/lib/stylesheets/xhtml/titlepage.templates.xsl +0 -3818
- data/lib/stylesheets/xhtml/titlepage.xsl +0 -1032
- data/lib/stylesheets/xhtml/toc.xsl +0 -332
- data/lib/stylesheets/xhtml/verbatim.xsl +0 -389
- data/lib/stylesheets/xhtml/xref.xsl +0 -1317
@@ -1,348 +0,0 @@
|
|
1
|
-
<?xml version="1.0"?>
|
2
|
-
|
3
|
-
<xsl:stylesheet
|
4
|
-
version="1.0"
|
5
|
-
extension-element-prefixes="doc"
|
6
|
-
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
7
|
-
xmlns:doc="http://xsltsl.org/xsl/documentation/1.0"
|
8
|
-
xmlns:str="http://xsltsl.org/string"
|
9
|
-
xmlns:cmp="http://xsltsl.org/cmp"
|
10
|
-
exclude-result-prefixes="cmp str doc"
|
11
|
-
>
|
12
|
-
|
13
|
-
<doc:reference xmlns="">
|
14
|
-
<referenceinfo>
|
15
|
-
<releaseinfo role="meta">
|
16
|
-
$Id: cmp.xsl 6297 2006-09-14 01:32:27Z xmldoc $
|
17
|
-
</releaseinfo>
|
18
|
-
<author>
|
19
|
-
<surname>Hummel</surname>
|
20
|
-
<firstname>Mark</firstname>
|
21
|
-
</author>
|
22
|
-
<copyright>
|
23
|
-
<year>2003</year>
|
24
|
-
<holder>Mark Hummel</holder>
|
25
|
-
</copyright>
|
26
|
-
</referenceinfo>
|
27
|
-
|
28
|
-
<title>XML Compare</title>
|
29
|
-
|
30
|
-
<partintro>
|
31
|
-
<section>
|
32
|
-
<title>Introduction</title>
|
33
|
-
|
34
|
-
<para>This module provides a template for comparing two xml documents. </para>
|
35
|
-
|
36
|
-
</section>
|
37
|
-
</partintro>
|
38
|
-
|
39
|
-
</doc:reference>
|
40
|
-
|
41
|
-
|
42
|
-
<doc:template name="cmp:diff">
|
43
|
-
<refpurpose>Find differences</refpurpose>
|
44
|
-
|
45
|
-
<refdescription>
|
46
|
-
<para>Compare two xml documents and display differences. Two xml documents are defined to be the same if: They have the matching elements and attributes, and that the data in the elements also match. The comparison is order sensitive. </para>
|
47
|
-
|
48
|
-
<para>The element names from the documents at the current depth are compared, followed by their values, then any attribute names and values are compared. The process is applied then to the subtrees of the documents.</para>
|
49
|
-
|
50
|
-
<para>Notes: If there are leaf nodes in one nodeset which don't exist in the other, the value of those 'extra' elements won't appear as a difference.
|
51
|
-
</para>
|
52
|
-
</refdescription>
|
53
|
-
|
54
|
-
<refparameter>
|
55
|
-
<variablelist>
|
56
|
-
<varlistentry>
|
57
|
-
<term>ns1</term>
|
58
|
-
<term>ns2</term>
|
59
|
-
<listitem>
|
60
|
-
<para>The two nodesets which are to be compared. </para>
|
61
|
-
</listitem>
|
62
|
-
</varlistentry>
|
63
|
-
</variablelist>
|
64
|
-
</refparameter>
|
65
|
-
|
66
|
-
<refreturn>
|
67
|
-
<para>Returns the difference between the documents. </para>
|
68
|
-
|
69
|
-
<para>The format of the output is an xml document. A node is added to the result tree for every difference. The node contains the type of difference (e.g element name difference, attribute value difference, etc), the value in the first nodeset and the value in the second nodeset, and the parent node. The indentation level is the depth at which the difference was found relative to the first document. </para>
|
70
|
-
|
71
|
-
</refreturn>
|
72
|
-
</doc:template>
|
73
|
-
|
74
|
-
<!-- pass in a nodeset and compare. Is order sensitive. Output attribute, element and textual differences. -->
|
75
|
-
|
76
|
-
<xsl:template name="cmp:diff">
|
77
|
-
<xsl:param name="ns1"/>
|
78
|
-
<xsl:param name="ns2"/>
|
79
|
-
|
80
|
-
<!-- attribute compare -->
|
81
|
-
<!-- Optimisation attempt
|
82
|
-
|
83
|
-
Can probaby change this into one loop ie -
|
84
|
-
<xsl:for-each
|
85
|
-
i = position
|
86
|
-
if node1[i] = node2[i]...
|
87
|
-
|
88
|
-
-->
|
89
|
-
|
90
|
-
<!-- Need to check if there are two sets of attributes -->
|
91
|
-
<xsl:choose>
|
92
|
-
<xsl:when test='count($ns1/attribute::*) = count($ns2/attribute::*)'>
|
93
|
-
<xsl:for-each select="$ns1/attribute::*">
|
94
|
-
<xsl:variable name="name1" select="name()"/>
|
95
|
-
<xsl:variable name="value1" select="."/>
|
96
|
-
<xsl:variable name="i" select="position()"/>
|
97
|
-
|
98
|
-
<xsl:for-each select="$ns2/attribute::*">
|
99
|
-
|
100
|
-
<xsl:variable name="j" select="position()"/>
|
101
|
-
<xsl:variable name="name2" select="name()"/>
|
102
|
-
<xsl:variable name="value2" select="."/>
|
103
|
-
|
104
|
-
<xsl:if test="$i = $j">
|
105
|
-
<xsl:if test="$name1 != $name2">
|
106
|
-
<attributeNameDifference>
|
107
|
-
<parentElement><xsl:value-of select="name(..)"/></parentElement>
|
108
|
-
<before><xsl:value-of select="$name1"/></before>
|
109
|
-
<after><xsl:value-of select="$name2"/></after>
|
110
|
-
</attributeNameDifference>
|
111
|
-
</xsl:if>
|
112
|
-
|
113
|
-
<xsl:if test="$name1 = $name2 and $value1 != $value2">
|
114
|
-
<attributeValueDifference>
|
115
|
-
<parentElement><xsl:value-of select="name(..)"/></parentElement>
|
116
|
-
<before><xsl:value-of select="$value1"/></before>
|
117
|
-
<after><xsl:value-of select="$value2"/></after>
|
118
|
-
</attributeValueDifference>
|
119
|
-
</xsl:if>
|
120
|
-
|
121
|
-
</xsl:if>
|
122
|
-
</xsl:for-each>
|
123
|
-
</xsl:for-each>
|
124
|
-
</xsl:when>
|
125
|
-
<xsl:otherwise>
|
126
|
-
<attributeNameDifference>
|
127
|
-
<parentElement>
|
128
|
-
<xsl:value-of select="name(..)"/>
|
129
|
-
</parentElement>
|
130
|
-
<before><xsl:value-of select='$ns1/attribute::*'/></before>
|
131
|
-
<after><xsl:value-of select='$ns2/attribute::*'/></after>
|
132
|
-
</attributeNameDifference>
|
133
|
-
</xsl:otherwise>
|
134
|
-
</xsl:choose>
|
135
|
-
|
136
|
-
|
137
|
-
<!-- Find element differences by comparing the element names from the same position in both documents. Iterate over all the nodes in the nodeset with the largest number of elements, so the extra elements will appear as differences. -->
|
138
|
-
|
139
|
-
<xsl:choose>
|
140
|
-
<!-- Define loop direction based on which tree has more nodes
|
141
|
-
FIXME: Replacing this with one for-each and a test for the case
|
142
|
-
of the second tree having more nodes would be more elegant
|
143
|
-
|
144
|
-
Solution: Add variable for direction and assign the 'larger' nodeset to that
|
145
|
-
variable. Then do one for-each.
|
146
|
-
|
147
|
-
FIXME: The solution is a bit too iterative. Make it more functional
|
148
|
-
|
149
|
-
-->
|
150
|
-
<xsl:when test="count($ns1) > count($ns2)">
|
151
|
-
<xsl:for-each select="$ns1">
|
152
|
-
<xsl:variable name="i" select="position()"/>
|
153
|
-
|
154
|
-
<xsl:message>node[<xsl:value-of select='$i'/>]:
|
155
|
-
<xsl:value-of select='$ns1[$i]'/>
|
156
|
-
</xsl:message>
|
157
|
-
|
158
|
-
<!-- Element name compare -->
|
159
|
-
<xsl:if test="name($ns1[$i]) != name($ns2[$i])">
|
160
|
-
<elementNameDifference>
|
161
|
-
<parentElement><xsl:value-of select="name(..)"/></parentElement>
|
162
|
-
<before><xsl:value-of select="name($ns1[$i])"/></before>
|
163
|
-
<after><xsl:value-of select="name($ns2[$i])"/></after>
|
164
|
-
</elementNameDifference>
|
165
|
-
</xsl:if>
|
166
|
-
|
167
|
-
<!-- Element Value compare -->
|
168
|
-
|
169
|
-
<xsl:if test="count($ns1/*) = 0">
|
170
|
-
<xsl:if test="$ns1[$i] != $ns2[$i]">
|
171
|
-
<elementValueDifference>
|
172
|
-
<parentElement><xsl:value-of select="name(..)"/></parentElement>
|
173
|
-
<before><xsl:value-of select="$ns1[$i]"/></before>
|
174
|
-
<after><xsl:value-of select="$ns2[$i]"/></after>
|
175
|
-
</elementValueDifference>
|
176
|
-
</xsl:if>
|
177
|
-
</xsl:if>
|
178
|
-
|
179
|
-
</xsl:for-each>
|
180
|
-
</xsl:when>
|
181
|
-
<xsl:otherwise>
|
182
|
-
<xsl:for-each select="$ns2">
|
183
|
-
<xsl:variable name="i" select="position()"/>
|
184
|
-
|
185
|
-
<!-- Element Name compare -->
|
186
|
-
|
187
|
-
<xsl:if test="name($ns1[$i]) != name($ns2[$i])">
|
188
|
-
<elementNameDifference>
|
189
|
-
<parentElement><xsl:value-of select="name(..)"/></parentElement>
|
190
|
-
<before><xsl:value-of select="name($ns1[$i])"/></before>
|
191
|
-
<after><xsl:value-of select="name($ns2[$i])"/></after>
|
192
|
-
</elementNameDifference>
|
193
|
-
|
194
|
-
</xsl:if>
|
195
|
-
|
196
|
-
<!-- value compare -->
|
197
|
-
|
198
|
-
<xsl:if test="count($ns2/*) = 0">
|
199
|
-
<xsl:if test="$ns2[$i] != $ns1[$i]">
|
200
|
-
<elementValueDifference>
|
201
|
-
<parentElement><xsl:value-of select="name(..)"/></parentElement>
|
202
|
-
<after><xsl:value-of select="$ns2[$i]"/></after>
|
203
|
-
<before><xsl:value-of select="$ns1[$i]"/></before>
|
204
|
-
</elementValueDifference>
|
205
|
-
</xsl:if>
|
206
|
-
</xsl:if>
|
207
|
-
|
208
|
-
</xsl:for-each>
|
209
|
-
</xsl:otherwise>
|
210
|
-
</xsl:choose>
|
211
|
-
|
212
|
-
<!-- stop processing when leaf node is reached. -->
|
213
|
-
|
214
|
-
<xsl:if test="count($ns1/*) > 0 and count($ns2/*) > 0">
|
215
|
-
<xsl:call-template name="cmp:diff">
|
216
|
-
<xsl:with-param name="ns1" select="$ns1/*"/>
|
217
|
-
<xsl:with-param name="ns2" select="$ns2/*"/>
|
218
|
-
</xsl:call-template>
|
219
|
-
</xsl:if>
|
220
|
-
|
221
|
-
</xsl:template>
|
222
|
-
|
223
|
-
<!-- Return false if the two nodesets are not identical
|
224
|
-
-->
|
225
|
-
|
226
|
-
<doc:template name="cmp:cmp">
|
227
|
-
<refpurpose>Compare</refpurpose>
|
228
|
-
|
229
|
-
<refdescription>
|
230
|
-
<para>Recursively compare two xml nodesets, stop when a difference is found and return false. Otherwise return true if the document is identical. </para>
|
231
|
-
|
232
|
-
<para>The element names from the documents at the current depth are compared, followed by their values, then any attribute names and values are compared. The process is applied then to the subtrees of the documents.</para>
|
233
|
-
|
234
|
-
<para>Notes: If there are leaf nodes in one nodeset which don't exist in the other, the value of those 'extra' elements won't appear as a difference.
|
235
|
-
</para>
|
236
|
-
</refdescription>
|
237
|
-
|
238
|
-
<refparameter>
|
239
|
-
<variablelist>
|
240
|
-
<varlistentry>
|
241
|
-
<term>ns1</term>
|
242
|
-
<term>ns2</term>
|
243
|
-
<listitem>
|
244
|
-
<para>The two nodesets which are to be compared. </para>
|
245
|
-
</listitem>
|
246
|
-
</varlistentry>
|
247
|
-
</variablelist>
|
248
|
-
</refparameter>
|
249
|
-
|
250
|
-
<refreturn>
|
251
|
-
<para>False when the nodesets are not identical, empty otherwise. </para>
|
252
|
-
|
253
|
-
</refreturn>
|
254
|
-
</doc:template>
|
255
|
-
|
256
|
-
<xsl:template name="cmp:cmp">
|
257
|
-
<xsl:param name="ns1"/>
|
258
|
-
<xsl:param name="ns2"/>
|
259
|
-
<xsl:param name="depth"/>
|
260
|
-
|
261
|
-
<xsl:choose>
|
262
|
-
<xsl:when test='count($ns1) != count($ns2)'>
|
263
|
-
<xsl:value-of select='"countDiff"'/>
|
264
|
-
</xsl:when>
|
265
|
-
<xsl:when test='count($ns1/attribute::*) != count($ns2/attribute::*)'>
|
266
|
-
<xsl:value-of select='"countDiff"'/>
|
267
|
-
</xsl:when>
|
268
|
-
<xsl:when test='$ns1 and $ns2'>
|
269
|
-
|
270
|
-
<xsl:variable name='result'>
|
271
|
-
<xsl:call-template name='cmp:cmp'>
|
272
|
-
<xsl:with-param name='ns1' select='$ns1/*'/>
|
273
|
-
<xsl:with-param name='ns2' select='$ns2/*'/>
|
274
|
-
<xsl:with-param name='depth' select='$depth+1'/>
|
275
|
-
</xsl:call-template>
|
276
|
-
</xsl:variable>
|
277
|
-
|
278
|
-
<xsl:choose>
|
279
|
-
<xsl:when test='$result = "countDiff"'>
|
280
|
-
<xsl:value-of select='$result'/>
|
281
|
-
</xsl:when>
|
282
|
-
<xsl:when test='$result = "textDiff"'>
|
283
|
-
<xsl:value-of select='$result'/>
|
284
|
-
</xsl:when>
|
285
|
-
<xsl:when test='$result = ""'>
|
286
|
-
|
287
|
-
<xsl:variable name='keyText1' select='name($ns1)'/>
|
288
|
-
<xsl:variable name='keyText2' select='name($ns2)'/>
|
289
|
-
|
290
|
-
<xsl:choose>
|
291
|
-
<!-- Check if the text of the nodesets are the same and the attributes-->
|
292
|
-
<xsl:when test='$ns1 = $ns2 and $keyText1 = $keyText2'>
|
293
|
-
|
294
|
-
<!-- Check the attribute names are the same -->
|
295
|
-
<!-- Number of attributes being different is caught higher up -->
|
296
|
-
<xsl:if test='count($ns1/attribute::*)'>
|
297
|
-
<xsl:for-each select='$ns1/attribute::*'>
|
298
|
-
<xsl:variable name='i' select='position()'/>
|
299
|
-
<xsl:variable name='name1' select='name(.)'/>
|
300
|
-
<xsl:variable name='value1' select='.'/>
|
301
|
-
|
302
|
-
<xsl:for-each select='$ns2/attribute::*'>
|
303
|
-
<xsl:variable name='j' select='position()'/>
|
304
|
-
<xsl:variable name='name2' select='name(.)'/>
|
305
|
-
<xsl:variable name='value2' select='.'/>
|
306
|
-
|
307
|
-
<xsl:if test='$i = $j and ($name1 != $name2 or
|
308
|
-
$value1 != $value2)'>
|
309
|
-
<xsl:value-of select='"textDiff"'/>
|
310
|
-
</xsl:if>
|
311
|
-
|
312
|
-
</xsl:for-each>
|
313
|
-
</xsl:for-each>
|
314
|
-
</xsl:if>
|
315
|
-
<!--
|
316
|
-
<xsl:variable name='diffResult'>
|
317
|
-
<xsl:call-template name='cmp:diff'>
|
318
|
-
<xsl:with-param name='ns1' select='$ns1'/>
|
319
|
-
<xsl:with-param name='ns2' select='$ns2'/>
|
320
|
-
</xsl:call-template>
|
321
|
-
</xsl:variable>
|
322
|
-
|
323
|
-
<xsl:if test='not($diffResult = "")'>
|
324
|
-
<xsl:value-of select='"textDiff"'/>
|
325
|
-
</xsl:if>
|
326
|
-
-->
|
327
|
-
|
328
|
-
</xsl:when>
|
329
|
-
<xsl:otherwise>
|
330
|
-
<xsl:value-of select='"textDiff"'/>
|
331
|
-
</xsl:otherwise>
|
332
|
-
</xsl:choose>
|
333
|
-
</xsl:when>
|
334
|
-
</xsl:choose>
|
335
|
-
|
336
|
-
</xsl:when>
|
337
|
-
<xsl:when test='$ns1 and not($ns2)'>
|
338
|
-
<xsl:value-of select='"structDiff"'/>
|
339
|
-
</xsl:when>
|
340
|
-
<xsl:when test='$ns2 and not($ns1)'>
|
341
|
-
<xsl:value-of select='"structDiff"'/>
|
342
|
-
</xsl:when>
|
343
|
-
</xsl:choose>
|
344
|
-
|
345
|
-
</xsl:template>
|
346
|
-
|
347
|
-
</xsl:stylesheet>
|
348
|
-
|
@@ -1,1524 +0,0 @@
|
|
1
|
-
<?xml version="1.0"?>
|
2
|
-
<xsl:stylesheet version="1.0"
|
3
|
-
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
4
|
-
xmlns:doc="http://xsltsl.org/xsl/documentation/1.0"
|
5
|
-
xmlns:dt="http://xsltsl.org/date-time"
|
6
|
-
xmlns:str="http://xsltsl.org/string"
|
7
|
-
extension-element-prefixes="doc str">
|
8
|
-
|
9
|
-
<doc:reference xmlns="">
|
10
|
-
<referenceinfo>
|
11
|
-
<releaseinfo role="meta">
|
12
|
-
$Id: date-time.xsl 3991 2004-11-10 06:51:55Z balls $
|
13
|
-
</releaseinfo>
|
14
|
-
<author>
|
15
|
-
<surname>Diamond</surname>
|
16
|
-
<firstname>Jason</firstname>
|
17
|
-
</author>
|
18
|
-
<copyright>
|
19
|
-
<year>2004</year>
|
20
|
-
<holder>Steve Ball</holder>
|
21
|
-
</copyright>
|
22
|
-
<copyright>
|
23
|
-
<year>2001</year>
|
24
|
-
<holder>Jason Diamond</holder>
|
25
|
-
</copyright>
|
26
|
-
</referenceinfo>
|
27
|
-
|
28
|
-
<title>Date/Time Processing</title>
|
29
|
-
|
30
|
-
<partintro>
|
31
|
-
<section>
|
32
|
-
<title>Introduction</title>
|
33
|
-
|
34
|
-
<para>This module provides templates for formatting and parsing date/time strings.</para>
|
35
|
-
|
36
|
-
<para>See <ulink url="http://www.tondering.dk/claus/calendar.html">http://www.tondering.dk/claus/calendar.html</ulink> for more information on calendars and the calculations this library performs.</para>
|
37
|
-
|
38
|
-
</section>
|
39
|
-
</partintro>
|
40
|
-
|
41
|
-
</doc:reference>
|
42
|
-
|
43
|
-
<doc:template name="dt:format-date-time" xmlns="">
|
44
|
-
<refpurpose>Returns a string with a formatted date/time.</refpurpose>
|
45
|
-
|
46
|
-
<refdescription>
|
47
|
-
<para>The formatted date/time is determined by the format parameter. The default format is %Y-%m-%dT%H:%M:%S%z, the W3C format.</para>
|
48
|
-
</refdescription>
|
49
|
-
|
50
|
-
<refparameter>
|
51
|
-
<variablelist>
|
52
|
-
|
53
|
-
<varlistentry>
|
54
|
-
<term>xsd-date-time</term>
|
55
|
-
<listitem>
|
56
|
-
<para>The date-time value in XML Schemas (WXS) format.</para>
|
57
|
-
<para>If this value is specified, it takes priority over other parameters.</para>
|
58
|
-
</listitem>
|
59
|
-
</varlistentry>
|
60
|
-
|
61
|
-
<varlistentry>
|
62
|
-
<term>year</term>
|
63
|
-
<listitem>
|
64
|
-
<para>Year, in either 2 or 4+ digit format..</para>
|
65
|
-
<para>If the year is given as a two digit value, it will be converted to a four digit value using the fixed window method. Values between 00 and 49 will be prepended by "20". Values between 50 and 99 will be prepended by "19".</para>
|
66
|
-
</listitem>
|
67
|
-
</varlistentry>
|
68
|
-
|
69
|
-
<varlistentry>
|
70
|
-
<term>month</term>
|
71
|
-
<listitem>
|
72
|
-
<para>Month (1 - 12; January = 1)</para>
|
73
|
-
</listitem>
|
74
|
-
</varlistentry>
|
75
|
-
|
76
|
-
<varlistentry>
|
77
|
-
<term>day</term>
|
78
|
-
<listitem>
|
79
|
-
<para>Day of month (1 - 31)</para>
|
80
|
-
</listitem>
|
81
|
-
</varlistentry>
|
82
|
-
|
83
|
-
<varlistentry>
|
84
|
-
<term>hour</term>
|
85
|
-
<listitem>
|
86
|
-
<para>Hours since midnight (0 - 23)</para>
|
87
|
-
</listitem>
|
88
|
-
</varlistentry>
|
89
|
-
|
90
|
-
<varlistentry>
|
91
|
-
<term>minute</term>
|
92
|
-
<listitem>
|
93
|
-
<para>Minutes after hour (0 - 59)</para>
|
94
|
-
</listitem>
|
95
|
-
</varlistentry>
|
96
|
-
|
97
|
-
<varlistentry>
|
98
|
-
<term>second</term>
|
99
|
-
<listitem>
|
100
|
-
<para>Seconds after minute (0 - 59)</para>
|
101
|
-
</listitem>
|
102
|
-
</varlistentry>
|
103
|
-
|
104
|
-
<varlistentry>
|
105
|
-
<term>time-zone</term>
|
106
|
-
<listitem>
|
107
|
-
<para>Time zone string (e.g., 'Z' or '-08:00')</para>
|
108
|
-
</listitem>
|
109
|
-
</varlistentry>
|
110
|
-
|
111
|
-
<varlistentry>
|
112
|
-
<term>format</term>
|
113
|
-
<listitem>
|
114
|
-
<para>The format specification.</para>
|
115
|
-
<variablelist>
|
116
|
-
|
117
|
-
<varlistentry>
|
118
|
-
<term>%a</term>
|
119
|
-
<listitem>
|
120
|
-
<para>Abbreviated weekday name</para>
|
121
|
-
</listitem>
|
122
|
-
</varlistentry>
|
123
|
-
|
124
|
-
<varlistentry>
|
125
|
-
<term>%A</term>
|
126
|
-
<listitem>
|
127
|
-
<para>Full weekday name</para>
|
128
|
-
</listitem>
|
129
|
-
</varlistentry>
|
130
|
-
|
131
|
-
<varlistentry>
|
132
|
-
<term>%b</term>
|
133
|
-
<listitem>
|
134
|
-
<para>Abbreviated month name</para>
|
135
|
-
</listitem>
|
136
|
-
</varlistentry>
|
137
|
-
|
138
|
-
<varlistentry>
|
139
|
-
<term>%B</term>
|
140
|
-
<listitem>
|
141
|
-
<para>Full month name</para>
|
142
|
-
</listitem>
|
143
|
-
</varlistentry>
|
144
|
-
|
145
|
-
<varlistentry>
|
146
|
-
<term>%c</term>
|
147
|
-
<listitem>
|
148
|
-
<para>Date and time representation appropriate for locale</para>
|
149
|
-
</listitem>
|
150
|
-
</varlistentry>
|
151
|
-
|
152
|
-
<varlistentry>
|
153
|
-
<term>%d</term>
|
154
|
-
<listitem>
|
155
|
-
<para>Day of month as decimal number (01 - 31)</para>
|
156
|
-
</listitem>
|
157
|
-
</varlistentry>
|
158
|
-
|
159
|
-
<varlistentry>
|
160
|
-
<term>%e</term>
|
161
|
-
<listitem>
|
162
|
-
<para>Day of month as decimal number (1 - 31)</para>
|
163
|
-
</listitem>
|
164
|
-
</varlistentry>
|
165
|
-
|
166
|
-
<varlistentry>
|
167
|
-
<term>%H</term>
|
168
|
-
<listitem>
|
169
|
-
<para>Hour in 24-hour format (00 - 23)</para>
|
170
|
-
</listitem>
|
171
|
-
</varlistentry>
|
172
|
-
|
173
|
-
<varlistentry>
|
174
|
-
<term>%I</term>
|
175
|
-
<listitem>
|
176
|
-
<para>Hour in 12-hour format (01 - 12)</para>
|
177
|
-
</listitem>
|
178
|
-
</varlistentry>
|
179
|
-
|
180
|
-
<varlistentry>
|
181
|
-
<term>%i</term>
|
182
|
-
<listitem>
|
183
|
-
<para>Hour in 12-hour format (1 - 12)</para>
|
184
|
-
</listitem>
|
185
|
-
</varlistentry>
|
186
|
-
|
187
|
-
<varlistentry>
|
188
|
-
<term>%j</term>
|
189
|
-
<listitem>
|
190
|
-
<para>Day of year as decimal number (001 - 366)</para>
|
191
|
-
</listitem>
|
192
|
-
</varlistentry>
|
193
|
-
|
194
|
-
<varlistentry>
|
195
|
-
<term>%m</term>
|
196
|
-
<listitem>
|
197
|
-
<para>Month as decimal number (01 - 12)</para>
|
198
|
-
</listitem>
|
199
|
-
</varlistentry>
|
200
|
-
|
201
|
-
<varlistentry>
|
202
|
-
<term>%n</term>
|
203
|
-
<listitem>
|
204
|
-
<para>Month as decimal number (1 - 12)</para>
|
205
|
-
</listitem>
|
206
|
-
</varlistentry>
|
207
|
-
|
208
|
-
<varlistentry>
|
209
|
-
<term>%M</term>
|
210
|
-
<listitem>
|
211
|
-
<para>Minute as decimal number (00 - 59)</para>
|
212
|
-
</listitem>
|
213
|
-
</varlistentry>
|
214
|
-
|
215
|
-
<varlistentry>
|
216
|
-
<term>%P</term>
|
217
|
-
<listitem>
|
218
|
-
<para>Current locale's A.M./P.M. indicator for 12-hour clock, uppercase</para>
|
219
|
-
</listitem>
|
220
|
-
</varlistentry>
|
221
|
-
|
222
|
-
<varlistentry>
|
223
|
-
<term>%Q</term>
|
224
|
-
<listitem>
|
225
|
-
<para>Current locale's A.M./P.M. indicator for 12-hour clock, uppercase with periods</para>
|
226
|
-
</listitem>
|
227
|
-
</varlistentry>
|
228
|
-
|
229
|
-
<varlistentry>
|
230
|
-
<term>%p</term>
|
231
|
-
<listitem>
|
232
|
-
<para>Current locale's A.M./P.M. indicator for 12-hour clock, lowercase</para>
|
233
|
-
</listitem>
|
234
|
-
</varlistentry>
|
235
|
-
|
236
|
-
<varlistentry>
|
237
|
-
<term>%q</term>
|
238
|
-
<listitem>
|
239
|
-
<para>Current locale's A.M./P.M. indicator for 12-hour clock, lowercase with periods</para>
|
240
|
-
</listitem>
|
241
|
-
</varlistentry>
|
242
|
-
|
243
|
-
<varlistentry>
|
244
|
-
<term>%S</term>
|
245
|
-
<listitem>
|
246
|
-
<para>Second as decimal number (00 - 59)</para>
|
247
|
-
</listitem>
|
248
|
-
</varlistentry>
|
249
|
-
|
250
|
-
<varlistentry>
|
251
|
-
<term>%U</term>
|
252
|
-
<listitem>
|
253
|
-
<para>Week of year as decimal number, with Sunday as first day of week (00 - 53)</para>
|
254
|
-
</listitem>
|
255
|
-
</varlistentry>
|
256
|
-
|
257
|
-
<varlistentry>
|
258
|
-
<term>%w</term>
|
259
|
-
<listitem>
|
260
|
-
<para>Weekday as decimal number (0 - 6; Sunday is 0)</para>
|
261
|
-
</listitem>
|
262
|
-
</varlistentry>
|
263
|
-
|
264
|
-
<varlistentry>
|
265
|
-
<term>%W</term>
|
266
|
-
<listitem>
|
267
|
-
<para>Week of year as decimal number, with Monday as first day of week (00 - 53)</para>
|
268
|
-
</listitem>
|
269
|
-
</varlistentry>
|
270
|
-
|
271
|
-
<varlistentry>
|
272
|
-
<term>%x</term>
|
273
|
-
<listitem>
|
274
|
-
<para>Date representation for current locale </para>
|
275
|
-
</listitem>
|
276
|
-
</varlistentry>
|
277
|
-
|
278
|
-
<varlistentry>
|
279
|
-
<term>%X</term>
|
280
|
-
<listitem>
|
281
|
-
<para>Time representation for current locale</para>
|
282
|
-
</listitem>
|
283
|
-
</varlistentry>
|
284
|
-
|
285
|
-
<varlistentry>
|
286
|
-
<term>%y</term>
|
287
|
-
<listitem>
|
288
|
-
<para>Year without century, as decimal number (00 - 99)</para>
|
289
|
-
</listitem>
|
290
|
-
</varlistentry>
|
291
|
-
|
292
|
-
<varlistentry>
|
293
|
-
<term>%Y</term>
|
294
|
-
<listitem>
|
295
|
-
<para>Year with century, as decimal number</para>
|
296
|
-
</listitem>
|
297
|
-
</varlistentry>
|
298
|
-
|
299
|
-
<varlistentry>
|
300
|
-
<term>%z</term>
|
301
|
-
<listitem>
|
302
|
-
<para>Time-zone name or abbreviation; no characters if time zone is unknown</para>
|
303
|
-
</listitem>
|
304
|
-
</varlistentry>
|
305
|
-
|
306
|
-
<varlistentry>
|
307
|
-
<term>%%</term>
|
308
|
-
<listitem>
|
309
|
-
<para>Percent sign</para>
|
310
|
-
</listitem>
|
311
|
-
</varlistentry>
|
312
|
-
|
313
|
-
</variablelist>
|
314
|
-
</listitem>
|
315
|
-
</varlistentry>
|
316
|
-
|
317
|
-
</variablelist>
|
318
|
-
</refparameter>
|
319
|
-
|
320
|
-
<refreturn>
|
321
|
-
<para>Returns a formatted date/time string.</para>
|
322
|
-
</refreturn>
|
323
|
-
|
324
|
-
</doc:template>
|
325
|
-
|
326
|
-
<xsl:template name="dt:format-date-time">
|
327
|
-
<xsl:param name='xsd-date-time'/>
|
328
|
-
<xsl:param name="year"/>
|
329
|
-
<xsl:param name="month"/>
|
330
|
-
<xsl:param name="day"/>
|
331
|
-
<xsl:param name="hour"/>
|
332
|
-
<xsl:param name="minute"/>
|
333
|
-
<xsl:param name="second"/>
|
334
|
-
<xsl:param name="time-zone"/>
|
335
|
-
<xsl:param name="format" select="'%Y-%m-%dT%H:%M:%S%z'"/>
|
336
|
-
|
337
|
-
<xsl:value-of select="substring-before($format, '%')"/>
|
338
|
-
|
339
|
-
<xsl:variable name="code" select="substring(substring-after($format, '%'), 1, 1)"/>
|
340
|
-
|
341
|
-
<xsl:choose>
|
342
|
-
|
343
|
-
<xsl:when test='$xsd-date-time'>
|
344
|
-
<xsl:call-template name='dt:format-date-time'>
|
345
|
-
<xsl:with-param name='year'>
|
346
|
-
<xsl:call-template name='dt:get-xsd-datetime-year'>
|
347
|
-
<xsl:with-param name='xsd-date-time' select='$xsd-date-time'/>
|
348
|
-
</xsl:call-template>
|
349
|
-
</xsl:with-param>
|
350
|
-
<xsl:with-param name='month'>
|
351
|
-
<xsl:call-template name='dt:get-xsd-datetime-month'>
|
352
|
-
<xsl:with-param name='xsd-date-time' select='$xsd-date-time'/>
|
353
|
-
</xsl:call-template>
|
354
|
-
</xsl:with-param>
|
355
|
-
<xsl:with-param name='day'>
|
356
|
-
<xsl:call-template name='dt:get-xsd-datetime-day'>
|
357
|
-
<xsl:with-param name='xsd-date-time' select='$xsd-date-time'/>
|
358
|
-
</xsl:call-template>
|
359
|
-
</xsl:with-param>
|
360
|
-
<xsl:with-param name='hour'>
|
361
|
-
<xsl:call-template name='dt:get-xsd-datetime-hour'>
|
362
|
-
<xsl:with-param name='xsd-date-time' select='$xsd-date-time'/>
|
363
|
-
</xsl:call-template>
|
364
|
-
</xsl:with-param>
|
365
|
-
<xsl:with-param name='minute'>
|
366
|
-
<xsl:call-template name='dt:get-xsd-datetime-minute'>
|
367
|
-
<xsl:with-param name='xsd-date-time' select='$xsd-date-time'/>
|
368
|
-
</xsl:call-template>
|
369
|
-
</xsl:with-param>
|
370
|
-
<xsl:with-param name='second'>
|
371
|
-
<xsl:call-template name='dt:get-xsd-datetime-second'>
|
372
|
-
<xsl:with-param name='xsd-date-time' select='$xsd-date-time'/>
|
373
|
-
</xsl:call-template>
|
374
|
-
</xsl:with-param>
|
375
|
-
<xsl:with-param name='time-zone'>
|
376
|
-
<xsl:call-template name='dt:get-xsd-datetime-timezone'>
|
377
|
-
<xsl:with-param name='xsd-date-time' select='$xsd-date-time'/>
|
378
|
-
</xsl:call-template>
|
379
|
-
</xsl:with-param>
|
380
|
-
<xsl:with-param name='format'>
|
381
|
-
<xsl:choose>
|
382
|
-
<xsl:when test='contains($format, "%")'>
|
383
|
-
<xsl:text>%</xsl:text>
|
384
|
-
<xsl:value-of select='substring-after($format, "%")'/>
|
385
|
-
</xsl:when>
|
386
|
-
<xsl:otherwise>
|
387
|
-
<xsl:value-of select='$format'/>
|
388
|
-
</xsl:otherwise>
|
389
|
-
</xsl:choose>
|
390
|
-
</xsl:with-param>
|
391
|
-
</xsl:call-template>
|
392
|
-
</xsl:when>
|
393
|
-
|
394
|
-
<!-- Abbreviated weekday name -->
|
395
|
-
<xsl:when test="$code='a'">
|
396
|
-
<xsl:variable name="day-of-the-week">
|
397
|
-
<xsl:call-template name="dt:calculate-day-of-the-week">
|
398
|
-
<xsl:with-param name="year" select="$year"/>
|
399
|
-
<xsl:with-param name="month" select="$month"/>
|
400
|
-
<xsl:with-param name="day" select="$day"/>
|
401
|
-
</xsl:call-template>
|
402
|
-
</xsl:variable>
|
403
|
-
<xsl:call-template name="dt:get-day-of-the-week-abbreviation">
|
404
|
-
<xsl:with-param name="day-of-the-week" select="$day-of-the-week"/>
|
405
|
-
</xsl:call-template>
|
406
|
-
</xsl:when>
|
407
|
-
|
408
|
-
<!-- Full weekday name -->
|
409
|
-
<xsl:when test="$code='A'">
|
410
|
-
<xsl:variable name="day-of-the-week">
|
411
|
-
<xsl:call-template name="dt:calculate-day-of-the-week">
|
412
|
-
<xsl:with-param name="year" select="$year"/>
|
413
|
-
<xsl:with-param name="month" select="$month"/>
|
414
|
-
<xsl:with-param name="day" select="$day"/>
|
415
|
-
</xsl:call-template>
|
416
|
-
</xsl:variable>
|
417
|
-
<xsl:call-template name="dt:get-day-of-the-week-name">
|
418
|
-
<xsl:with-param name="day-of-the-week" select="$day-of-the-week"/>
|
419
|
-
</xsl:call-template>
|
420
|
-
</xsl:when>
|
421
|
-
|
422
|
-
<!-- Abbreviated month name -->
|
423
|
-
<xsl:when test="$code='b'">
|
424
|
-
<xsl:call-template name="dt:get-month-abbreviation">
|
425
|
-
<xsl:with-param name="month" select="$month"/>
|
426
|
-
</xsl:call-template>
|
427
|
-
</xsl:when>
|
428
|
-
|
429
|
-
<!-- Full month name -->
|
430
|
-
<xsl:when test="$code='B'">
|
431
|
-
<xsl:call-template name="dt:get-month-name">
|
432
|
-
<xsl:with-param name="month" select="$month"/>
|
433
|
-
</xsl:call-template>
|
434
|
-
</xsl:when>
|
435
|
-
|
436
|
-
<!-- Date and time representation appropriate for locale -->
|
437
|
-
<xsl:when test="$code='c'">
|
438
|
-
<xsl:text>[not implemented]</xsl:text>
|
439
|
-
</xsl:when>
|
440
|
-
|
441
|
-
<!-- Day of month as decimal number (01 - 31) -->
|
442
|
-
<xsl:when test="$code='d'">
|
443
|
-
<xsl:if test="$day < 10">0</xsl:if>
|
444
|
-
<xsl:value-of select="number($day)"/>
|
445
|
-
</xsl:when>
|
446
|
-
<!-- Day of month as decimal number (1 - 31) -->
|
447
|
-
<xsl:when test="$code='e'">
|
448
|
-
<xsl:value-of select="number($day)"/>
|
449
|
-
</xsl:when>
|
450
|
-
|
451
|
-
<!-- Hour in 24-hour format (00 - 23) -->
|
452
|
-
<xsl:when test="$code='H'">
|
453
|
-
<xsl:if test="$hour < 10">0</xsl:if>
|
454
|
-
<xsl:value-of select="number($hour)"/>
|
455
|
-
</xsl:when>
|
456
|
-
|
457
|
-
<!-- Hour in 12-hour format (01 - 12) -->
|
458
|
-
<xsl:when test="$code='I'">
|
459
|
-
<xsl:choose>
|
460
|
-
<xsl:when test="$hour = 0">12</xsl:when>
|
461
|
-
<xsl:when test="$hour < 10">0<xsl:value-of select="$hour - 0"/></xsl:when>
|
462
|
-
<xsl:when test="$hour < 13"><xsl:value-of select="$hour - 0"/></xsl:when>
|
463
|
-
<xsl:when test="$hour < 22">0<xsl:value-of select="$hour - 12"/></xsl:when>
|
464
|
-
<xsl:otherwise><xsl:value-of select="$hour - 12"/></xsl:otherwise>
|
465
|
-
</xsl:choose>
|
466
|
-
</xsl:when>
|
467
|
-
<!-- Hour in 12-hour format (1 - 12) -->
|
468
|
-
<xsl:when test="$code='i'">
|
469
|
-
<xsl:choose>
|
470
|
-
<xsl:when test="$hour = 0">12</xsl:when>
|
471
|
-
<xsl:when test="$hour < 10"><xsl:value-of select="$hour - 0"/></xsl:when>
|
472
|
-
<xsl:when test="$hour < 13"><xsl:value-of select="$hour - 0"/></xsl:when>
|
473
|
-
<xsl:when test="$hour < 22"><xsl:value-of select="$hour - 12"/></xsl:when>
|
474
|
-
<xsl:otherwise><xsl:value-of select="$hour - 12"/></xsl:otherwise>
|
475
|
-
</xsl:choose>
|
476
|
-
</xsl:when>
|
477
|
-
|
478
|
-
<!-- Day of year as decimal number (001 - 366) -->
|
479
|
-
<xsl:when test="$code='j'">
|
480
|
-
<xsl:text>[not implemented]</xsl:text>
|
481
|
-
</xsl:when>
|
482
|
-
|
483
|
-
<!-- Month as decimal number (01 - 12) -->
|
484
|
-
<xsl:when test="$code='m'">
|
485
|
-
<xsl:if test="$month < 10">0</xsl:if>
|
486
|
-
<xsl:value-of select="number($month)"/>
|
487
|
-
</xsl:when>
|
488
|
-
<!-- Month as decimal number (1 - 12) -->
|
489
|
-
<xsl:when test="$code='n'">
|
490
|
-
<xsl:value-of select="number($month)"/>
|
491
|
-
</xsl:when>
|
492
|
-
|
493
|
-
<!-- Minute as decimal number (00 - 59) -->
|
494
|
-
<xsl:when test="$code='M'">
|
495
|
-
<xsl:if test="$minute < 10">0</xsl:if>
|
496
|
-
<xsl:value-of select="number($minute)"/>
|
497
|
-
</xsl:when>
|
498
|
-
|
499
|
-
<!-- Current locale's A.M./P.M. indicator for 12-hour clock -->
|
500
|
-
<xsl:when test="$code='p'">
|
501
|
-
<xsl:choose>
|
502
|
-
<xsl:when test="$hour < 12">am</xsl:when>
|
503
|
-
<xsl:otherwise>pm</xsl:otherwise>
|
504
|
-
</xsl:choose>
|
505
|
-
</xsl:when>
|
506
|
-
<!-- Current locale's A.M./P.M. indicator for 12-hour clock with periods -->
|
507
|
-
<xsl:when test="$code='q'">
|
508
|
-
<xsl:choose>
|
509
|
-
<xsl:when test="$hour < 12">am</xsl:when>
|
510
|
-
<xsl:otherwise>p.m.</xsl:otherwise>
|
511
|
-
</xsl:choose>
|
512
|
-
</xsl:when>
|
513
|
-
<!-- Current locale's A.M./P.M. indicator for 12-hour clock -->
|
514
|
-
<xsl:when test="$code='P'">
|
515
|
-
<xsl:choose>
|
516
|
-
<xsl:when test="$hour < 12">AM</xsl:when>
|
517
|
-
<xsl:otherwise>PM</xsl:otherwise>
|
518
|
-
</xsl:choose>
|
519
|
-
</xsl:when>
|
520
|
-
<!-- Current locale's A.M./P.M. indicator for 12-hour clock with periods -->
|
521
|
-
<xsl:when test="$code='Q'">
|
522
|
-
<xsl:choose>
|
523
|
-
<xsl:when test="$hour < 12">AM</xsl:when>
|
524
|
-
<xsl:otherwise>P.M.</xsl:otherwise>
|
525
|
-
</xsl:choose>
|
526
|
-
</xsl:when>
|
527
|
-
|
528
|
-
<!-- Second as decimal number (00 - 59) -->
|
529
|
-
<xsl:when test="$code='S'">
|
530
|
-
<xsl:if test="$second < 10">0</xsl:if>
|
531
|
-
<xsl:value-of select="number($second)"/>
|
532
|
-
</xsl:when>
|
533
|
-
|
534
|
-
<!-- Week of year as decimal number, with Sunday as first day of week (00 - 53) -->
|
535
|
-
<xsl:when test="$code='U'">
|
536
|
-
<!-- add 1 to day -->
|
537
|
-
<xsl:call-template name="dt:calculate-week-number">
|
538
|
-
<xsl:with-param name="year" select="$year"/>
|
539
|
-
<xsl:with-param name="month" select="$month"/>
|
540
|
-
<xsl:with-param name="day" select="$day + 1"/>
|
541
|
-
</xsl:call-template>
|
542
|
-
</xsl:when>
|
543
|
-
|
544
|
-
<!-- Weekday as decimal number (0 - 6; Sunday is 0) -->
|
545
|
-
<xsl:when test="$code='w'">
|
546
|
-
<xsl:call-template name="dt:calculate-day-of-the-week">
|
547
|
-
<xsl:with-param name="year" select="$year"/>
|
548
|
-
<xsl:with-param name="month" select="$month"/>
|
549
|
-
<xsl:with-param name="day" select="$day"/>
|
550
|
-
</xsl:call-template>
|
551
|
-
</xsl:when>
|
552
|
-
|
553
|
-
<!-- Week of year as decimal number, with Monday as first day of week (00 - 53) -->
|
554
|
-
<xsl:when test="$code='W'">
|
555
|
-
<xsl:call-template name="dt:calculate-week-number">
|
556
|
-
<xsl:with-param name="year" select="$year"/>
|
557
|
-
<xsl:with-param name="month" select="$month"/>
|
558
|
-
<xsl:with-param name="day" select="$day"/>
|
559
|
-
</xsl:call-template>
|
560
|
-
</xsl:when>
|
561
|
-
|
562
|
-
<!-- Date representation for current locale -->
|
563
|
-
<xsl:when test="$code='x'">
|
564
|
-
<xsl:text>[not implemented]</xsl:text>
|
565
|
-
</xsl:when>
|
566
|
-
|
567
|
-
<!-- Time representation for current locale -->
|
568
|
-
<xsl:when test="$code='X'">
|
569
|
-
<xsl:text>[not implemented]</xsl:text>
|
570
|
-
</xsl:when>
|
571
|
-
|
572
|
-
<!-- Year without century, as decimal number (00 - 99) -->
|
573
|
-
<xsl:when test="$code='y'">
|
574
|
-
<xsl:choose>
|
575
|
-
<xsl:when test='not(number($year))'>invalid year value</xsl:when>
|
576
|
-
|
577
|
-
<!-- workaround MSXML bug -->
|
578
|
-
<xsl:when test='number($year) mod 100 = 0'>00</xsl:when>
|
579
|
-
|
580
|
-
<xsl:otherwise>
|
581
|
-
<xsl:number format='01' value='number($year) mod 100'/>
|
582
|
-
</xsl:otherwise>
|
583
|
-
</xsl:choose>
|
584
|
-
</xsl:when>
|
585
|
-
|
586
|
-
<!-- Year with century, as decimal number -->
|
587
|
-
<xsl:when test="$code='Y'">
|
588
|
-
<xsl:choose>
|
589
|
-
<xsl:when test='not(number($year))'>invalid year value</xsl:when>
|
590
|
-
<xsl:when test='string-length($year) = 2'>
|
591
|
-
<xsl:call-template name='dt:format-two-digit-year'>
|
592
|
-
<xsl:with-param name='year' select='$year'/>
|
593
|
-
</xsl:call-template>
|
594
|
-
</xsl:when>
|
595
|
-
<xsl:when test='string-length($year) >= 4'>
|
596
|
-
<xsl:value-of select='$year'/>
|
597
|
-
</xsl:when>
|
598
|
-
<xsl:otherwise>invalid year value</xsl:otherwise>
|
599
|
-
</xsl:choose>
|
600
|
-
</xsl:when>
|
601
|
-
|
602
|
-
<!-- Time-zone name or abbreviation; no characters if time zone is unknown -->
|
603
|
-
<xsl:when test="$code='z'">
|
604
|
-
<xsl:value-of select="$time-zone"/>
|
605
|
-
</xsl:when>
|
606
|
-
|
607
|
-
<!-- Percent sign -->
|
608
|
-
<xsl:when test="$code='%'">
|
609
|
-
<xsl:text>%</xsl:text>
|
610
|
-
</xsl:when>
|
611
|
-
|
612
|
-
</xsl:choose>
|
613
|
-
|
614
|
-
<xsl:variable name="remainder" select="substring(substring-after($format, '%'), 2)"/>
|
615
|
-
|
616
|
-
<xsl:if test="not($xsd-date-time) and $remainder">
|
617
|
-
<xsl:call-template name="dt:format-date-time">
|
618
|
-
<xsl:with-param name="year" select="$year"/>
|
619
|
-
<xsl:with-param name="month" select="$month"/>
|
620
|
-
<xsl:with-param name="day" select="$day"/>
|
621
|
-
<xsl:with-param name="hour" select="$hour"/>
|
622
|
-
<xsl:with-param name="minute" select="$minute"/>
|
623
|
-
<xsl:with-param name="second" select="$second"/>
|
624
|
-
<xsl:with-param name="time-zone" select="$time-zone"/>
|
625
|
-
<xsl:with-param name="format" select="$remainder"/>
|
626
|
-
</xsl:call-template>
|
627
|
-
</xsl:if>
|
628
|
-
|
629
|
-
</xsl:template>
|
630
|
-
|
631
|
-
<doc:template name="dt:calculate-day-of-the-week" xmlns="">
|
632
|
-
<refpurpose>Calculates the day of the week.</refpurpose>
|
633
|
-
|
634
|
-
<refdescription>
|
635
|
-
<para>Given any Gregorian date, this calculates the day of the week.</para>
|
636
|
-
</refdescription>
|
637
|
-
|
638
|
-
<refparameter>
|
639
|
-
<variablelist>
|
640
|
-
<varlistentry>
|
641
|
-
<term>year</term>
|
642
|
-
<listitem>
|
643
|
-
<para>Year</para>
|
644
|
-
</listitem>
|
645
|
-
</varlistentry>
|
646
|
-
<varlistentry>
|
647
|
-
<term>month</term>
|
648
|
-
<listitem>
|
649
|
-
<para>Month (1 - 12; January = 1)</para>
|
650
|
-
</listitem>
|
651
|
-
</varlistentry>
|
652
|
-
<varlistentry>
|
653
|
-
<term>day</term>
|
654
|
-
<listitem>
|
655
|
-
<para>Day of month (1 - 31)</para>
|
656
|
-
</listitem>
|
657
|
-
</varlistentry>
|
658
|
-
</variablelist>
|
659
|
-
</refparameter>
|
660
|
-
|
661
|
-
<refreturn>
|
662
|
-
<para>Returns the day of the week (0 - 6; Sunday = 0).</para>
|
663
|
-
</refreturn>
|
664
|
-
|
665
|
-
</doc:template>
|
666
|
-
|
667
|
-
<xsl:template name="dt:calculate-day-of-the-week">
|
668
|
-
<xsl:param name="year"/>
|
669
|
-
<xsl:param name="month"/>
|
670
|
-
<xsl:param name="day"/>
|
671
|
-
|
672
|
-
<xsl:variable name="a" select="floor((14 - $month) div 12)"/>
|
673
|
-
<xsl:variable name="y" select="$year - $a"/>
|
674
|
-
<xsl:variable name="m" select="$month + 12 * $a - 2"/>
|
675
|
-
|
676
|
-
<xsl:value-of select="($day + $y + floor($y div 4) - floor($y div 100) + floor($y div 400) + floor((31 * $m) div 12)) mod 7"/>
|
677
|
-
|
678
|
-
</xsl:template>
|
679
|
-
|
680
|
-
<doc:template name="dt:calculate-last-day-of-month" xmlns="">
|
681
|
-
<refpurpose>Calculates the number of days for a specified month.</refpurpose>
|
682
|
-
|
683
|
-
<refdescription>
|
684
|
-
<para>Given any Gregorian month, this calculates the last day of the month.</para>
|
685
|
-
</refdescription>
|
686
|
-
|
687
|
-
<refparameter>
|
688
|
-
<variablelist>
|
689
|
-
<varlistentry>
|
690
|
-
<term>year</term>
|
691
|
-
<listitem>
|
692
|
-
<para>Year</para>
|
693
|
-
</listitem>
|
694
|
-
</varlistentry>
|
695
|
-
<varlistentry>
|
696
|
-
<term>month</term>
|
697
|
-
<listitem>
|
698
|
-
<para>Month (1 - 12; January = 1)</para>
|
699
|
-
</listitem>
|
700
|
-
</varlistentry>
|
701
|
-
</variablelist>
|
702
|
-
</refparameter>
|
703
|
-
|
704
|
-
<refreturn>
|
705
|
-
<para>Returns the number of days in given month as a decimal number.</para>
|
706
|
-
</refreturn>
|
707
|
-
</doc:template>
|
708
|
-
|
709
|
-
<xsl:template name="dt:calculate-last-day-of-month">
|
710
|
-
<xsl:param name="year"/>
|
711
|
-
<xsl:param name="month"/>
|
712
|
-
|
713
|
-
<xsl:choose>
|
714
|
-
<xsl:when test="$month = 2">
|
715
|
-
<xsl:choose>
|
716
|
-
<xsl:when test="($year mod 4) = 0 and (($year mod 400) = 0
|
717
|
-
or ($year mod 100) != 0)">29</xsl:when>
|
718
|
-
<xsl:otherwise>28</xsl:otherwise>
|
719
|
-
</xsl:choose>
|
720
|
-
</xsl:when>
|
721
|
-
<xsl:when test="$month < 8">
|
722
|
-
<xsl:choose>
|
723
|
-
<xsl:when test="$month mod 2 = 0">30</xsl:when>
|
724
|
-
<xsl:otherwise>31</xsl:otherwise>
|
725
|
-
</xsl:choose>
|
726
|
-
</xsl:when>
|
727
|
-
<xsl:otherwise>
|
728
|
-
<xsl:choose>
|
729
|
-
<xsl:when test="$month mod 2 = 1">30</xsl:when>
|
730
|
-
<xsl:otherwise>31</xsl:otherwise>
|
731
|
-
</xsl:choose>
|
732
|
-
</xsl:otherwise>
|
733
|
-
</xsl:choose>
|
734
|
-
</xsl:template>
|
735
|
-
|
736
|
-
<doc:template name="dt:get-day-of-the-week-name" xmlns="">
|
737
|
-
<refpurpose>Gets the day of the week's full name.</refpurpose>
|
738
|
-
|
739
|
-
<refdescription>
|
740
|
-
<para>Converts a numeric day of the week value into a string representing the day's full name.</para>
|
741
|
-
</refdescription>
|
742
|
-
|
743
|
-
<refparameter>
|
744
|
-
<variablelist>
|
745
|
-
<varlistentry>
|
746
|
-
<term>day-of-the-week</term>
|
747
|
-
<listitem>
|
748
|
-
<para>Day of the week (0 - 6; Sunday = 0)</para>
|
749
|
-
</listitem>
|
750
|
-
</varlistentry>
|
751
|
-
</variablelist>
|
752
|
-
</refparameter>
|
753
|
-
|
754
|
-
<refreturn>
|
755
|
-
<para>Returns a string.</para>
|
756
|
-
</refreturn>
|
757
|
-
|
758
|
-
</doc:template>
|
759
|
-
|
760
|
-
<xsl:template name="dt:get-day-of-the-week-name">
|
761
|
-
<xsl:param name="day-of-the-week"/>
|
762
|
-
|
763
|
-
<xsl:choose>
|
764
|
-
<xsl:when test="$day-of-the-week = 0">Sunday</xsl:when>
|
765
|
-
<xsl:when test="$day-of-the-week = 1">Monday</xsl:when>
|
766
|
-
<xsl:when test="$day-of-the-week = 2">Tuesday</xsl:when>
|
767
|
-
<xsl:when test="$day-of-the-week = 3">Wednesday</xsl:when>
|
768
|
-
<xsl:when test="$day-of-the-week = 4">Thursday</xsl:when>
|
769
|
-
<xsl:when test="$day-of-the-week = 5">Friday</xsl:when>
|
770
|
-
<xsl:when test="$day-of-the-week = 6">Saturday</xsl:when>
|
771
|
-
<xsl:otherwise>error: <xsl:value-of select="$day-of-the-week"/></xsl:otherwise>
|
772
|
-
</xsl:choose>
|
773
|
-
|
774
|
-
</xsl:template>
|
775
|
-
|
776
|
-
<doc:template name="dt:get-day-of-the-week-abbreviation" xmlns="">
|
777
|
-
<refpurpose>Gets the day of the week's abbreviation.</refpurpose>
|
778
|
-
|
779
|
-
<refdescription>
|
780
|
-
<para>Converts a numeric day of the week value into a string representing the day's abbreviation.</para>
|
781
|
-
</refdescription>
|
782
|
-
|
783
|
-
<refparameter>
|
784
|
-
<variablelist>
|
785
|
-
<varlistentry>
|
786
|
-
<term>day-of-the-week</term>
|
787
|
-
<listitem>
|
788
|
-
<para>Day of the week (0 - 6; Sunday = 0)</para>
|
789
|
-
</listitem>
|
790
|
-
</varlistentry>
|
791
|
-
</variablelist>
|
792
|
-
</refparameter>
|
793
|
-
|
794
|
-
<refreturn>
|
795
|
-
<para>Returns a string.</para>
|
796
|
-
</refreturn>
|
797
|
-
|
798
|
-
</doc:template>
|
799
|
-
|
800
|
-
<xsl:template name="dt:get-day-of-the-week-abbreviation">
|
801
|
-
<xsl:param name="day-of-the-week"/>
|
802
|
-
|
803
|
-
<xsl:choose>
|
804
|
-
<xsl:when test="$day-of-the-week = 0">Sun</xsl:when>
|
805
|
-
<xsl:when test="$day-of-the-week = 1">Mon</xsl:when>
|
806
|
-
<xsl:when test="$day-of-the-week = 2">Tue</xsl:when>
|
807
|
-
<xsl:when test="$day-of-the-week = 3">Wed</xsl:when>
|
808
|
-
<xsl:when test="$day-of-the-week = 4">Thu</xsl:when>
|
809
|
-
<xsl:when test="$day-of-the-week = 5">Fri</xsl:when>
|
810
|
-
<xsl:when test="$day-of-the-week = 6">Sat</xsl:when>
|
811
|
-
<xsl:otherwise>error: <xsl:value-of select="$day-of-the-week"/></xsl:otherwise>
|
812
|
-
</xsl:choose>
|
813
|
-
|
814
|
-
</xsl:template>
|
815
|
-
|
816
|
-
<doc:template name="dt:get-month-name" xmlns="">
|
817
|
-
<refpurpose>Gets the month's full name.</refpurpose>
|
818
|
-
|
819
|
-
<refdescription>
|
820
|
-
<para>Converts a numeric month value into a string representing the month's full name.</para>
|
821
|
-
</refdescription>
|
822
|
-
|
823
|
-
<refparameter>
|
824
|
-
<variablelist>
|
825
|
-
<varlistentry>
|
826
|
-
<term>month</term>
|
827
|
-
<listitem>
|
828
|
-
<para>Month (1 - 12; Januaray = 1)</para>
|
829
|
-
</listitem>
|
830
|
-
</varlistentry>
|
831
|
-
</variablelist>
|
832
|
-
</refparameter>
|
833
|
-
|
834
|
-
<refreturn>
|
835
|
-
<para>Returns a string.</para>
|
836
|
-
</refreturn>
|
837
|
-
|
838
|
-
</doc:template>
|
839
|
-
|
840
|
-
<xsl:template name="dt:get-month-name">
|
841
|
-
<xsl:param name="month"/>
|
842
|
-
|
843
|
-
<xsl:choose>
|
844
|
-
<xsl:when test="$month = 1">January</xsl:when>
|
845
|
-
<xsl:when test="$month = 2">February</xsl:when>
|
846
|
-
<xsl:when test="$month = 3">March</xsl:when>
|
847
|
-
<xsl:when test="$month = 4">April</xsl:when>
|
848
|
-
<xsl:when test="$month = 5">May</xsl:when>
|
849
|
-
<xsl:when test="$month = 6">June</xsl:when>
|
850
|
-
<xsl:when test="$month = 7">July</xsl:when>
|
851
|
-
<xsl:when test="$month = 8">August</xsl:when>
|
852
|
-
<xsl:when test="$month = 9">September</xsl:when>
|
853
|
-
<xsl:when test="$month = 10">October</xsl:when>
|
854
|
-
<xsl:when test="$month = 11">November</xsl:when>
|
855
|
-
<xsl:when test="$month = 12">December</xsl:when>
|
856
|
-
<xsl:otherwise>error: <xsl:value-of select="$month"/></xsl:otherwise>
|
857
|
-
</xsl:choose>
|
858
|
-
|
859
|
-
</xsl:template>
|
860
|
-
|
861
|
-
<doc:template name="dt:get-month-abbreviation" xmlns="">
|
862
|
-
<refpurpose>Gets the month's abbreviation.</refpurpose>
|
863
|
-
|
864
|
-
<refdescription>
|
865
|
-
<para>Converts a numeric month value into a string representing the month's abbreviation.</para>
|
866
|
-
</refdescription>
|
867
|
-
|
868
|
-
<refparameter>
|
869
|
-
<variablelist>
|
870
|
-
<varlistentry>
|
871
|
-
<term>month</term>
|
872
|
-
<listitem>
|
873
|
-
<para>Month (1 - 12; Januaray = 1)</para>
|
874
|
-
</listitem>
|
875
|
-
</varlistentry>
|
876
|
-
</variablelist>
|
877
|
-
</refparameter>
|
878
|
-
|
879
|
-
<refreturn>
|
880
|
-
<para>Returns a string.</para>
|
881
|
-
</refreturn>
|
882
|
-
|
883
|
-
</doc:template>
|
884
|
-
|
885
|
-
<xsl:template name="dt:get-month-abbreviation">
|
886
|
-
<xsl:param name="month"/>
|
887
|
-
|
888
|
-
<xsl:choose>
|
889
|
-
<xsl:when test="$month = 1">Jan</xsl:when>
|
890
|
-
<xsl:when test="$month = 2">Feb</xsl:when>
|
891
|
-
<xsl:when test="$month = 3">Mar</xsl:when>
|
892
|
-
<xsl:when test="$month = 4">Apr</xsl:when>
|
893
|
-
<xsl:when test="$month = 5">May</xsl:when>
|
894
|
-
<xsl:when test="$month = 6">Jun</xsl:when>
|
895
|
-
<xsl:when test="$month = 7">Jul</xsl:when>
|
896
|
-
<xsl:when test="$month = 8">Aug</xsl:when>
|
897
|
-
<xsl:when test="$month = 9">Sep</xsl:when>
|
898
|
-
<xsl:when test="$month = 10">Oct</xsl:when>
|
899
|
-
<xsl:when test="$month = 11">Nov</xsl:when>
|
900
|
-
<xsl:when test="$month = 12">Dec</xsl:when>
|
901
|
-
<xsl:otherwise>error: <xsl:value-of select="$month"/></xsl:otherwise>
|
902
|
-
</xsl:choose>
|
903
|
-
|
904
|
-
</xsl:template>
|
905
|
-
|
906
|
-
<doc:template name="dt:calculate-julian-day" xmlns="">
|
907
|
-
<refpurpose>Calculates the Julian Day for a specified date.</refpurpose>
|
908
|
-
|
909
|
-
<refdescription>
|
910
|
-
<para>Given any Gregorian date, this calculates the Julian Day.</para>
|
911
|
-
</refdescription>
|
912
|
-
|
913
|
-
<refparameter>
|
914
|
-
<variablelist>
|
915
|
-
<varlistentry>
|
916
|
-
<term>year</term>
|
917
|
-
<listitem>
|
918
|
-
<para>Year</para>
|
919
|
-
</listitem>
|
920
|
-
</varlistentry>
|
921
|
-
<varlistentry>
|
922
|
-
<term>month</term>
|
923
|
-
<listitem>
|
924
|
-
<para>Month (1 - 12; January = 1)</para>
|
925
|
-
</listitem>
|
926
|
-
</varlistentry>
|
927
|
-
<varlistentry>
|
928
|
-
<term>day</term>
|
929
|
-
<listitem>
|
930
|
-
<para>Day of month (1 - 31)</para>
|
931
|
-
</listitem>
|
932
|
-
</varlistentry>
|
933
|
-
</variablelist>
|
934
|
-
</refparameter>
|
935
|
-
|
936
|
-
<refreturn>
|
937
|
-
<para>Returns the Julian Day as a decimal number.</para>
|
938
|
-
</refreturn>
|
939
|
-
|
940
|
-
</doc:template>
|
941
|
-
|
942
|
-
<xsl:template name="dt:calculate-julian-day">
|
943
|
-
<xsl:param name="year"/>
|
944
|
-
<xsl:param name="month"/>
|
945
|
-
<xsl:param name="day"/>
|
946
|
-
|
947
|
-
<xsl:variable name="a" select="floor((14 - $month) div 12)"/>
|
948
|
-
<xsl:variable name="y" select="$year + 4800 - $a"/>
|
949
|
-
<xsl:variable name="m" select="$month + 12 * $a - 3"/>
|
950
|
-
|
951
|
-
<xsl:value-of select="$day + floor((153 * $m + 2) div 5) + $y * 365 + floor($y div 4) - floor($y div 100) + floor($y div 400) - 32045"/>
|
952
|
-
|
953
|
-
</xsl:template>
|
954
|
-
|
955
|
-
<doc:template name="dt:format-julian-day" xmlns="">
|
956
|
-
<refpurpose>Returns a string with a formatted date for a specified Julian Day.</refpurpose>
|
957
|
-
|
958
|
-
<refdescription>
|
959
|
-
<para>Given any Julian Day, this returns a string according to the format specification.</para>
|
960
|
-
</refdescription>
|
961
|
-
|
962
|
-
<refparameter>
|
963
|
-
<variablelist>
|
964
|
-
<varlistentry>
|
965
|
-
<term>julian-day</term>
|
966
|
-
<listitem>
|
967
|
-
<para>A Julian Day</para>
|
968
|
-
</listitem>
|
969
|
-
</varlistentry>
|
970
|
-
<varlistentry>
|
971
|
-
<term>format</term>
|
972
|
-
<listitem>
|
973
|
-
<para>The format specification. See dt:format-date-time for more details.</para>
|
974
|
-
</listitem>
|
975
|
-
</varlistentry>
|
976
|
-
</variablelist>
|
977
|
-
</refparameter>
|
978
|
-
|
979
|
-
<refreturn>
|
980
|
-
<para>A string.</para>
|
981
|
-
</refreturn>
|
982
|
-
|
983
|
-
</doc:template>
|
984
|
-
|
985
|
-
<xsl:template name="dt:format-julian-day">
|
986
|
-
<xsl:param name="julian-day"/>
|
987
|
-
<xsl:param name="format" select="'%Y-%m-%d'"/>
|
988
|
-
|
989
|
-
<xsl:variable name="a" select="$julian-day + 32044"/>
|
990
|
-
<xsl:variable name="b" select="floor((4 * $a + 3) div 146097)"/>
|
991
|
-
<xsl:variable name="c" select="$a - floor(($b * 146097) div 4)"/>
|
992
|
-
|
993
|
-
<xsl:variable name="d" select="floor((4 * $c + 3) div 1461)"/>
|
994
|
-
<xsl:variable name="e" select="$c - floor((1461 * $d) div 4)"/>
|
995
|
-
<xsl:variable name="m" select="floor((5 * $e + 2) div 153)"/>
|
996
|
-
|
997
|
-
<xsl:variable name="day" select="$e - floor((153 * $m + 2) div 5) + 1"/>
|
998
|
-
<xsl:variable name="month" select="$m + 3 - 12 * floor($m div 10)"/>
|
999
|
-
<xsl:variable name="year" select="$b * 100 + $d - 4800 + floor($m div 10)"/>
|
1000
|
-
|
1001
|
-
<xsl:call-template name="dt:format-date-time">
|
1002
|
-
<xsl:with-param name="year" select="$year"/>
|
1003
|
-
<xsl:with-param name="month" select="$month"/>
|
1004
|
-
<xsl:with-param name="day" select="$day"/>
|
1005
|
-
<xsl:with-param name="format" select="$format"/>
|
1006
|
-
</xsl:call-template>
|
1007
|
-
|
1008
|
-
</xsl:template>
|
1009
|
-
|
1010
|
-
<doc:template name="dt:calculate-week-number" xmlns="">
|
1011
|
-
<refpurpose>Calculates the week number for a specified date.</refpurpose>
|
1012
|
-
|
1013
|
-
<refdescription>
|
1014
|
-
<para>Assumes Monday is the first day of the week.</para>
|
1015
|
-
</refdescription>
|
1016
|
-
|
1017
|
-
<refparameter>
|
1018
|
-
<variablelist>
|
1019
|
-
<varlistentry>
|
1020
|
-
<term>year</term>
|
1021
|
-
<listitem>
|
1022
|
-
<para>Year</para>
|
1023
|
-
</listitem>
|
1024
|
-
</varlistentry>
|
1025
|
-
<varlistentry>
|
1026
|
-
<term>month</term>
|
1027
|
-
<listitem>
|
1028
|
-
<para>Month (1 - 12; January = 1)</para>
|
1029
|
-
</listitem>
|
1030
|
-
</varlistentry>
|
1031
|
-
<varlistentry>
|
1032
|
-
<term>day</term>
|
1033
|
-
<listitem>
|
1034
|
-
<para>Day of month (1 - 31)</para>
|
1035
|
-
</listitem>
|
1036
|
-
</varlistentry>
|
1037
|
-
</variablelist>
|
1038
|
-
</refparameter>
|
1039
|
-
|
1040
|
-
<refreturn>
|
1041
|
-
<para>Returns the week number as a decimal number.</para>
|
1042
|
-
</refreturn>
|
1043
|
-
|
1044
|
-
</doc:template>
|
1045
|
-
|
1046
|
-
<xsl:template name="dt:calculate-week-number">
|
1047
|
-
<xsl:param name="year"/>
|
1048
|
-
<xsl:param name="month"/>
|
1049
|
-
<xsl:param name="day"/>
|
1050
|
-
|
1051
|
-
<xsl:variable name="J">
|
1052
|
-
<xsl:call-template name="dt:calculate-julian-day">
|
1053
|
-
<xsl:with-param name="year" select="$year"/>
|
1054
|
-
<xsl:with-param name="month" select="$month"/>
|
1055
|
-
<xsl:with-param name="day" select="$day"/>
|
1056
|
-
</xsl:call-template>
|
1057
|
-
</xsl:variable>
|
1058
|
-
|
1059
|
-
<xsl:variable name="d4" select="($J + 31741 - ($J mod 7)) mod 146097 mod 36524 mod 1461"/>
|
1060
|
-
<xsl:variable name="L" select="floor($d4 div 1460)"/>
|
1061
|
-
<xsl:variable name="d1" select="(($d4 - $L) mod 365) + $L"/>
|
1062
|
-
|
1063
|
-
<xsl:value-of select="floor($d1 div 7) + 1"/>
|
1064
|
-
|
1065
|
-
</xsl:template>
|
1066
|
-
|
1067
|
-
<doc:template name="dt:get-month-number" xmlns="">
|
1068
|
-
<refpurpose>Take a month by name and return a number which can be used as input to the templates. </refpurpose>
|
1069
|
-
|
1070
|
-
<refdescription>
|
1071
|
-
<para>Input</para>
|
1072
|
-
</refdescription>
|
1073
|
-
|
1074
|
-
<refparameter>
|
1075
|
-
<variablelist>
|
1076
|
-
<varlistentry>
|
1077
|
-
<term>month</term>
|
1078
|
-
<listitem>
|
1079
|
-
<para>Month as described either by full name or abbreviation.</para>
|
1080
|
-
</listitem>
|
1081
|
-
</varlistentry>
|
1082
|
-
</variablelist>
|
1083
|
-
</refparameter>
|
1084
|
-
|
1085
|
-
<refreturn>
|
1086
|
-
<para>Return a month as a decimal number. (Jan = 1)</para>
|
1087
|
-
</refreturn>
|
1088
|
-
</doc:template>
|
1089
|
-
|
1090
|
-
<xsl:template name='dt:get-month-number'>
|
1091
|
-
<xsl:param name='month'/>
|
1092
|
-
|
1093
|
-
<xsl:variable name='monToUpper'>
|
1094
|
-
<xsl:call-template name='str:to-upper'>
|
1095
|
-
<xsl:with-param name='text' select='$month'/>
|
1096
|
-
</xsl:call-template>
|
1097
|
-
</xsl:variable>
|
1098
|
-
|
1099
|
-
<xsl:choose>
|
1100
|
-
<xsl:when test='starts-with($monToUpper,"JAN")'>
|
1101
|
-
<xsl:value-of select='"1"'/>
|
1102
|
-
</xsl:when>
|
1103
|
-
<xsl:when test='starts-with($monToUpper,"FEB")'>
|
1104
|
-
<xsl:value-of select='2'/>
|
1105
|
-
</xsl:when>
|
1106
|
-
<xsl:when test='starts-with($monToUpper,"MAR")'>
|
1107
|
-
<xsl:value-of select='3'/>
|
1108
|
-
</xsl:when>
|
1109
|
-
<xsl:when test='starts-with($monToUpper,"APR")'>
|
1110
|
-
<xsl:value-of select='4'/>
|
1111
|
-
</xsl:when>
|
1112
|
-
<xsl:when test='starts-with($monToUpper,"MAY")'>
|
1113
|
-
<xsl:value-of select='5'/>
|
1114
|
-
</xsl:when>
|
1115
|
-
<xsl:when test='starts-with($monToUpper,"JUN")'>
|
1116
|
-
<xsl:value-of select='6'/>
|
1117
|
-
</xsl:when>
|
1118
|
-
<xsl:when test='starts-with($monToUpper,"JUL")'>
|
1119
|
-
<xsl:value-of select='7'/>
|
1120
|
-
</xsl:when>
|
1121
|
-
<xsl:when test='starts-with($monToUpper,"AUG")'>
|
1122
|
-
<xsl:value-of select='8'/>
|
1123
|
-
</xsl:when>
|
1124
|
-
<xsl:when test='starts-with($monToUpper,"SEP")'>
|
1125
|
-
<xsl:value-of select='9'/>
|
1126
|
-
</xsl:when>
|
1127
|
-
<xsl:when test='starts-with($monToUpper,"OCT")'>
|
1128
|
-
<xsl:value-of select='10'/>
|
1129
|
-
</xsl:when>
|
1130
|
-
<xsl:when test='starts-with($monToUpper,"NOV")'>
|
1131
|
-
<xsl:value-of select='11'/>
|
1132
|
-
</xsl:when>
|
1133
|
-
<xsl:when test='starts-with($monToUpper,"DEC")'>
|
1134
|
-
<xsl:value-of select='"12"'/>
|
1135
|
-
</xsl:when>
|
1136
|
-
</xsl:choose>
|
1137
|
-
</xsl:template>
|
1138
|
-
|
1139
|
-
<doc:template name="dt:get-xsd-datetime-year" xmlns="">
|
1140
|
-
<refpurpose>Return year component of XSD DateTime value.</refpurpose>
|
1141
|
-
|
1142
|
-
<refdescription>
|
1143
|
-
<para>Extract component of XML Schemas DateTime value.</para>
|
1144
|
-
</refdescription>
|
1145
|
-
|
1146
|
-
<refparameter>
|
1147
|
-
<variablelist>
|
1148
|
-
<varlistentry>
|
1149
|
-
<term>xsd-date-time</term>
|
1150
|
-
<listitem>
|
1151
|
-
<para>A value in XSD DateTime format.</para>
|
1152
|
-
</listitem>
|
1153
|
-
</varlistentry>
|
1154
|
-
</variablelist>
|
1155
|
-
</refparameter>
|
1156
|
-
|
1157
|
-
<refreturn>
|
1158
|
-
<para>Returns year component.</para>
|
1159
|
-
</refreturn>
|
1160
|
-
</doc:template>
|
1161
|
-
|
1162
|
-
<xsl:template name='dt:get-xsd-datetime-year'>
|
1163
|
-
<xsl:param name='xsd-date-time'/>
|
1164
|
-
|
1165
|
-
<xsl:choose>
|
1166
|
-
<xsl:when test='contains($xsd-date-time, "T")'>
|
1167
|
-
<xsl:call-template name='dt:get-xsd-datetime-year'>
|
1168
|
-
<xsl:with-param name='xsd-date-time' select='substring-before($xsd-date-time, "T")'/>
|
1169
|
-
</xsl:call-template>
|
1170
|
-
</xsl:when>
|
1171
|
-
|
1172
|
-
<!-- Check for time -->
|
1173
|
-
<xsl:when test='substring($xsd-date-time, 3, 1) = ":"'/>
|
1174
|
-
|
1175
|
-
<xsl:otherwise>
|
1176
|
-
<!-- This is a date -->
|
1177
|
-
<xsl:value-of select='substring-before($xsd-date-time, "-")'/>
|
1178
|
-
</xsl:otherwise>
|
1179
|
-
</xsl:choose>
|
1180
|
-
</xsl:template>
|
1181
|
-
|
1182
|
-
<doc:template name="dt:get-xsd-datetime-month" xmlns="">
|
1183
|
-
<refpurpose>Return month component of XSD DateTime value.</refpurpose>
|
1184
|
-
|
1185
|
-
<refdescription>
|
1186
|
-
<para>Extract component of XML Schemas DateTime value.</para>
|
1187
|
-
</refdescription>
|
1188
|
-
|
1189
|
-
<refparameter>
|
1190
|
-
<variablelist>
|
1191
|
-
<varlistentry>
|
1192
|
-
<term>xsd-date-time</term>
|
1193
|
-
<listitem>
|
1194
|
-
<para>A value in XSD DateTime format.</para>
|
1195
|
-
</listitem>
|
1196
|
-
</varlistentry>
|
1197
|
-
</variablelist>
|
1198
|
-
</refparameter>
|
1199
|
-
|
1200
|
-
<refreturn>
|
1201
|
-
<para>Returns month component.</para>
|
1202
|
-
</refreturn>
|
1203
|
-
</doc:template>
|
1204
|
-
|
1205
|
-
<xsl:template name='dt:get-xsd-datetime-month'>
|
1206
|
-
<xsl:param name='xsd-date-time'/>
|
1207
|
-
|
1208
|
-
<xsl:choose>
|
1209
|
-
<xsl:when test='contains($xsd-date-time, "T")'>
|
1210
|
-
<xsl:call-template name='dt:get-xsd-datetime-month'>
|
1211
|
-
<xsl:with-param name='xsd-date-time' select='substring-before($xsd-date-time, "T")'/>
|
1212
|
-
</xsl:call-template>
|
1213
|
-
</xsl:when>
|
1214
|
-
|
1215
|
-
<!-- Check for time -->
|
1216
|
-
<xsl:when test='substring($xsd-date-time, 3, 1) = ":"'/>
|
1217
|
-
|
1218
|
-
<xsl:otherwise>
|
1219
|
-
<!-- This is a date -->
|
1220
|
-
<xsl:value-of select='substring(substring-after($xsd-date-time, "-"), 1, 2)'/>
|
1221
|
-
</xsl:otherwise>
|
1222
|
-
</xsl:choose>
|
1223
|
-
</xsl:template>
|
1224
|
-
|
1225
|
-
<doc:template name="dt:get-xsd-datetime-day" xmlns="">
|
1226
|
-
<refpurpose>Return day component of XSD DateTime value.</refpurpose>
|
1227
|
-
|
1228
|
-
<refdescription>
|
1229
|
-
<para>Extract component of XML Schemas DateTime value.</para>
|
1230
|
-
</refdescription>
|
1231
|
-
|
1232
|
-
<refparameter>
|
1233
|
-
<variablelist>
|
1234
|
-
<varlistentry>
|
1235
|
-
<term>xsd-date-time</term>
|
1236
|
-
<listitem>
|
1237
|
-
<para>A value in XSD DateTime format.</para>
|
1238
|
-
</listitem>
|
1239
|
-
</varlistentry>
|
1240
|
-
</variablelist>
|
1241
|
-
</refparameter>
|
1242
|
-
|
1243
|
-
<refreturn>
|
1244
|
-
<para>Returns day component.</para>
|
1245
|
-
</refreturn>
|
1246
|
-
</doc:template>
|
1247
|
-
|
1248
|
-
<xsl:template name='dt:get-xsd-datetime-day'>
|
1249
|
-
<xsl:param name='xsd-date-time'/>
|
1250
|
-
|
1251
|
-
<xsl:choose>
|
1252
|
-
<xsl:when test='contains($xsd-date-time, "T")'>
|
1253
|
-
<xsl:call-template name='dt:get-xsd-datetime-day'>
|
1254
|
-
<xsl:with-param name='xsd-date-time' select='substring-before($xsd-date-time, "T")'/>
|
1255
|
-
</xsl:call-template>
|
1256
|
-
</xsl:when>
|
1257
|
-
|
1258
|
-
<!-- Check for time -->
|
1259
|
-
<xsl:when test='substring($xsd-date-time, 3, 1) = ":"'/>
|
1260
|
-
|
1261
|
-
<xsl:otherwise>
|
1262
|
-
<!-- This is a date -->
|
1263
|
-
<xsl:value-of select='substring(substring-after($xsd-date-time, "-"), 4, 2)'/>
|
1264
|
-
</xsl:otherwise>
|
1265
|
-
</xsl:choose>
|
1266
|
-
</xsl:template>
|
1267
|
-
|
1268
|
-
<doc:template name="dt:get-xsd-datetime-hour" xmlns="">
|
1269
|
-
<refpurpose>Return hour component of XSD DateTime value.</refpurpose>
|
1270
|
-
|
1271
|
-
<refdescription>
|
1272
|
-
<para>Extract component of XML Schemas DateTime value.</para>
|
1273
|
-
</refdescription>
|
1274
|
-
|
1275
|
-
<refparameter>
|
1276
|
-
<variablelist>
|
1277
|
-
<varlistentry>
|
1278
|
-
<term>xsd-date-time</term>
|
1279
|
-
<listitem>
|
1280
|
-
<para>A value in XSD DateTime format.</para>
|
1281
|
-
</listitem>
|
1282
|
-
</varlistentry>
|
1283
|
-
</variablelist>
|
1284
|
-
</refparameter>
|
1285
|
-
|
1286
|
-
<refreturn>
|
1287
|
-
<para>Returns hour component.</para>
|
1288
|
-
</refreturn>
|
1289
|
-
</doc:template>
|
1290
|
-
|
1291
|
-
<xsl:template name='dt:get-xsd-datetime-hour'>
|
1292
|
-
<xsl:param name='xsd-date-time'/>
|
1293
|
-
|
1294
|
-
<xsl:choose>
|
1295
|
-
<xsl:when test='contains($xsd-date-time, "T")'>
|
1296
|
-
<xsl:call-template name='dt:get-xsd-datetime-hour'>
|
1297
|
-
<xsl:with-param name='xsd-date-time' select='substring-after($xsd-date-time, "T")'/>
|
1298
|
-
</xsl:call-template>
|
1299
|
-
</xsl:when>
|
1300
|
-
|
1301
|
-
<!-- Check for time -->
|
1302
|
-
<xsl:when test='substring($xsd-date-time, 3, 1) = ":"'>
|
1303
|
-
<xsl:value-of select='substring($xsd-date-time, 1, 2)'/>
|
1304
|
-
</xsl:when>
|
1305
|
-
|
1306
|
-
<xsl:otherwise>
|
1307
|
-
<!-- This is a date -->
|
1308
|
-
</xsl:otherwise>
|
1309
|
-
</xsl:choose>
|
1310
|
-
</xsl:template>
|
1311
|
-
|
1312
|
-
<doc:template name="dt:get-xsd-datetime-minute" xmlns="">
|
1313
|
-
<refpurpose>Return minute component of XSD DateTime value.</refpurpose>
|
1314
|
-
|
1315
|
-
<refdescription>
|
1316
|
-
<para>Extract component of XML Schemas DateTime value.</para>
|
1317
|
-
</refdescription>
|
1318
|
-
|
1319
|
-
<refparameter>
|
1320
|
-
<variablelist>
|
1321
|
-
<varlistentry>
|
1322
|
-
<term>xsd-date-time</term>
|
1323
|
-
<listitem>
|
1324
|
-
<para>A value in XSD DateTime format.</para>
|
1325
|
-
</listitem>
|
1326
|
-
</varlistentry>
|
1327
|
-
</variablelist>
|
1328
|
-
</refparameter>
|
1329
|
-
|
1330
|
-
<refreturn>
|
1331
|
-
<para>Returns minute component.</para>
|
1332
|
-
</refreturn>
|
1333
|
-
</doc:template>
|
1334
|
-
|
1335
|
-
<xsl:template name='dt:get-xsd-datetime-minute'>
|
1336
|
-
<xsl:param name='xsd-date-time'/>
|
1337
|
-
|
1338
|
-
<xsl:choose>
|
1339
|
-
<xsl:when test='contains($xsd-date-time, "T")'>
|
1340
|
-
<xsl:call-template name='dt:get-xsd-datetime-minute'>
|
1341
|
-
<xsl:with-param name='xsd-date-time' select='substring-after($xsd-date-time, "T")'/>
|
1342
|
-
</xsl:call-template>
|
1343
|
-
</xsl:when>
|
1344
|
-
|
1345
|
-
<!-- Check for time -->
|
1346
|
-
<xsl:when test='substring($xsd-date-time, 3, 1) = ":"'>
|
1347
|
-
<xsl:value-of select='substring($xsd-date-time, 4, 2)'/>
|
1348
|
-
</xsl:when>
|
1349
|
-
|
1350
|
-
<xsl:otherwise>
|
1351
|
-
<!-- This is a date -->
|
1352
|
-
</xsl:otherwise>
|
1353
|
-
</xsl:choose>
|
1354
|
-
</xsl:template>
|
1355
|
-
|
1356
|
-
<doc:template name="dt:get-xsd-datetime-second" xmlns="">
|
1357
|
-
<refpurpose>Return second component of XSD DateTime value.</refpurpose>
|
1358
|
-
|
1359
|
-
<refdescription>
|
1360
|
-
<para>Extract component of XML Schemas DateTime value.</para>
|
1361
|
-
</refdescription>
|
1362
|
-
|
1363
|
-
<refparameter>
|
1364
|
-
<variablelist>
|
1365
|
-
<varlistentry>
|
1366
|
-
<term>xsd-date-time</term>
|
1367
|
-
<listitem>
|
1368
|
-
<para>A value in XSD DateTime format.</para>
|
1369
|
-
</listitem>
|
1370
|
-
</varlistentry>
|
1371
|
-
</variablelist>
|
1372
|
-
</refparameter>
|
1373
|
-
|
1374
|
-
<refreturn>
|
1375
|
-
<para>Returns second component.</para>
|
1376
|
-
</refreturn>
|
1377
|
-
</doc:template>
|
1378
|
-
|
1379
|
-
<xsl:template name='dt:get-xsd-datetime-second'>
|
1380
|
-
<xsl:param name='xsd-date-time'/>
|
1381
|
-
|
1382
|
-
<xsl:choose>
|
1383
|
-
<xsl:when test='contains($xsd-date-time, "T")'>
|
1384
|
-
<xsl:call-template name='dt:get-xsd-datetime-second'>
|
1385
|
-
<xsl:with-param name='xsd-date-time' select='substring-after($xsd-date-time, "T")'/>
|
1386
|
-
</xsl:call-template>
|
1387
|
-
</xsl:when>
|
1388
|
-
|
1389
|
-
<!-- Check for time -->
|
1390
|
-
<xsl:when test='substring($xsd-date-time, 3, 1) = ":"'>
|
1391
|
-
<xsl:variable name='part' select='substring($xsd-date-time, 7)'/>
|
1392
|
-
<xsl:choose>
|
1393
|
-
<xsl:when test='contains($part, "Z")'>
|
1394
|
-
<xsl:value-of select='substring-before($part, "Z")'/>
|
1395
|
-
</xsl:when>
|
1396
|
-
<xsl:when test='contains($part, "+")'>
|
1397
|
-
<xsl:value-of select='substring-before($part, "+")'/>
|
1398
|
-
</xsl:when>
|
1399
|
-
<xsl:when test='contains($part, "-")'>
|
1400
|
-
<xsl:value-of select='substring-before($part, "-")'/>
|
1401
|
-
</xsl:when>
|
1402
|
-
<xsl:otherwise>
|
1403
|
-
<xsl:value-of select='$part'/>
|
1404
|
-
</xsl:otherwise>
|
1405
|
-
</xsl:choose>
|
1406
|
-
</xsl:when>
|
1407
|
-
|
1408
|
-
<xsl:otherwise>
|
1409
|
-
<!-- This is a date -->
|
1410
|
-
</xsl:otherwise>
|
1411
|
-
</xsl:choose>
|
1412
|
-
</xsl:template>
|
1413
|
-
|
1414
|
-
<doc:template name="dt:get-xsd-datetime-timezone" xmlns="">
|
1415
|
-
<refpurpose>Return timezone component of XSD DateTime value.</refpurpose>
|
1416
|
-
|
1417
|
-
<refdescription>
|
1418
|
-
<para>Extract component of XML Schemas DateTime value.</para>
|
1419
|
-
</refdescription>
|
1420
|
-
|
1421
|
-
<refparameter>
|
1422
|
-
<variablelist>
|
1423
|
-
<varlistentry>
|
1424
|
-
<term>xsd-date-time</term>
|
1425
|
-
<listitem>
|
1426
|
-
<para>A value in XSD DateTime format.</para>
|
1427
|
-
</listitem>
|
1428
|
-
</varlistentry>
|
1429
|
-
</variablelist>
|
1430
|
-
</refparameter>
|
1431
|
-
|
1432
|
-
<refreturn>
|
1433
|
-
<para>Returns timezone component.</para>
|
1434
|
-
</refreturn>
|
1435
|
-
</doc:template>
|
1436
|
-
|
1437
|
-
<xsl:template name='dt:get-xsd-datetime-timezone'>
|
1438
|
-
<xsl:param name='xsd-date-time'/>
|
1439
|
-
|
1440
|
-
<xsl:choose>
|
1441
|
-
<xsl:when test='contains($xsd-date-time, "Z")'>Z</xsl:when>
|
1442
|
-
<xsl:when test='contains($xsd-date-time, "T")'>
|
1443
|
-
<xsl:call-template name='dt:get-xsd-datetime-timezone'>
|
1444
|
-
<xsl:with-param name='xsd-date-time' select='substring-after($xsd-date-time, "T")'/>
|
1445
|
-
</xsl:call-template>
|
1446
|
-
</xsl:when>
|
1447
|
-
|
1448
|
-
<xsl:when test='substring($xsd-date-time, 3, 1) = ":"'>
|
1449
|
-
<!-- This is a time -->
|
1450
|
-
<xsl:choose>
|
1451
|
-
<xsl:when test='contains($xsd-date-time, "+")'>
|
1452
|
-
<xsl:text>+</xsl:text>
|
1453
|
-
<xsl:value-of select='substring-after($xsd-date-time, "+")'/>
|
1454
|
-
</xsl:when>
|
1455
|
-
<xsl:when test='contains($xsd-date-time, "-")'>
|
1456
|
-
<xsl:text>-</xsl:text>
|
1457
|
-
<xsl:value-of select='substring-after($xsd-date-time, "-")'/>
|
1458
|
-
</xsl:when>
|
1459
|
-
</xsl:choose>
|
1460
|
-
</xsl:when>
|
1461
|
-
<xsl:otherwise>
|
1462
|
-
<!-- This is a date -->
|
1463
|
-
<xsl:value-of select='substring(substring-after($xsd-date-time, "-"), 6)'/>
|
1464
|
-
</xsl:otherwise>
|
1465
|
-
</xsl:choose>
|
1466
|
-
</xsl:template>
|
1467
|
-
|
1468
|
-
<doc:template name="dt:format-two-digit-year" xmlns="">
|
1469
|
-
<refpurpose>Return two digit year as four digit year value.</refpurpose>
|
1470
|
-
|
1471
|
-
<refdescription>
|
1472
|
-
<para>Prepend century to two digit year value.</para>
|
1473
|
-
<para>Century value is calculated according to suggested solutions in RFC2626 (section 5).</para>
|
1474
|
-
<para>Fixed window solution: 20 is prepended to year if the year is less than 50, otherwise 19 is prepended to year.</para>
|
1475
|
-
<para>Sliding window solution: The year is considered in the future if the year is less than the current 2 digit year plus 'n' years (where 'n' is a param), otherwise it is considered in the past.</para>
|
1476
|
-
</refdescription>
|
1477
|
-
|
1478
|
-
<refparameter>
|
1479
|
-
<variablelist>
|
1480
|
-
<varlistentry>
|
1481
|
-
<term>year</term>
|
1482
|
-
<listitem>
|
1483
|
-
<para>A year value in 2 digit format.</para>
|
1484
|
-
</listitem>
|
1485
|
-
</varlistentry>
|
1486
|
-
<varlistentry>
|
1487
|
-
<term>method</term>
|
1488
|
-
<listitem>
|
1489
|
-
<para>RFC2626 suggested solution ('fixed' or 'sliding'). Default is 'fixed'.</para>
|
1490
|
-
</listitem>
|
1491
|
-
</varlistentry>
|
1492
|
-
<varlistentry>
|
1493
|
-
<term>n</term>
|
1494
|
-
<listitem>
|
1495
|
-
<para>No. of years. Used in sliding windows solution.</para>
|
1496
|
-
</listitem>
|
1497
|
-
</varlistentry>
|
1498
|
-
</variablelist>
|
1499
|
-
</refparameter>
|
1500
|
-
|
1501
|
-
<refreturn>
|
1502
|
-
<para>Returns four digit year value.</para>
|
1503
|
-
</refreturn>
|
1504
|
-
</doc:template>
|
1505
|
-
|
1506
|
-
<xsl:template name="dt:format-two-digit-year">
|
1507
|
-
<xsl:param name="year" />
|
1508
|
-
<xsl:param name="method" select="'fixed'"/>
|
1509
|
-
|
1510
|
-
<xsl:choose>
|
1511
|
-
<xsl:when test="string-length($year) != 2">invalid year value</xsl:when>
|
1512
|
-
<xsl:when test="$method = 'fixed'">
|
1513
|
-
<xsl:choose>
|
1514
|
-
<xsl:when test="$year < 50">20</xsl:when>
|
1515
|
-
<xsl:otherwise>19</xsl:otherwise>
|
1516
|
-
</xsl:choose>
|
1517
|
-
<xsl:value-of select="$year" />
|
1518
|
-
</xsl:when>
|
1519
|
-
<xsl:when test="$method = 'window'">not yet implemented</xsl:when>
|
1520
|
-
<xsl:otherwise>invalid method</xsl:otherwise>
|
1521
|
-
</xsl:choose>
|
1522
|
-
</xsl:template>
|
1523
|
-
|
1524
|
-
</xsl:stylesheet>
|