Offset 1, 9 lines modified | Offset 1, 9 lines modified | ||
1 | -rw-r--r--···0·root·········(0)·root·········(0)·····9193·2024-03-13·18:25:33.000000·.BUILDINFO | 1 | -rw-r--r--···0·root·········(0)·root·········(0)·····9193·2024-03-13·18:25:33.000000·.BUILDINFO |
2 | -rw-r--r--···0·root·········(0)·root·········(0)····1049 | 2 | -rw-r--r--···0·root·········(0)·root·········(0)····10499·2024-03-13·18:25:33.000000·.MTREE |
3 | -rw-r--r--···0·root·········(0)·root·········(0)······863·2024-03-13·18:25:33.000000·.PKGINFO | 3 | -rw-r--r--···0·root·········(0)·root·········(0)······863·2024-03-13·18:25:33.000000·.PKGINFO |
4 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-03-13·18:25:33.000000·usr/ | 4 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-03-13·18:25:33.000000·usr/ |
5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-03-13·18:25:33.000000·usr/share/ | 5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-03-13·18:25:33.000000·usr/share/ |
6 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-03-13·18:25:33.000000·usr/share/doc/ | 6 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-03-13·18:25:33.000000·usr/share/doc/ |
7 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-03-13·18:25:33.000000·usr/share/doc/python-lxml/ | 7 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-03-13·18:25:33.000000·usr/share/doc/python-lxml/ |
8 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-03-13·18:25:33.000000·usr/share/doc/python-lxml/html/ | 8 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-03-13·18:25:33.000000·usr/share/doc/python-lxml/html/ |
9 | -rw-r--r--···0·root·········(0)·root·········(0)····97336·2024-03-13·18:25:33.000000·usr/share/doc/python-lxml/html/FAQ.html | 9 | -rw-r--r--···0·root·········(0)·root·········(0)····97336·2024-03-13·18:25:33.000000·usr/share/doc/python-lxml/html/FAQ.html |
Offset 5, 48 lines modified | Offset 5, 48 lines modified | ||
5 | ./usr·time=1710354333.0·mode=755·type=dir | 5 | ./usr·time=1710354333.0·mode=755·type=dir |
6 | /set·mode=755 | 6 | /set·mode=755 |
7 | ./usr/share·time=1710354333.0·type=dir | 7 | ./usr/share·time=1710354333.0·type=dir |
8 | ./usr/share/doc·time=1710354333.0·type=dir | 8 | ./usr/share/doc·time=1710354333.0·type=dir |
9 | ./usr/share/doc/python-lxml·time=1710354333.0·type=dir | 9 | ./usr/share/doc/python-lxml·time=1710354333.0·type=dir |
10 | /set·mode=644 | 10 | /set·mode=644 |
11 | ./usr/share/doc/python-lxml/html·time=1710354333.0·mode=755·type=dir | 11 | ./usr/share/doc/python-lxml/html·time=1710354333.0·mode=755·type=dir |
12 | ./usr/share/doc/python-lxml/html/FAQ.html·time=1710354333.0·size=97336·md5digest=338c236cc3af83fc42e665fa63076a63·sha256digest=3dd35c1616866d26a7ded038d3b552766fe656581a21af85479d847962d185c5 | ||
13 | ./usr/share/doc/python-lxml/html/api.html·time=1710354333.0·size=64476·md5digest=0938248d9e118b5614bb1e601725a35e·sha256digest=7fff04fdd0eece109b36d24dc699ca02e6dc408aa727d470451cb4ad37771618 | ||
14 | ./usr/share/doc/python-lxml/html/build.html·time=1710354333.0·size=34341·md5digest=e45fe1976f070221c13cc55e7a66289f·sha256digest=8a26edcb548b061553c64451674380613e443577e802b944c97c96295a9b829b | ||
15 | ./usr/share/doc/python-lxml/html/capi.html·time=1710354333.0·size=23824·md5digest=8680c9838ac6a6388259787c9113cd14·sha256digest=235a457e28a0118313ce35f54ebfbf993552705e1dcc22a9c56ea71715d5e990 | ||
16 | ./usr/share/doc/python-lxml/html/changes-5.1.0.html·time=1710354333.0·size=200895·md5digest=bf5608d3350a8cae3a3ce00b83fada20·sha256digest=3d036a5fc37e6a0d66182d973957919802addc27559cb4d33b1e4885c289b2a6 | ||
17 | ./usr/share/doc/python-lxml/html/compatibility.html·time=1710354333.0·size=29745·md5digest=38732e684603ae24b67f9766f1585d79·sha256digest=c4a7c89d92b1ae78037af9ca6741e80cdd60b14f0fd6f8997e69a25d5fae8ae8 | ||
18 | ./usr/share/doc/python-lxml/html/credits.html·time=1710354333.0·size=19988·md5digest=04c7b4125c4c406445f8bf82beda1483·sha256digest=6a77c9a1cd6900c2038ec9ea73a5fd5e4fbe0af38b4a9a072f065e061332bbbb | ||
19 | ./usr/share/doc/python-lxml/html/cssselect.html·time=1710354333.0·size=25465·md5digest=58806cc61dd7657e49b18970f66b6782·sha256digest=7f77939010c3b1b0654d549e9d1488fb31aa960af764a4bc4c177c8fa1a92de2 | ||
20 | ./usr/share/doc/python-lxml/html/element_classes.html·time=1710354333.0·size=68902·md5digest=22de03fba8b9d1cbcdbe7d9ffd7b1088·sha256digest=4e4184bf6b2f367e5b526eb1e50415bfe3fdffded8dc5e74e061d253c95cd138 | ||
21 | ./usr/share/doc/python-lxml/html/elementsoup.html·time=1710354333.0·size=36018·md5digest=ad4f3d4152e8ab857e1b8080ed2d5397·sha256digest=b23f09a6b88d7fdb576d797bb1342c4181a0daf83c383adc4ac12a107d152a4e | ||
22 | ./usr/share/doc/python-lxml/html/extensions.html·time=1710354333.0·size=79510·md5digest=6ae6cdccb8d82638364cdb512d388779·sha256digest=e16684e7c132bc388e2df7b4b49adb198f4f3e50f2cde4c5361b874030e96c35 | ||
23 | ./usr/share/doc/python-lxml/html/html5parser.html·time=1710354333.0·size=22675·md5digest=2384f97e2b1e9594685234a125b1658c·sha256digest=1846387f741f56681021e6c23bebc6003545c187bdc13e592f99da04643a886c | ||
24 | ./usr/share/doc/python-lxml/html/index.html·time=1710354333.0·size=36037·md5digest=2b3995acb63a846a9f1a75f5bff099ab·sha256digest=df0818e17b355406862ae1c20fe0b501bfb02600a350cff07cd9d5b45c2258f1 | ||
25 | ./usr/share/doc/python-lxml/html/installation.html·time=1710354333.0·size=28051·md5digest=ab4d42d068f9b3445d747192847d3463·sha256digest=b0e70b8fc4507bf04c0fc0cb9c0b9bb6239b42fa5c56c60268cb1f26bc94f956 | ||
26 | ./usr/share/doc/python-lxml/html/intro.html·time=1710354333.0·size=20402·md5digest=4a63d46ef9517c623b5f7e182cc632da·sha256digest=86fb9bdb3ce280d0996f16befa8f36c137e272c9ce218a83041eb0fe9c70b23c | ||
27 | ./usr/share/doc/python-lxml/html/lxml-source-howto.html·time=1710354333.0·size=31760·md5digest=510af1aef9a7a6ea747dc2c36df77258·sha256digest=c9a32768ae4a36c42d89a6e0646ecf01f7a4750ec2a5711b15b4e28fce5e5fc9 | ||
28 | ./usr/share/doc/python-lxml/html/lxmlhtml.html·time=1710354333.0·size=75902·md5digest=e4bc63583c29e3b9fe23039609d4ee60·sha256digest=52611c482f63c19d440f51b808108b456b82351785676e53a9bdbcfea3d049e4 | ||
29 | ./usr/share/doc/python-lxml/html/objectify.html·time=1710354333.0·size=146724·md5digest=0dd0de000c1b253d0c4537346f582edf·sha256digest=70acdf3855cc4039b609d3156a1ced0f2ba21889906360687533f091568cc6c5 | ||
30 | ./usr/share/doc/python-lxml/html/ | 12 | ./usr/share/doc/python-lxml/html/FAQ.html·time=1710354333.0·size=97336·md5digest=91aaab46bc7a6c2ad3d6809474dca2b9·sha256digest=8531fe4955c549ec3c9c34dece2ed3559bbba96e96bcbbae7ccd33a9070cf399 |
13 | ./usr/share/doc/python-lxml/html/api.html·time=1710354333.0·size=64476·md5digest=8355ad51c1916e28e61666a56ab3fff4·sha256digest=c193e8a2aeabb3758884eb625d42352fbdb121a5231873273a09e0f85e7f7fb9 | ||
14 | ./usr/share/doc/python-lxml/html/build.html·time=1710354333.0·size=34341·md5digest=2fe6e1df30b48d26109e56410ed682ec·sha256digest=69aa6d36cf542ff3b096c495c2b65f8d3ff8a6462ab9b38a9ae7a778af88687b | ||
15 | ./usr/share/doc/python-lxml/html/capi.html·time=1710354333.0·size=23824·md5digest=9b1e66f4b1cdeffabc93f4f30a56cea2·sha256digest=2c154433ffb60b2432c2d5749eea8235103efc4cf30766c82f8e4bce558562da | ||
16 | ./usr/share/doc/python-lxml/html/changes-5.1.0.html·time=1710354333.0·size=200895·md5digest=ca17c56e279ad15b8d898a927b0c138e·sha256digest=da7af37b89d41ba9fa2a4102655e65007bfcb1dc5cfe7a695265b1f7fc11fe42 | ||
17 | ./usr/share/doc/python-lxml/html/compatibility.html·time=1710354333.0·size=29745·md5digest=94999612dad9bced732d539c1ce4f49f·sha256digest=46d13c144bf3f651264e180424e8f22fe8058dc6e481624e30a40e07b0f18c76 | ||
18 | ./usr/share/doc/python-lxml/html/credits.html·time=1710354333.0·size=19988·md5digest=9c730bc534bfd9ad5c78e54d5facb671·sha256digest=8924d6f567a566da095e2c08ab7f561825dea5b47b28d53606019440e2711f0e | ||
19 | ./usr/share/doc/python-lxml/html/cssselect.html·time=1710354333.0·size=25465·md5digest=6bfac2345f8423575effd232909ac811·sha256digest=56c9ae77ca1ab3b78794cae6778ddce2cb7659b6b8a4072965d3a07212dfe6cc | ||
20 | ./usr/share/doc/python-lxml/html/element_classes.html·time=1710354333.0·size=68902·md5digest=0791feb552444a194e1f160208b4a29a·sha256digest=d3366490694372c035a7a7632c01ba325fff512f2aed07c5203cc31824554055 | ||
21 | ./usr/share/doc/python-lxml/html/elementsoup.html·time=1710354333.0·size=36018·md5digest=d98b60c34f5e7933779d597d376ff35a·sha256digest=7606ceb1309c3d6ae0d2f362776f091cdafcf12879a41b94d77c415b0b39005d | ||
22 | ./usr/share/doc/python-lxml/html/extensions.html·time=1710354333.0·size=79510·md5digest=15577b6b343e343d153feb7b5fc68b88·sha256digest=7fd22423e01f78dbeff640acc5ddc204585ba261e90ab522e5e216cc5767deff | ||
23 | ./usr/share/doc/python-lxml/html/html5parser.html·time=1710354333.0·size=22675·md5digest=96b2a9e4f8e996962fbc62c7d8919ebe·sha256digest=436f537afb91cf6e124ecea3b7b8b38d773585f4140f3b0d2105b8e9f12eebba | ||
24 | ./usr/share/doc/python-lxml/html/index.html·time=1710354333.0·size=36037·md5digest=f954607430b9f118527c8c14d8845174·sha256digest=c9942efe2601721448ec659051c9e7b1cb8a2b8cb212bf785ce8a2e6bfb775de | ||
25 | ./usr/share/doc/python-lxml/html/installation.html·time=1710354333.0·size=28051·md5digest=c1c4a12d17d980d9cbbdd75873158aab·sha256digest=abdecd218c2f05cfdf8af6c5f72697704b622005f1d1ecc338ab6103cbaa3db0 | ||
26 | ./usr/share/doc/python-lxml/html/intro.html·time=1710354333.0·size=20402·md5digest=8ef08247089677a7fc91d906f29db388·sha256digest=e350bae6a62a1f27cbe549f760dd89c5270fa8244596797a5b0f30c8076d0c32 | ||
27 | ./usr/share/doc/python-lxml/html/lxml-source-howto.html·time=1710354333.0·size=31760·md5digest=fc2d0dd67228bc3b2371e4a545623af3·sha256digest=9f8beb87226f8efa9f5488f6e129fa0ee6c602c403e868d1b001493490614d25 | ||
28 | ./usr/share/doc/python-lxml/html/lxmlhtml.html·time=1710354333.0·size=75902·md5digest=7a82adaa98c0e6331c6c2aa20adadaee·sha256digest=99088beb9d7e09d066c13aaeb714535aace2a424a6a00610ddf151e26d78284f | ||
29 | ./usr/share/doc/python-lxml/html/objectify.html·time=1710354333.0·size=146724·md5digest=074f0ae70c132d128e67b24b452d2689·sha256digest=725f02e7ce439a5a17fcb22d7c190854af776a5aace1309cea8a4fa70b3321ad | ||
30 | ./usr/share/doc/python-lxml/html/parsing.html·time=1710354333.0·size=112714·md5digest=9915507a34ba3cdbc5faa8037fc42203·sha256digest=38da3c53284c6fbf09cf890256c52f23cfe9bb7609bee7a8f43030c90836ec03 | ||
31 | ./usr/share/doc/python-lxml/html/paypal_btn_donateCC_LG.gif·time=1710354333.0·size=2858·md5digest=314100d067c021df619c635b810fc591·sha256digest=238ffe6f51ad7bc454ba82ce61ef91f8c2f9b615187dce0255a3a964821df394 | 31 | ./usr/share/doc/python-lxml/html/paypal_btn_donateCC_LG.gif·time=1710354333.0·size=2858·md5digest=314100d067c021df619c635b810fc591·sha256digest=238ffe6f51ad7bc454ba82ce61ef91f8c2f9b615187dce0255a3a964821df394 |
32 | ./usr/share/doc/python-lxml/html/paypal_btn_donateCC_LG.png·time=1710354333.0·size=2461·md5digest=d98d80cbb9ca86eb023fd4180cb92fd9·sha256digest=90b273fae4915f83c9280b583fecbcb0b114294e058d0699f9840ca73b3fffad | 32 | ./usr/share/doc/python-lxml/html/paypal_btn_donateCC_LG.png·time=1710354333.0·size=2461·md5digest=d98d80cbb9ca86eb023fd4180cb92fd9·sha256digest=90b273fae4915f83c9280b583fecbcb0b114294e058d0699f9840ca73b3fffad |
33 | ./usr/share/doc/python-lxml/html/performance.html·time=1710354333.0·size=64609·md5digest=3 | 33 | ./usr/share/doc/python-lxml/html/performance.html·time=1710354333.0·size=64609·md5digest=b3c3344b5d89b88382f819effc85ad2d·sha256digest=dc193baee32055c57167b6500e839dca3455b1b4d930e0929f18a29e7bb20d22 |
34 | ./usr/share/doc/python-lxml/html/proxies.png·time=1710354333.0·size=54518·md5digest=f74610c080c489a127bfe406ca78d1bc·sha256digest=32d4e748a78ba673924da7f5bb68797fea216598ac0a94165a37bb564a4cfd09 | 34 | ./usr/share/doc/python-lxml/html/proxies.png·time=1710354333.0·size=54518·md5digest=f74610c080c489a127bfe406ca78d1bc·sha256digest=32d4e748a78ba673924da7f5bb68797fea216598ac0a94165a37bb564a4cfd09 |
35 | ./usr/share/doc/python-lxml/html/pubkey.asc·time=1710354333.0·size=2080·md5digest=6765f1a62c7ebdf291e853473f984af5·sha256digest=0d404c5ca29c23fba6b5631728dd39af49feb0fbd40e6080d1698809d1e9880b | 35 | ./usr/share/doc/python-lxml/html/pubkey.asc·time=1710354333.0·size=2080·md5digest=6765f1a62c7ebdf291e853473f984af5·sha256digest=0d404c5ca29c23fba6b5631728dd39af49feb0fbd40e6080d1698809d1e9880b |
36 | ./usr/share/doc/python-lxml/html/python-xml-title.png·time=1710354333.0·size=10553·md5digest=9b133331dd5b92a1451070d1838789de·sha256digest=d933ecda7d4e4bc54f363e8ee6b45c82d1a55daaec75fac823ba201f15bf03f6 | 36 | ./usr/share/doc/python-lxml/html/python-xml-title.png·time=1710354333.0·size=10553·md5digest=9b133331dd5b92a1451070d1838789de·sha256digest=d933ecda7d4e4bc54f363e8ee6b45c82d1a55daaec75fac823ba201f15bf03f6 |
37 | ./usr/share/doc/python-lxml/html/python-xml.png·time=1710354333.0·size=7310·md5digest=4e2bd5d35161c3b68d16783816577363·sha256digest=a1ff3c2c41af6c6cf70b6465bbfdf4c29a784ab010bd661a05c5b5b7a649b03d | 37 | ./usr/share/doc/python-lxml/html/python-xml.png·time=1710354333.0·size=7310·md5digest=4e2bd5d35161c3b68d16783816577363·sha256digest=a1ff3c2c41af6c6cf70b6465bbfdf4c29a784ab010bd661a05c5b5b7a649b03d |
38 | ./usr/share/doc/python-lxml/html/resolvers.html·time=1710354333.0·size=41252·md5digest=b829660bcb936c554045cb0b9bfa04f0·sha256digest=5bbcd9be4cda2b2857c938f8ace55c7d3d50097380fc469b01260f694f0c9f2d | ||
39 | ./usr/share/doc/python-lxml/html/s | 38 | ./usr/share/doc/python-lxml/html/resolvers.html·time=1710354333.0·size=41252·md5digest=71d1784e1a3049e53c96fe187cec2b2a·sha256digest=754ab2c847338814b3064f34d28c2702e28d7fcdf76c229562bf030d973b9d1d |
39 | ./usr/share/doc/python-lxml/html/sax.html·time=1710354333.0·size=28758·md5digest=a478fb4a14a1b57fa645f765bdfa1f0a·sha256digest=b263698354122a1d4532b7b74c554ba140cc36a9abfe9a76bec32dd53491d0e1 | ||
40 | ./usr/share/doc/python-lxml/html/sitemap.html·time=1710354333.0·size=16888·md5digest=c36b552a5718f63c63bdc796e83ec797·sha256digest=a7ba77fdc0a772ef500241b7c54d06c78ea5183a95eb50a99a72b001765f7c35 | 40 | ./usr/share/doc/python-lxml/html/sitemap.html·time=1710354333.0·size=16888·md5digest=c36b552a5718f63c63bdc796e83ec797·sha256digest=a7ba77fdc0a772ef500241b7c54d06c78ea5183a95eb50a99a72b001765f7c35 |
41 | ./usr/share/doc/python-lxml/html/style.css·time=1710354333.0·size=9819·md5digest=9fb91ec7ee7c17b01311307ff91a4801·sha256digest=dbe3c6ca5f73d57c2df30f43aa7b3ac8bbacc7b9a759d3a48d300f95c25cf129 | 41 | ./usr/share/doc/python-lxml/html/style.css·time=1710354333.0·size=9819·md5digest=9fb91ec7ee7c17b01311307ff91a4801·sha256digest=dbe3c6ca5f73d57c2df30f43aa7b3ac8bbacc7b9a759d3a48d300f95c25cf129 |
42 | ./usr/share/doc/python-lxml/html/tagpython-big.png·time=1710354333.0·size=19383·md5digest=cc8a6c2ffa40acd559c9f9444162e242·sha256digest=456a7b92a8a8ef3cf501141613ab71e6a19397980bb90999b4dc90ef0550ece9 | 42 | ./usr/share/doc/python-lxml/html/tagpython-big.png·time=1710354333.0·size=19383·md5digest=cc8a6c2ffa40acd559c9f9444162e242·sha256digest=456a7b92a8a8ef3cf501141613ab71e6a19397980bb90999b4dc90ef0550ece9 |
43 | ./usr/share/doc/python-lxml/html/tutorial.html·time=1710354333.0·size=152679·md5digest=150faf7824121e66356256fcb9dba3e1·sha256digest=c1c1dfe3083aee940a1860adc0cee71c3eef760c3b001be64d2dc3905e58b337 | ||
44 | ./usr/share/doc/python-lxml/html/validation.html·time=1710354333.0·size=70067·md5digest=4a6a357d75d60066ebbeb9b395134f95·sha256digest=b651afc3b7f170602cfe30f0c16fc2474fb209676650f697eb488d4ebdff2bad | ||
45 | ./usr/share/doc/python-lxml/html/ | 43 | ./usr/share/doc/python-lxml/html/tutorial.html·time=1710354333.0·size=152679·md5digest=5195fe3409823b58790b9d2e955ad642·sha256digest=16b98727430e63a37d140307ef12f4293d1d9f337f1bec59f81dd3d356be195a |
44 | ./usr/share/doc/python-lxml/html/validation.html·time=1710354333.0·size=70067·md5digest=c6e63d390a1b79e3273ee9d892f71cf6·sha256digest=43d6ab0b945678473639ec349cde53a33c35c6d2b4c7b9190dc21702d34b6b78 | ||
45 | ./usr/share/doc/python-lxml/html/xpathxslt.html·time=1710354333.0·size=83947·md5digest=908710ea25c8f3fa4f076b61a3566160·sha256digest=2c2ecf5dab910904473a7888ce79dd6e558569eab297ab4655841ddd65178bac | ||
46 | ./usr/share/doc/python-lxml/html/apidoc·time=1710354333.0·mode=755·type=dir | 46 | ./usr/share/doc/python-lxml/html/apidoc·time=1710354333.0·mode=755·type=dir |
47 | ./usr/share/doc/python-lxml/html/apidoc/.buildinfo·time=1710354333.0·size=230·md5digest=0eb80c6e1a7fe03dd77f9031332dd7d5·sha256digest=e2f732b69069f630d16f342604157cb50a6c9e7cab69966d88908eb61e3beb13 | 47 | ./usr/share/doc/python-lxml/html/apidoc/.buildinfo·time=1710354333.0·size=230·md5digest=0eb80c6e1a7fe03dd77f9031332dd7d5·sha256digest=e2f732b69069f630d16f342604157cb50a6c9e7cab69966d88908eb61e3beb13 |
48 | ./usr/share/doc/python-lxml/html/apidoc/genindex.html·time=1710354333.0·size=476245·md5digest=54c1f184c023d746d53b722b82be0826·sha256digest=30cf6d62f0513310a245316b11a6642c65cca3193cdbd29b2eaa2bff65649ebe | 48 | ./usr/share/doc/python-lxml/html/apidoc/genindex.html·time=1710354333.0·size=476245·md5digest=54c1f184c023d746d53b722b82be0826·sha256digest=30cf6d62f0513310a245316b11a6642c65cca3193cdbd29b2eaa2bff65649ebe |
49 | ./usr/share/doc/python-lxml/html/apidoc/index.html·time=1710354333.0·size=52216·md5digest=8ff2b423edbcedacd41ebdab47165f13·sha256digest=5ae5e2488ea0a9196501ba621bafd5b4db7e3f522a44cf988c54f9e07027fbfe | 49 | ./usr/share/doc/python-lxml/html/apidoc/index.html·time=1710354333.0·size=52216·md5digest=8ff2b423edbcedacd41ebdab47165f13·sha256digest=5ae5e2488ea0a9196501ba621bafd5b4db7e3f522a44cf988c54f9e07027fbfe |
50 | ./usr/share/doc/python-lxml/html/apidoc/lxml.ElementInclude.html·time=1710354333.0·size=22910·md5digest=b0ecec15a20de67473ecedd3c85e6626·sha256digest=4cedafabb013ddc93c66185d86450cd46f0b36c742c027763cec2830a849799b | 50 | ./usr/share/doc/python-lxml/html/apidoc/lxml.ElementInclude.html·time=1710354333.0·size=22910·md5digest=b0ecec15a20de67473ecedd3c85e6626·sha256digest=4cedafabb013ddc93c66185d86450cd46f0b36c742c027763cec2830a849799b |
51 | ./usr/share/doc/python-lxml/html/apidoc/lxml._elementpath.html·time=1710354333.0·size=16561·md5digest=e01a0f665495e4981ebd75cf6b364e4d·sha256digest=44d29e24653cc90e44cc480056b05ef57694ffd72e5d1fdcb164bd6b331308c8 | 51 | ./usr/share/doc/python-lxml/html/apidoc/lxml._elementpath.html·time=1710354333.0·size=16561·md5digest=e01a0f665495e4981ebd75cf6b364e4d·sha256digest=44d29e24653cc90e44cc480056b05ef57694ffd72e5d1fdcb164bd6b331308c8 |
52 | ./usr/share/doc/python-lxml/html/apidoc/lxml.builder.html·time=1710354333.0·size=20104·md5digest=5b899069b0ac0bb2b6f2d9ac148bf638·sha256digest=d44ec6bade491d3b304c1986edf054bbd61ca37db48fb82330df0177a46bfd48 | 52 | ./usr/share/doc/python-lxml/html/apidoc/lxml.builder.html·time=1710354333.0·size=20104·md5digest=5b899069b0ac0bb2b6f2d9ac148bf638·sha256digest=d44ec6bade491d3b304c1986edf054bbd61ca37db48fb82330df0177a46bfd48 |
Offset 1049, 12 lines modified | Offset 1049, 12 lines modified | ||
1049 | ····<span·class="n">element</span><span·class="o">.</span><span·class="n">getparent</span><span·class="p">()</span><span·class="o">.</span><span·class="n">remove</span><span·class="p">(</span><span·class="n">element</span><span·class="p">)</span> | 1049 | ····<span·class="n">element</span><span·class="o">.</span><span·class="n">getparent</span><span·class="p">()</span><span·class="o">.</span><span·class="n">remove</span><span·class="p">(</span><span·class="n">element</span><span·class="p">)</span> |
1050 | </pre></div> | 1050 | </pre></div> |
1051 | </div> | 1051 | </div> |
1052 | </div> | 1052 | </div> |
1053 | </div> | 1053 | </div> |
1054 | <div·class="footer"> | 1054 | <div·class="footer"> |
1055 | <hr·class="footer"·/> | 1055 | <hr·class="footer"·/> |
1056 | Generated·on:·202 | 1056 | Generated·on:·2025-04-16. |
1057 | </div> | 1057 | </div> |
1058 | </body> | 1058 | </body> |
1059 | </html> | 1059 | </html> |
Offset 959, 8 lines modified | Offset 959, 8 lines modified | ||
959 | ········elements.append(element) | 959 | ········elements.append(element) |
960 | ········yield·elements.popleft() | 960 | ········yield·elements.popleft() |
961 | ····yield·from·elements | 961 | ····yield·from·elements |
962 | for·element·in·readahead(root.iterfind("path/to/children")): | 962 | for·element·in·readahead(root.iterfind("path/to/children")): |
963 | ····element.getparent().remove(element) | 963 | ····element.getparent().remove(element) |
964 | =============================================================================== | 964 | =============================================================================== |
965 | Generated·on:·202 | 965 | Generated·on:·2025-04-16. |
Offset 530, 12 lines modified | Offset 530, 12 lines modified | ||
530 | custom·<a·class="reference·external"·href="resolvers.html">URL·resolvers</a>·at·the·Python·level.··The·normal·XInclude·mechanism | 530 | custom·<a·class="reference·external"·href="resolvers.html">URL·resolvers</a>·at·the·Python·level.··The·normal·XInclude·mechanism |
531 | cannot·deploy·these.··If·you·need·ElementTree·compatibility·or·custom | 531 | cannot·deploy·these.··If·you·need·ElementTree·compatibility·or·custom |
532 | resolvers,·you·have·to·stick·to·the·external·Python·module.</p> | 532 | resolvers,·you·have·to·stick·to·the·external·Python·module.</p> |
533 | </div> | 533 | </div> |
534 | </div> | 534 | </div> |
535 | <div·class="footer"> | 535 | <div·class="footer"> |
536 | <hr·class="footer"·/> | 536 | <hr·class="footer"·/> |
537 | Generated·on:·202 | 537 | Generated·on:·2025-04-16. |
538 | </div> | 538 | </div> |
539 | </body> | 539 | </body> |
540 | </html> | 540 | </html> |
Offset 581, 8 lines modified | Offset 581, 8 lines modified | ||
581 | </doc> | 581 | </doc> |
582 | Note·that·the·ElementTree·compatible·_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8I_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e·module·is·also·supported·as | 582 | Note·that·the·ElementTree·compatible·_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8I_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e·module·is·also·supported·as |
583 | lxml.ElementInclude.·It·has·the·additional·advantage·of·supporting·custom·_\x8U_\x8R_\x8L | 583 | lxml.ElementInclude.·It·has·the·additional·advantage·of·supporting·custom·_\x8U_\x8R_\x8L |
584 | _\x8r_\x8e_\x8s_\x8o_\x8l_\x8v_\x8e_\x8r_\x8s·at·the·Python·level.·The·normal·XInclude·mechanism·cannot·deploy | 584 | _\x8r_\x8e_\x8s_\x8o_\x8l_\x8v_\x8e_\x8r_\x8s·at·the·Python·level.·The·normal·XInclude·mechanism·cannot·deploy |
585 | these.·If·you·need·ElementTree·compatibility·or·custom·resolvers,·you·have·to | 585 | these.·If·you·need·ElementTree·compatibility·or·custom·resolvers,·you·have·to |
586 | stick·to·the·external·Python·module. | 586 | stick·to·the·external·Python·module. |
587 | =============================================================================== | 587 | =============================================================================== |
588 | Generated·on:·202 | 588 | Generated·on:·2025-04-16. |
Offset 312, 12 lines modified | Offset 312, 12 lines modified | ||
312 | can·either·install·them·manually·or·run·<tt·class="docutils·literal"><span·class="pre">apt-get</span>·<span·class="pre">build-dep</span>·lxml</tt>.</p> | 312 | can·either·install·them·manually·or·run·<tt·class="docutils·literal"><span·class="pre">apt-get</span>·<span·class="pre">build-dep</span>·lxml</tt>.</p> |
313 | <p>That·will·give·you·.deb·packages·in·the·parent·directory·which·can·be | 313 | <p>That·will·give·you·.deb·packages·in·the·parent·directory·which·can·be |
314 | installed·using·<tt·class="docutils·literal">dpkg·<span·class="pre">-i</span></tt>.</p> | 314 | installed·using·<tt·class="docutils·literal">dpkg·<span·class="pre">-i</span></tt>.</p> |
315 | </div> | 315 | </div> |
316 | </div> | 316 | </div> |
317 | <div·class="footer"> | 317 | <div·class="footer"> |
318 | <hr·class="footer"·/> | 318 | <hr·class="footer"·/> |
319 | Generated·on:·202 | 319 | Generated·on:·2025-04-16. |
320 | </div> | 320 | </div> |
321 | </body> | 321 | </body> |
322 | </html> | 322 | </html> |
Offset 352, 8 lines modified | Offset 352, 8 lines modified | ||
352 | ······the·debian·version·number·so·apt/dpkg·won't·get·confused | 352 | ······the·debian·version·number·so·apt/dpkg·won't·get·confused |
353 | ····*·run·dpkg-buildpackage·-rfakeroot·-us·-uc·to·build·the·package | 353 | ····*·run·dpkg-buildpackage·-rfakeroot·-us·-uc·to·build·the·package |
354 | In·case·dpkg-buildpackage·tells·you·that·some·dependencies·are·missing,·you·can | 354 | In·case·dpkg-buildpackage·tells·you·that·some·dependencies·are·missing,·you·can |
355 | either·install·them·manually·or·run·apt-get·build-dep·lxml. | 355 | either·install·them·manually·or·run·apt-get·build-dep·lxml. |
356 | That·will·give·you·.deb·packages·in·the·parent·directory·which·can·be·installed | 356 | That·will·give·you·.deb·packages·in·the·parent·directory·which·can·be·installed |
357 | using·dpkg·-i. | 357 | using·dpkg·-i. |
358 | =============================================================================== | 358 | =============================================================================== |
359 | Generated·on:·202 | 359 | Generated·on:·2025-04-16. |
Offset 129, 12 lines modified | Offset 129, 12 lines modified | ||
129 | <p>Note·that·including·<tt·class="docutils·literal">etree.h</tt>·does·not·automatically·include·the | 129 | <p>Note·that·including·<tt·class="docutils·literal">etree.h</tt>·does·not·automatically·include·the |
130 | header·files·it·requires.··Note·also·that·the·above·list·of·common | 130 | header·files·it·requires.··Note·also·that·the·above·list·of·common |
131 | includes·may·not·be·sufficient.</p> | 131 | includes·may·not·be·sufficient.</p> |
132 | </div> | 132 | </div> |
133 | </div> | 133 | </div> |
134 | <div·class="footer"> | 134 | <div·class="footer"> |
135 | <hr·class="footer"·/> | 135 | <hr·class="footer"·/> |
136 | Generated·on:·202 | 136 | Generated·on:·2025-04-16. |
137 | </div> | 137 | </div> |
138 | </body> | 138 | </body> |
139 | </html> | 139 | </html> |
Offset 241, 8 lines modified | Offset 241, 8 lines modified | ||
241 | /*·setup·code·*/ | 241 | /*·setup·code·*/ |
242 | import_lxml__etree() | 242 | import_lxml__etree() |
243 | Note·that·including·etree.h·does·not·automatically·include·the·header·files·it | 243 | Note·that·including·etree.h·does·not·automatically·include·the·header·files·it |
244 | requires.·Note·also·that·the·above·list·of·common·includes·may·not·be | 244 | requires.·Note·also·that·the·above·list·of·common·includes·may·not·be |
245 | sufficient. | 245 | sufficient. |
246 | =============================================================================== | 246 | =============================================================================== |
247 | Generated·on:·202 | 247 | Generated·on:·2025-04-16. |
Offset 6514, 11 lines modified | Offset 6514, 11 lines modified | ||
6514 | ······<div·class="section"·id="section-135"> | 6514 | ······<div·class="section"·id="section-135"> |
6515 | ········<h1>0.5·(2005-04-08)</h1> | 6515 | ········<h1>0.5·(2005-04-08)</h1> |
6516 | ········<p>Initial·public·release.</p> | 6516 | ········<p>Initial·public·release.</p> |
6517 | ······</div> | 6517 | ······</div> |
6518 | ····</div> | 6518 | ····</div> |
6519 | ····<div·class="footer"> | 6519 | ····<div·class="footer"> |
6520 | ······<hr·class="footer"/> | 6520 | ······<hr·class="footer"/> |
6521 | ······Generated·on:·202 | 6521 | ······Generated·on:·2025-04-16. |
6522 | ····</div> | 6522 | ····</div> |
6523 | ··</body> | 6523 | ··</body> |
6524 | </html> | 6524 | </html> |
Offset 195, 12 lines modified | Offset 195, 12 lines modified | ||
195 | considerably·faster·than·ElementTree,·so·a·deep·copy·might·still·be·fast | 195 | considerably·faster·than·ElementTree,·so·a·deep·copy·might·still·be·fast |
196 | enough·to·replace·a·shallow·copy·in·your·case.</p> | 196 | enough·to·replace·a·shallow·copy·in·your·case.</p> |
197 | </li> | 197 | </li> |
198 | </ul> | 198 | </ul> |
199 | </div> | 199 | </div> |
200 | <div·class="footer"> | 200 | <div·class="footer"> |
201 | <hr·class="footer"·/> | 201 | <hr·class="footer"·/> |
202 | Generated·on:·202 | 202 | Generated·on:·2025-04-16. |
203 | </div> | 203 | </div> |
204 | </body> | 204 | </body> |
205 | </html> | 205 | </html> |
Offset 300, 8 lines modified | Offset 300, 8 lines modified | ||
300 | ····*·etree·elements·can·be·copied·using·copy.deepcopy()·and·copy.copy(),·just | 300 | ····*·etree·elements·can·be·copied·using·copy.deepcopy()·and·copy.copy(),·just |
301 | ······like·ElementTree's.·However,·copy.copy()·does·n\x8no\x8ot\x8t·create·a·shallow·copy | 301 | ······like·ElementTree's.·However,·copy.copy()·does·n\x8no\x8ot\x8t·create·a·shallow·copy |
302 | ······where·elements·are·shared·between·trees,·as·this·makes·no·sense·in·the | 302 | ······where·elements·are·shared·between·trees,·as·this·makes·no·sense·in·the |
303 | ······context·of·libxml2·trees.·Note·that·lxml·can·deep-copy·trees·considerably | 303 | ······context·of·libxml2·trees.·Note·that·lxml·can·deep-copy·trees·considerably |
304 | ······faster·than·ElementTree,·so·a·deep·copy·might·still·be·fast·enough·to | 304 | ······faster·than·ElementTree,·so·a·deep·copy·might·still·be·fast·enough·to |
305 | ······replace·a·shallow·copy·in·your·case. | 305 | ······replace·a·shallow·copy·in·your·case. |
306 | =============================================================================== | 306 | =============================================================================== |
307 | Generated·on:·202 | 307 | Generated·on:·2025-04-16. |
Offset 84, 12 lines modified | Offset 84, 12 lines modified | ||
84 | <li>the·codespeak·crew,·in·particular·Philipp·von·Weitershausen·and | 84 | <li>the·codespeak·crew,·in·particular·Philipp·von·Weitershausen·and |
85 | Holger·Krekel·for·originally·hosting·lxml·on·codespeak.net</li> | 85 | Holger·Krekel·for·originally·hosting·lxml·on·codespeak.net</li> |
86 | </ul> | 86 | </ul> |
87 | </div> | 87 | </div> |
88 | </div> | 88 | </div> |
89 | <div·class="footer"> | 89 | <div·class="footer"> |
90 | <hr·class="footer"·/> | 90 | <hr·class="footer"·/> |
91 | Generated·on:·202 | 91 | Generated·on:·2025-04-16. |
92 | </div> | 92 | </div> |
93 | </body> | 93 | </body> |
94 | </html> | 94 | </html> |
Offset 208, 8 lines modified | Offset 208, 8 lines modified | ||
208 | ······cElementTree. | 208 | ······cElementTree. |
209 | ····*·Greg·Ewing·(Pyrex)·and·Robert·Bradshaw·et·al.·(Cython)·for·the·binding | 209 | ····*·Greg·Ewing·(Pyrex)·and·Robert·Bradshaw·et·al.·(Cython)·for·the·binding |
210 | ······technology. | 210 | ······technology. |
211 | ····*·Jonathan·Stoppani·for·hosting·the·new·mailing·list·on·lxml.de. | 211 | ····*·Jonathan·Stoppani·for·hosting·the·new·mailing·list·on·lxml.de. |
212 | ····*·the·codespeak·crew,·in·particular·Philipp·von·Weitershausen·and·Holger | 212 | ····*·the·codespeak·crew,·in·particular·Philipp·von·Weitershausen·and·Holger |
213 | ······Krekel·for·originally·hosting·lxml·on·codespeak.net | 213 | ······Krekel·for·originally·hosting·lxml·on·codespeak.net |
214 | =============================================================================== | 214 | =============================================================================== |
215 | Generated·on:·202 | 215 | Generated·on:·2025-04-16. |
Offset 109, 12 lines modified | Offset 109, 12 lines modified | ||
109 | one-to-one,·and·the·same·rules·are·used·to·map·namespace·prefixes·to | 109 | one-to-one,·and·the·same·rules·are·used·to·map·namespace·prefixes·to |
110 | namespace·URIs:·the·<tt·class="docutils·literal">CSSSelector</tt>·class·accepts·a·dictionary·as·its | 110 | namespace·URIs:·the·<tt·class="docutils·literal">CSSSelector</tt>·class·accepts·a·dictionary·as·its |
111 | <tt·class="docutils·literal">namespaces</tt>·argument.</p> | 111 | <tt·class="docutils·literal">namespaces</tt>·argument.</p> |
112 | </div> | 112 | </div> |
113 | </div> | 113 | </div> |
114 | <div·class="footer"> | 114 | <div·class="footer"> |
115 | <hr·class="footer"·/> | 115 | <hr·class="footer"·/> |
116 | Generated·on:·202 | 116 | Generated·on:·2025-04-16. |
117 | </div> | 117 | </div> |
118 | </body> | 118 | </body> |
119 | </html> | 119 | </html> |
Offset 219, 8 lines modified | Offset 219, 8 lines modified | ||
219 | _\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n. | 219 | _\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n. |
220 | *\x8**\x8**\x8**\x8**\x8**\x8*·N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s·*\x8**\x8**\x8**\x8**\x8**\x8* | 220 | *\x8**\x8**\x8**\x8**\x8**\x8*·N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s·*\x8**\x8**\x8**\x8**\x8**\x8* |
221 | In·CSS·you·can·use·namespace-prefix|element,·similar·to·namespace-prefix: | 221 | In·CSS·you·can·use·namespace-prefix|element,·similar·to·namespace-prefix: |
222 | element·in·an·XPath·expression.·In·fact,·it·maps·one-to-one,·and·the·same·rules | 222 | element·in·an·XPath·expression.·In·fact,·it·maps·one-to-one,·and·the·same·rules |
223 | are·used·to·map·namespace·prefixes·to·namespace·URIs:·the·CSSSelector·class | 223 | are·used·to·map·namespace·prefixes·to·namespace·URIs:·the·CSSSelector·class |
224 | accepts·a·dictionary·as·its·namespaces·argument. | 224 | accepts·a·dictionary·as·its·namespaces·argument. |
225 | =============================================================================== | 225 | =============================================================================== |
226 | Generated·on:·202 | 226 | Generated·on:·2025-04-16. |
Offset 516, 12 lines modified | Offset 516, 12 lines modified | ||
516 | <span·class="gp">>>>·</span><span·class="nb">print</span><span·class="p">(</span><span·class="nb">type</span><span·class="p">(</span><span·class="n">honk_element</span><span·class="p">[</span><span·class="mi">0</span><span·class="p">]))</span> | 516 | <span·class="gp">>>>·</span><span·class="nb">print</span><span·class="p">(</span><span·class="nb">type</span><span·class="p">(</span><span·class="n">honk_element</span><span·class="p">[</span><span·class="mi">0</span><span·class="p">]))</span> |
517 | <span·class="go"><class·'HonkNSElement'></span> | 517 | <span·class="go"><class·'HonkNSElement'></span> |
518 | </pre></div> | 518 | </pre></div> |
519 | </div> | 519 | </div> |
520 | </div> | 520 | </div> |
521 | <div·class="footer"> | 521 | <div·class="footer"> |
522 | <hr·class="footer"·/> | 522 | <hr·class="footer"·/> |
523 | Generated·on:·202 | 523 | Generated·on:·2025-04-16. |
524 | </div> | 524 | </div> |
525 | </body> | 525 | </body> |
526 | </html> | 526 | </html> |
Offset 573, 8 lines modified | Offset 573, 8 lines modified | ||
573 | >>>·honk_element·=·etree.fromstring(xml,·parser) | 573 | >>>·honk_element·=·etree.fromstring(xml,·parser) |
574 | >>>·print(type(honk_element)) | 574 | >>>·print(type(honk_element)) |
575 | <class·'honkel'> | 575 | <class·'honkel'> |
576 | >>>·print(type(honk_element[0])) | 576 | >>>·print(type(honk_element[0])) |
577 | <class·'HonkNSElement'> | 577 | <class·'HonkNSElement'> |
578 | =============================================================================== | 578 | =============================================================================== |
579 | Generated·on:·202 | 579 | Generated·on:·2025-04-16. |
Offset 199, 12 lines modified | Offset 199, 12 lines modified | ||
199 | <span·class="gp">>>>·</span><span·class="n">root</span>·<span·class="o">=</span>·<span·class="n">lxml</span><span·class="o">.</span><span·class="n">html</span><span·class="o">.</span><span·class="n">fromstring</span><span·class="p">(</span><span·class="n">decode_html</span><span·class="p">(</span><span·class="n">tag_soup</span><span·class="p">))</span> | 199 | <span·class="gp">>>>·</span><span·class="n">root</span>·<span·class="o">=</span>·<span·class="n">lxml</span><span·class="o">.</span><span·class="n">html</span><span·class="o">.</span><span·class="n">fromstring</span><span·class="p">(</span><span·class="n">decode_html</span><span·class="p">(</span><span·class="n">tag_soup</span><span·class="p">))</span> |
200 | </pre></div> | 200 | </pre></div> |
201 | </div> | 201 | </div> |
202 | </div> | 202 | </div> |
203 | <div·class="footer"> | 203 | <div·class="footer"> |
204 | <hr·class="footer"·/> | 204 | <hr·class="footer"·/> |
205 | Generated·on:·202 | 205 | Generated·on:·2025-04-16. |
206 | </div> | 206 | </div> |
207 | </body> | 207 | </body> |
208 | </html> | 208 | </html> |
Offset 301, 8 lines modified | Offset 301, 8 lines modified | ||
301 | ...················"Failed·to·detect·encoding,·tried·[%s]", | 301 | ...················"Failed·to·detect·encoding,·tried·[%s]", |
302 | ...················',·'.join(converted.triedEncodings)) | 302 | ...················',·'.join(converted.triedEncodings)) |
303 | ...········#·print·converted.originalEncoding | 303 | ...········#·print·converted.originalEncoding |
304 | ...········return·converted.unicode | 304 | ...········return·converted.unicode |
305 | >>>·root·=·lxml.html.fromstring(decode_html(tag_soup)) | 305 | >>>·root·=·lxml.html.fromstring(decode_html(tag_soup)) |
306 | =============================================================================== | 306 | =============================================================================== |
307 | Generated·on:·202 | 307 | Generated·on:·2025-04-16. |
Offset 526, 12 lines modified | Offset 526, 12 lines modified | ||
526 | <span·class="go">'<?xml·version="1.0"?>\n<foo><child>NEW·TEXT</child></foo>\n'</span> | 526 | <span·class="go">'<?xml·version="1.0"?>\n<foo><child>NEW·TEXT</child></foo>\n'</span> |
527 | </pre></div> | 527 | </pre></div> |
528 | </div> | 528 | </div> |
529 | </div> | 529 | </div> |
530 | </div> | 530 | </div> |
531 | <div·class="footer"> | 531 | <div·class="footer"> |
532 | <hr·class="footer"·/> | 532 | <hr·class="footer"·/> |
533 | Generated·on:·202 | 533 | Generated·on:·2025-04-16. |
534 | </div> | 534 | </div> |
535 | </body> | 535 | </body> |
536 | </html> | 536 | </html> |
Offset 590, 8 lines modified | Offset 590, 8 lines modified | ||
590 | >>>·transform·=·etree.XSLT(xslt_ext_tree,·extensions·=·extensions) | 590 | >>>·transform·=·etree.XSLT(xslt_ext_tree,·extensions·=·extensions) |
591 | >>>·root·=·etree.XML('<dummy/>') | 591 | >>>·root·=·etree.XML('<dummy/>') |
592 | >>>·result·=·transform(root) | 592 | >>>·result·=·transform(root) |
593 | >>>·str(result) | 593 | >>>·str(result) |
594 | '<?xml·version="1.0"?>\n<foo><child>NEW·TEXT</child></foo>\n' | 594 | '<?xml·version="1.0"?>\n<foo><child>NEW·TEXT</child></foo>\n' |
595 | =============================================================================== | 595 | =============================================================================== |
596 | Generated·on:·202 | 596 | Generated·on:·2025-04-16. |
Offset 86, 12 lines modified | Offset 86, 12 lines modified | ||
86 | that·can·be·set·to·a·custom·parser·instance.··To·create·custom·parsers | 86 | that·can·be·set·to·a·custom·parser·instance.··To·create·custom·parsers |
87 | you·can·subclass·the·<tt·class="docutils·literal">HTMLParser</tt>·and·<tt·class="docutils·literal">XHTMLParser</tt>·from·the·same | 87 | you·can·subclass·the·<tt·class="docutils·literal">HTMLParser</tt>·and·<tt·class="docutils·literal">XHTMLParser</tt>·from·the·same |
88 | module.··Note·that·these·are·the·parser·classes·provided·by·html5lib.</p> | 88 | module.··Note·that·these·are·the·parser·classes·provided·by·html5lib.</p> |
89 | </div> | 89 | </div> |
90 | </div> | 90 | </div> |
91 | <div·class="footer"> | 91 | <div·class="footer"> |
92 | <hr·class="footer"·/> | 92 | <hr·class="footer"·/> |
93 | Generated·on:·202 | 93 | Generated·on:·2025-04-16. |
94 | </div> | 94 | </div> |
95 | </body> | 95 | </body> |
96 | </html> | 96 | </html> |
Offset 205, 8 lines modified | Offset 205, 8 lines modified | ||
205 | ······Returns·document_fromstring·or·fragment_fromstring,·based·on·whether·the | 205 | ······Returns·document_fromstring·or·fragment_fromstring,·based·on·whether·the |
206 | ······string·looks·like·a·full·document,·or·just·a·fragment. | 206 | ······string·looks·like·a·full·document,·or·just·a·fragment. |
207 | Additionally·all·parsing·functions·accept·an·parser·keyword·argument·that·can | 207 | Additionally·all·parsing·functions·accept·an·parser·keyword·argument·that·can |
208 | be·set·to·a·custom·parser·instance.·To·create·custom·parsers·you·can·subclass | 208 | be·set·to·a·custom·parser·instance.·To·create·custom·parsers·you·can·subclass |
209 | the·HTMLParser·and·XHTMLParser·from·the·same·module.·Note·that·these·are·the | 209 | the·HTMLParser·and·XHTMLParser·from·the·same·module.·Note·that·these·are·the |
210 | parser·classes·provided·by·html5lib. | 210 | parser·classes·provided·by·html5lib. |
211 | =============================================================================== | 211 | =============================================================================== |
212 | Generated·on:·202 | 212 | Generated·on:·2025-04-16. |
Offset 275, 12 lines modified | Offset 275, 12 lines modified | ||
275 | We·will·not·publish·or·disclose·your·name·and/or·e-mail·address | 275 | We·will·not·publish·or·disclose·your·name·and/or·e-mail·address |
276 | without·your·consent,·unless·required·by·applicable·law.··Your | 276 | without·your·consent,·unless·required·by·applicable·law.··Your |
277 | donation·is·non-refundable.</p> | 277 | donation·is·non-refundable.</p> |
278 | </div> | 278 | </div> |
279 | </div> | 279 | </div> |
280 | <div·class="footer"> | 280 | <div·class="footer"> |
281 | <hr·class="footer"·/> | 281 | <hr·class="footer"·/> |
282 | Generated·on:·202 | 282 | Generated·on:·2025-04-16. |
283 | </div> | 283 | </div> |
284 | </body> | 284 | </body> |
285 | </html> | 285 | </html> |
Offset 314, 8 lines modified | Offset 314, 8 lines modified | ||
314 | does·not·have·any·tax·exempt·status.·The·lxml·project·is·neither·a·registered | 314 | does·not·have·any·tax·exempt·status.·The·lxml·project·is·neither·a·registered |
315 | non-profit·corporation·nor·a·registered·charity·in·any·country.·Your·donation | 315 | non-profit·corporation·nor·a·registered·charity·in·any·country.·Your·donation |
316 | may·or·may·not·be·tax-deductible;·please·consult·your·tax·advisor·in·this | 316 | may·or·may·not·be·tax-deductible;·please·consult·your·tax·advisor·in·this |
317 | matter.·We·will·not·publish·or·disclose·your·name·and/or·e-mail·address·without | 317 | matter.·We·will·not·publish·or·disclose·your·name·and/or·e-mail·address·without |
318 | your·consent,·unless·required·by·applicable·law.·Your·donation·is·non- | 318 | your·consent,·unless·required·by·applicable·law.·Your·donation·is·non- |
319 | refundable. | 319 | refundable. |
320 | =============================================================================== | 320 | =============================================================================== |
321 | Generated·on:·202 | 321 | Generated·on:·2025-04-16. |
Offset 207, 12 lines modified | Offset 207, 12 lines modified | ||
207 | and·integrating·these·libraries·statically·during·the·build.··Please | 207 | and·integrating·these·libraries·statically·during·the·build.··Please |
208 | read·the | 208 | read·the |
209 | <a·class="reference·external"·href="build.html#building-lxml-on-macos-x">MacOS-X·build·instructions</a>.</p> | 209 | <a·class="reference·external"·href="build.html#building-lxml-on-macos-x">MacOS-X·build·instructions</a>.</p> |
210 | </div> | 210 | </div> |
211 | </div> | 211 | </div> |
212 | <div·class="footer"> | 212 | <div·class="footer"> |
213 | <hr·class="footer"·/> | 213 | <hr·class="footer"·/> |
214 | Generated·on:·202 | 214 | Generated·on:·2025-04-16. |
215 | </div> | 215 | </div> |
216 | </body> | 216 | </body> |
217 | </html> | 217 | </html> |
Offset 275, 8 lines modified | Offset 275, 8 lines modified | ||
275 | and·libxslt·are·less·outdated·in·recent·MacOS-X·versions·than·they·used·to·be, | 275 | and·libxslt·are·less·outdated·in·recent·MacOS-X·versions·than·they·used·to·be, |
276 | so·lxml·should·work·with·them·out·of·the·box,·it·is·still·recommended·to·use·a | 276 | so·lxml·should·work·with·them·out·of·the·box,·it·is·still·recommended·to·use·a |
277 | static·build·with·the·most·recent·library·versions. | 277 | static·build·with·the·most·recent·library·versions. |
278 | Luckily,·lxml's·setup.py·script·has·built-in·support·for·building·and | 278 | Luckily,·lxml's·setup.py·script·has·built-in·support·for·building·and |
279 | integrating·these·libraries·statically·during·the·build.·Please·read·the·_\x8M_\x8a_\x8c_\x8O_\x8S_\x8- | 279 | integrating·these·libraries·statically·during·the·build.·Please·read·the·_\x8M_\x8a_\x8c_\x8O_\x8S_\x8- |
280 | _\x8X_\x8·_\x8b_\x8u_\x8i_\x8l_\x8d_\x8·_\x8i_\x8n_\x8s_\x8t_\x8r_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s. | 280 | _\x8X_\x8·_\x8b_\x8u_\x8i_\x8l_\x8d_\x8·_\x8i_\x8n_\x8s_\x8t_\x8r_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s. |
281 | =============================================================================== | 281 | =============================================================================== |
282 | Generated·on:·202 | 282 | Generated·on:·2025-04-16. |
Offset 78, 12 lines modified | Offset 78, 12 lines modified | ||
78 | <p>lxml·aims·to·provide·a·Pythonic·API·by·following·as·much·as·possible·the | 78 | <p>lxml·aims·to·provide·a·Pythonic·API·by·following·as·much·as·possible·the |
79 | <a·class="reference·external"·href="http://effbot.org/zone/element-index.htm">ElementTree·API</a>.··We're·trying·to·avoid·inventing·too·many·new·APIs,·or·you | 79 | <a·class="reference·external"·href="http://effbot.org/zone/element-index.htm">ElementTree·API</a>.··We're·trying·to·avoid·inventing·too·many·new·APIs,·or·you |
80 | having·to·learn·new·things·--·XML·is·complicated·enough.</p> | 80 | having·to·learn·new·things·--·XML·is·complicated·enough.</p> |
81 | </div> | 81 | </div> |
82 | </div> | 82 | </div> |
83 | <div·class="footer"> | 83 | <div·class="footer"> |
84 | <hr·class="footer"·/> | 84 | <hr·class="footer"·/> |
85 | Generated·on:·202 | 85 | Generated·on:·2025-04-16. |
86 | </div> | 86 | </div> |
87 | </body> | 87 | </body> |
88 | </html> | 88 | </html> |
Offset 196, 8 lines modified | Offset 196, 8 lines modified | ||
196 | ····*·Use·Python·unicode·strings·in·API. | 196 | ····*·Use·Python·unicode·strings·in·API. |
197 | ····*·Safe·(no·segfaults). | 197 | ····*·Safe·(no·segfaults). |
198 | ····*·No·manual·memory·management! | 198 | ····*·No·manual·memory·management! |
199 | lxml·aims·to·provide·a·Pythonic·API·by·following·as·much·as·possible·the | 199 | lxml·aims·to·provide·a·Pythonic·API·by·following·as·much·as·possible·the |
200 | _\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8T_\x8r_\x8e_\x8e_\x8·_\x8A_\x8P_\x8I.·We're·trying·to·avoid·inventing·too·many·new·APIs,·or·you | 200 | _\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8T_\x8r_\x8e_\x8e_\x8·_\x8A_\x8P_\x8I.·We're·trying·to·avoid·inventing·too·many·new·APIs,·or·you |
201 | having·to·learn·new·things·--·XML·is·complicated·enough. | 201 | having·to·learn·new·things·--·XML·is·complicated·enough. |
202 | =============================================================================== | 202 | =============================================================================== |
203 | Generated·on:·202 | 203 | Generated·on:·2025-04-16. |
Offset 282, 12 lines modified | Offset 282, 12 lines modified | ||
282 | <h1>lxml.html</h1> | 282 | <h1>lxml.html</h1> |
283 | <p>A·specialised·toolkit·for·HTML·handling,·based·on·lxml.etree.··This·is | 283 | <p>A·specialised·toolkit·for·HTML·handling,·based·on·lxml.etree.··This·is |
284 | implemented·in·pure·Python.</p> | 284 | implemented·in·pure·Python.</p> |
285 | </div> | 285 | </div> |
286 | </div> | 286 | </div> |
287 | <div·class="footer"> | 287 | <div·class="footer"> |
288 | <hr·class="footer"·/> | 288 | <hr·class="footer"·/> |
289 | Generated·on:·202 | 289 | Generated·on:·2025-04-16. |
290 | </div> | 290 | </div> |
291 | </body> | 291 | </body> |
292 | </html> | 292 | </html> |
Offset 354, 8 lines modified | Offset 354, 8 lines modified | ||
354 | A·Cython·implemented·extension·module·that·uses·the·public·C-API·of·lxml.etree. | 354 | A·Cython·implemented·extension·module·that·uses·the·public·C-API·of·lxml.etree. |
355 | It·provides·a·Python·object-like·interface·to·XML·trees.·The·implementation | 355 | It·provides·a·Python·object-like·interface·to·XML·trees.·The·implementation |
356 | resides·in·the·file·_\x8l_\x8x_\x8m_\x8l_\x8._\x8o_\x8b_\x8j_\x8e_\x8c_\x8t_\x8i_\x8f_\x8y_\x8._\x8p_\x8y_\x8x. | 356 | resides·in·the·file·_\x8l_\x8x_\x8m_\x8l_\x8._\x8o_\x8b_\x8j_\x8e_\x8c_\x8t_\x8i_\x8f_\x8y_\x8._\x8p_\x8y_\x8x. |
357 | *\x8**\x8**\x8**\x8**\x8**\x8*·l\x8lx\x8xm\x8ml\x8l.\x8.h\x8ht\x8tm\x8ml\x8l·*\x8**\x8**\x8**\x8**\x8**\x8* | 357 | *\x8**\x8**\x8**\x8**\x8**\x8*·l\x8lx\x8xm\x8ml\x8l.\x8.h\x8ht\x8tm\x8ml\x8l·*\x8**\x8**\x8**\x8**\x8**\x8* |
358 | A·specialised·toolkit·for·HTML·handling,·based·on·lxml.etree.·This·is | 358 | A·specialised·toolkit·for·HTML·handling,·based·on·lxml.etree.·This·is |
359 | implemented·in·pure·Python. | 359 | implemented·in·pure·Python. |
360 | =============================================================================== | 360 | =============================================================================== |
361 | Generated·on:·202 | 361 | Generated·on:·2025-04-16. |
Offset 704, 12 lines modified | Offset 704, 12 lines modified | ||
704 | <span·class="gp">...·</span>····<span·class="n">card</span><span·class="o">.</span><span·class="n">addresses</span>·<span·class="o">=</span>·<span·class="n">parse_addresses</span><span·class="p">(</span><span·class="n">el</span><span·class="p">)</span> | 704 | <span·class="gp">...·</span>····<span·class="n">card</span><span·class="o">.</span><span·class="n">addresses</span>·<span·class="o">=</span>·<span·class="n">parse_addresses</span><span·class="p">(</span><span·class="n">el</span><span·class="p">)</span> |
705 | </pre></div> | 705 | </pre></div> |
706 | </div> | 706 | </div> |
707 | </div> | 707 | </div> |
708 | </div> | 708 | </div> |
709 | <div·class="footer"> | 709 | <div·class="footer"> |
710 | <hr·class="footer"·/> | 710 | <hr·class="footer"·/> |
711 | Generated·on:·202 | 711 | Generated·on:·2025-04-16. |
712 | </div> | 712 | </div> |
713 | </body> | 713 | </body> |
714 | </html> | 714 | </html> |
Offset 698, 8 lines modified | Offset 698, 8 lines modified | ||
698 | ...·····card.fn·=·get_text(el,·'fn') | 698 | ...·····card.fn·=·get_text(el,·'fn') |
699 | ...·····card.tels·=·[] | 699 | ...·····card.tels·=·[] |
700 | ...·····for·tel_el·in·card.find_class('tel'): | 700 | ...·····for·tel_el·in·card.find_class('tel'): |
701 | ...·········card.tels.append(Phone(get_value(tel_el), | 701 | ...·········card.tels.append(Phone(get_value(tel_el), |
702 | ...································get_all_texts(tel_el,·'type'))) | 702 | ...································get_all_texts(tel_el,·'type'))) |
703 | ...·····card.addresses·=·parse_addresses(el) | 703 | ...·····card.addresses·=·parse_addresses(el) |
704 | =============================================================================== | 704 | =============================================================================== |
705 | Generated·on:·202 | 705 | Generated·on:·2025-04-16. |
Offset 1161, 12 lines modified | Offset 1161, 12 lines modified | ||
1161 | not·be·100%·backwards·compatible,·and·the·additional·advantage·that·they·now | 1161 | not·be·100%·backwards·compatible,·and·the·additional·advantage·that·they·now |
1162 | support·any·XPath·expression.</li> | 1162 | support·any·XPath·expression.</li> |
1163 | </ul> | 1163 | </ul> |
1164 | </div> | 1164 | </div> |
1165 | </div> | 1165 | </div> |
1166 | <div·class="footer"> | 1166 | <div·class="footer"> |
1167 | <hr·class="footer"·/> | 1167 | <hr·class="footer"·/> |
1168 | Generated·on:·202 | 1168 | Generated·on:·2025-04-16. |
1169 | </div> | 1169 | </div> |
1170 | </body> | 1170 | </body> |
1171 | </html> | 1171 | </html> |
Offset 1170, 8 lines modified | Offset 1170, 8 lines modified | ||
1170 | ······retrieve·a·list·by·calling·the·getchildren()·method. | 1170 | ······retrieve·a·list·by·calling·the·getchildren()·method. |
1171 | ····*·The·find,·findall·and·findtext·methods·require·a·different·implementation | 1171 | ····*·The·find,·findall·and·findtext·methods·require·a·different·implementation |
1172 | ······based·on·ETXPath.·In·lxml.etree,·they·use·a·Python·implementation·based | 1172 | ······based·on·ETXPath.·In·lxml.etree,·they·use·a·Python·implementation·based |
1173 | ······on·the·original·iteration·scheme.·This·has·the·disadvantage·that·they·may | 1173 | ······on·the·original·iteration·scheme.·This·has·the·disadvantage·that·they·may |
1174 | ······not·be·100%·backwards·compatible,·and·the·additional·advantage·that·they | 1174 | ······not·be·100%·backwards·compatible,·and·the·additional·advantage·that·they |
1175 | ······now·support·any·XPath·expression. | 1175 | ······now·support·any·XPath·expression. |
1176 | =============================================================================== | 1176 | =============================================================================== |
1177 | Generated·on:·202 | 1177 | Generated·on:·2025-04-16. |
Offset 885, 12 lines modified | Offset 885, 12 lines modified | ||
885 | correctly·parse·the·XML·byte·stream.··Note·that·using·<tt·class="docutils·literal">tostring()</tt> | 885 | correctly·parse·the·XML·byte·stream.··Note·that·using·<tt·class="docutils·literal">tostring()</tt> |
886 | with·UTF-8·is·also·considerably·faster·in·most·cases.</p> | 886 | with·UTF-8·is·also·considerably·faster·in·most·cases.</p> |
887 | </div> | 887 | </div> |
888 | </div> | 888 | </div> |
889 | </div> | 889 | </div> |
890 | <div·class="footer"> | 890 | <div·class="footer"> |
891 | <hr·class="footer"·/> | 891 | <hr·class="footer"·/> |
892 | Generated·on:·202 | 892 | Generated·on:·2025-04-16. |
893 | </div> | 893 | </div> |
894 | </body> | 894 | </body> |
895 | </html> | 895 | </html> |
Offset 909, 8 lines modified | Offset 909, 8 lines modified | ||
909 | encoding.·These·strings·are·most·likely·not·parsable·by·other·XML·libraries. | 909 | encoding.·These·strings·are·most·likely·not·parsable·by·other·XML·libraries. |
910 | For·normal·byte·encodings,·the·tostring()·function·automatically·adds·a | 910 | For·normal·byte·encodings,·the·tostring()·function·automatically·adds·a |
911 | declaration·as·needed·that·reflects·the·encoding·of·the·returned·string.·This | 911 | declaration·as·needed·that·reflects·the·encoding·of·the·returned·string.·This |
912 | makes·it·possible·for·other·parsers·to·correctly·parse·the·XML·byte·stream. | 912 | makes·it·possible·for·other·parsers·to·correctly·parse·the·XML·byte·stream. |
913 | Note·that·using·tostring()·with·UTF-8·is·also·considerably·faster·in·most | 913 | Note·that·using·tostring()·with·UTF-8·is·also·considerably·faster·in·most |
914 | cases. | 914 | cases. |
915 | =============================================================================== | 915 | =============================================================================== |
916 | Generated·on:·202 | 916 | Generated·on:·2025-04-16. |
Offset 786, 12 lines modified | Offset 786, 12 lines modified | ||
786 | profile·your·expected·use·cases·before·bothering·to·apply·optimisations·at | 786 | profile·your·expected·use·cases·before·bothering·to·apply·optimisations·at |
787 | random.</p> | 787 | random.</p> |
788 | </div> | 788 | </div> |
789 | </div> | 789 | </div> |
790 | </div> | 790 | </div> |
791 | <div·class="footer"> | 791 | <div·class="footer"> |
792 | <hr·class="footer"·/> | 792 | <hr·class="footer"·/> |
793 | Generated·on:·202 | 793 | Generated·on:·2025-04-16. |
794 | </div> | 794 | </div> |
795 | </body> | 795 | </body> |
796 | </html> | 796 | </html> |
Offset 777, 8 lines modified | Offset 777, 8 lines modified | ||
777 | ····*·If·you·use·custom·data·types·that·are·costly·to·parse,·try·running | 777 | ····*·If·you·use·custom·data·types·that·are·costly·to·parse,·try·running |
778 | ······objectify.annotate()·over·read-only·trees·to·speed·up·the·attribute·type | 778 | ······objectify.annotate()·over·read-only·trees·to·speed·up·the·attribute·type |
779 | ······inference·on·read·access. | 779 | ······inference·on·read·access. |
780 | Note·that·none·of·these·measures·is·guaranteed·to·speed·up·your·application.·As | 780 | Note·that·none·of·these·measures·is·guaranteed·to·speed·up·your·application.·As |
781 | usual,·you·should·prefer·readable·code·over·premature·optimisations·and·profile | 781 | usual,·you·should·prefer·readable·code·over·premature·optimisations·and·profile |
782 | your·expected·use·cases·before·bothering·to·apply·optimisations·at·random. | 782 | your·expected·use·cases·before·bothering·to·apply·optimisations·at·random. |
783 | =============================================================================== | 783 | =============================================================================== |
784 | Generated·on:·202 | 784 | Generated·on:·2025-04-16. |
Offset 246, 12 lines modified | Offset 246, 12 lines modified | ||
246 | should·consider·writing·a·custom·document·loader·that·returns·empty | 246 | should·consider·writing·a·custom·document·loader·that·returns·empty |
247 | documents·or·raises·exceptions·if·access·is·denied.</li> | 247 | documents·or·raises·exceptions·if·access·is·denied.</li> |
248 | </ul> | 248 | </ul> |
249 | </div> | 249 | </div> |
250 | </div> | 250 | </div> |
251 | <div·class="footer"> | 251 | <div·class="footer"> |
252 | <hr·class="footer"·/> | 252 | <hr·class="footer"·/> |
253 | Generated·on:·202 | 253 | Generated·on:·2025-04-16. |
254 | </div> | 254 | </div> |
255 | </body> | 255 | </body> |
256 | </html> | 256 | </html> |
Offset 347, 8 lines modified | Offset 347, 8 lines modified | ||
347 | ······independent. | 347 | ······independent. |
348 | ····*·read_file·only·applies·to·files·in·the·file·system.·Any·other·scheme·for | 348 | ····*·read_file·only·applies·to·files·in·the·file·system.·Any·other·scheme·for |
349 | ······URLs·is·controlled·by·the·*_network·keywords. | 349 | ······URLs·is·controlled·by·the·*_network·keywords. |
350 | ····*·If·you·need·more·fine-grained·control·than·switching·access·on·and·off, | 350 | ····*·If·you·need·more·fine-grained·control·than·switching·access·on·and·off, |
351 | ······you·should·consider·writing·a·custom·document·loader·that·returns·empty | 351 | ······you·should·consider·writing·a·custom·document·loader·that·returns·empty |
352 | ······documents·or·raises·exceptions·if·access·is·denied. | 352 | ······documents·or·raises·exceptions·if·access·is·denied. |
353 | =============================================================================== | 353 | =============================================================================== |
354 | Generated·on:·202 | 354 | Generated·on:·2025-04-16. |
Offset 120, 12 lines modified | Offset 120, 12 lines modified | ||
120 | <span·class="gp">>>>·</span><span·class="nb">print</span><span·class="p">(</span><span·class="n">dom</span><span·class="o">.</span><span·class="n">firstChild</span><span·class="o">.</span><span·class="n">localName</span><span·class="p">)</span> | 120 | <span·class="gp">>>>·</span><span·class="nb">print</span><span·class="p">(</span><span·class="n">dom</span><span·class="o">.</span><span·class="n">firstChild</span><span·class="o">.</span><span·class="n">localName</span><span·class="p">)</span> |
121 | <span·class="go">a</span> | 121 | <span·class="go">a</span> |
122 | </pre></div> | 122 | </pre></div> |
123 | </div> | 123 | </div> |
124 | </div> | 124 | </div> |
125 | <div·class="footer"> | 125 | <div·class="footer"> |
126 | <hr·class="footer"·/> | 126 | <hr·class="footer"·/> |
127 | Generated·on:·202 | 127 | Generated·on:·2025-04-16. |
128 | </div> | 128 | </div> |
129 | </body> | 129 | </body> |
130 | </html> | 130 | </html> |
Offset 233, 8 lines modified | Offset 233, 8 lines modified | ||
233 | >>>·handler·=·SAX2DOM() | 233 | >>>·handler·=·SAX2DOM() |
234 | >>>·lxml.sax.saxify(tree,·handler) | 234 | >>>·lxml.sax.saxify(tree,·handler) |
235 | PullDOM·makes·the·result·available·through·the·document·attribute: | 235 | PullDOM·makes·the·result·available·through·the·document·attribute: |
236 | >>>·dom·=·handler.document | 236 | >>>·dom·=·handler.document |
237 | >>>·print(dom.firstChild.localName) | 237 | >>>·print(dom.firstChild.localName) |
238 | a | 238 | a |
239 | =============================================================================== | 239 | =============================================================================== |
240 | Generated·on:·202 | 240 | Generated·on:·2025-04-16. |
Offset 1214, 12 lines modified | Offset 1214, 12 lines modified | ||
1214 | </pre></div> | 1214 | </pre></div> |
1215 | <p>Note·that·the·<tt·class="docutils·literal">.find()</tt>·method·simply·returns·None·if·no·match·is·found, | 1215 | <p>Note·that·the·<tt·class="docutils·literal">.find()</tt>·method·simply·returns·None·if·no·match·is·found, |
1216 | whereas·the·other·two·examples·would·raise·a·<tt·class="docutils·literal">StopIteration</tt>·exception.</p> | 1216 | whereas·the·other·two·examples·would·raise·a·<tt·class="docutils·literal">StopIteration</tt>·exception.</p> |
1217 | </div> | 1217 | </div> |
1218 | </div> | 1218 | </div> |
1219 | <div·class="footer"> | 1219 | <div·class="footer"> |
1220 | <hr·class="footer"·/> | 1220 | <hr·class="footer"·/> |
1221 | Generated·on:·202 | 1221 | Generated·on:·2025-04-16. |
1222 | </div> | 1222 | </div> |
1223 | </body> | 1223 | </body> |
1224 | </html> | 1224 | </html> |
Offset 1188, 8 lines modified | Offset 1188, 8 lines modified | ||
1188 | >>>·print(next(root.iterfind(".//b")).tag) | 1188 | >>>·print(next(root.iterfind(".//b")).tag) |
1189 | b | 1189 | b |
1190 | >>>·print(next(root.iter("b")).tag) | 1190 | >>>·print(next(root.iter("b")).tag) |
1191 | b | 1191 | b |
1192 | Note·that·the·.find()·method·simply·returns·None·if·no·match·is·found,·whereas | 1192 | Note·that·the·.find()·method·simply·returns·None·if·no·match·is·found,·whereas |
1193 | the·other·two·examples·would·raise·a·StopIteration·exception. | 1193 | the·other·two·examples·would·raise·a·StopIteration·exception. |
1194 | =============================================================================== | 1194 | =============================================================================== |
1195 | Generated·on:·202 | 1195 | Generated·on:·2025-04-16. |
Offset 560, 12 lines modified | Offset 560, 12 lines modified | ||
560 | <p>Note·that·libxml2·restricts·error·reporting·to·the·parsing·step·(when·creating | 560 | <p>Note·that·libxml2·restricts·error·reporting·to·the·parsing·step·(when·creating |
561 | the·Schematron·instance).··There·is·not·currently·any·support·for·error | 561 | the·Schematron·instance).··There·is·not·currently·any·support·for·error |
562 | reporting·during·validation.</p> | 562 | reporting·during·validation.</p> |
563 | </div> | 563 | </div> |
564 | </div> | 564 | </div> |
565 | <div·class="footer"> | 565 | <div·class="footer"> |
566 | <hr·class="footer"·/> | 566 | <hr·class="footer"·/> |
567 | Generated·on:·202 | 567 | Generated·on:·2025-04-16. |
568 | </div> | 568 | </div> |
569 | </body> | 569 | </body> |
570 | </html> | 570 | </html> |
Offset 630, 8 lines modified | Offset 630, 8 lines modified | ||
630 | >>>·if·not·is_valid(doc): | 630 | >>>·if·not·is_valid(doc): |
631 | ...·····print("invalid!") | 631 | ...·····print("invalid!") |
632 | invalid! | 632 | invalid! |
633 | Note·that·libxml2·restricts·error·reporting·to·the·parsing·step·(when·creating | 633 | Note·that·libxml2·restricts·error·reporting·to·the·parsing·step·(when·creating |
634 | the·Schematron·instance).·There·is·not·currently·any·support·for·error | 634 | the·Schematron·instance).·There·is·not·currently·any·support·for·error |
635 | reporting·during·validation. | 635 | reporting·during·validation. |
636 | =============================================================================== | 636 | =============================================================================== |
637 | Generated·on:·202 | 637 | Generated·on:·2025-04-16. |
Offset 644, 12 lines modified | Offset 644, 12 lines modified | ||
644 | <div·class="syntax"><pre><span></span><span·class="gp">>>>·</span><span·class="k">del</span>·<span·class="n">result</span><span·class="o">.</span><span·class="n">xslt_profile</span> | 644 | <div·class="syntax"><pre><span></span><span·class="gp">>>>·</span><span·class="k">del</span>·<span·class="n">result</span><span·class="o">.</span><span·class="n">xslt_profile</span> |
645 | </pre></div> | 645 | </pre></div> |
646 | </div> | 646 | </div> |
647 | </div> | 647 | </div> |
648 | </div> | 648 | </div> |
649 | <div·class="footer"> | 649 | <div·class="footer"> |
650 | <hr·class="footer"·/> | 650 | <hr·class="footer"·/> |
651 | Generated·on:·202 | 651 | Generated·on:·2025-04-16. |
652 | </div> | 652 | </div> |
653 | </body> | 653 | </body> |
654 | </html> | 654 | </html> |
Offset 670, 8 lines modified | Offset 670, 8 lines modified | ||
670 | ··<template·rank="1"·match="/"·name=""·mode=""·calls="1"·time="1"·average="1"/> | 670 | ··<template·rank="1"·match="/"·name=""·mode=""·calls="1"·time="1"·average="1"/> |
671 | </profile> | 671 | </profile> |
672 | Note·that·this·is·a·read-only·document.·You·must·not·move·any·of·its·elements | 672 | Note·that·this·is·a·read-only·document.·You·must·not·move·any·of·its·elements |
673 | to·other·documents.·Please·deep-copy·the·document·if·you·need·to·modify·it.·If | 673 | to·other·documents.·Please·deep-copy·the·document·if·you·need·to·modify·it.·If |
674 | you·want·to·free·it·from·memory,·just·do: | 674 | you·want·to·free·it·from·memory,·just·do: |
675 | >>>·del·result.xslt_profile | 675 | >>>·del·result.xslt_profile |
676 | =============================================================================== | 676 | =============================================================================== |
677 | Generated·on:·202 | 677 | Generated·on:·2025-04-16. |