foo
bar
self::text()
ancestor-or-self::dsig:SignedInfo and count(ancestor-or-self::dsig:Reference | here()/ancestor::dsig:Reference[1]) > count(ancestor-or-self::dsig:Reference) or count(ancestor-or-self::node() | id('notaries')) = count(ancestor-or-self::node())
I am the text.
SSBhbSB0aGUgdGV4dC4=

# Notaries

192.168.21.138
CN=Merlin Hughes,OU=X/Secure,O=Baltimore Technologies Ltd.,ST=Dublin,C=IE
CN=Transient CA,OU=X/Secure,O=Baltimore Technologies Ltd.,ST=Dublin,C=IE
1014918778930
MIIDUTCCAw+gAwIBAgIGAOxN35AyMAkGByqGSM44BAMwbjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEVMBMGA1UEAxMMVHJhbnNpZW50IENB MB4XDTAyMDIyODE3NTI1OFoXDTAzMDIyODE3NTI1NFowbzELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEWMBQGA1UEAxMNTWVybGluIEh1Z2hl czCCAbYwggErBgcqhkjOOAQBMIIBHgKBgQCKa6nqWaSLisCZSy0pv/F0FExY21D6 kM33tmcsD1feUpuQQe1gXKNDe4By2BVInvmJVG4rHPgJvlHNWbbkRoqYqryuJ/Uy 0EiLqOMMnGYh01oQob3NVN/2CInHU30jS3eiHV8BVkNKvMrMkZDZa8N8h8Ud0ky0 HcLRUoaYtlHteQIVAMQ73t4+7BJ4eKyMzOYCvuf4McRVAoGANLugAf6IZJxo3BCO i5yrGEVwtlEzXcnndXhd0Tz38CnQKc4SEupm4PyP5TmLvK64TDfOD7sno/W5oI1K ZdimfW2c4r/6waNzZSvicMOWhLYY621Nn6njBc8VNwoxWpzCXhKm70b8+D4YZMn/ eU5DN8dvhTv/bNK21FfJqjp033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