{"action":"created","issue":{"url":"https://api.github.com/repos/EvilBeaver/OneScript/issues/243","repository_url":"https://api.github.com/repos/EvilBeaver/OneScript","labels_url":"https://api.github.com/repos/EvilBeaver/OneScript/issues/243/labels{/name}","comments_url":"https://api.github.com/repos/EvilBeaver/OneScript/issues/243/comments","events_url":"https://api.github.com/repos/EvilBeaver/OneScript/issues/243/events","html_url":"https://github.com/EvilBeaver/OneScript/issues/243","id":152512707,"number":243,"title":"Поддержка XPath","user":{"login":"allustin","id":55323,"avatar_url":"https://avatars.githubusercontent.com/u/55323?v=3","gravatar_id":"","url":"https://api.github.com/users/allustin","html_url":"https://github.com/allustin","followers_url":"https://api.github.com/users/allustin/followers","following_url":"https://api.github.com/users/allustin/following{/other_user}","gists_url":"https://api.github.com/users/allustin/gists{/gist_id}","starred_url":"https://api.github.com/users/allustin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allustin/subscriptions","organizations_url":"https://api.github.com/users/allustin/orgs","repos_url":"https://api.github.com/users/allustin/repos","events_url":"https://api.github.com/users/allustin/events{/privacy}","received_events_url":"https://api.github.com/users/allustin/received_events","type":"User","site_admin":false},"labels":[{"id":354809708,"url":"https://api.github.com/repos/EvilBeaver/OneScript/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":354809709,"url":"https://api.github.com/repos/EvilBeaver/OneScript/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-05-02T09:08:18Z","updated_at":"2016-11-01T07:40:17Z","closed_at":null,"body":"учитывая что 1С исходники почти полностью состоят из XML нужна поддержка XPath\n\nповедение пока неясно, поэтому просто оставлю это напоминание.\n\nв самом 1С языке используется построитель DOM\n"},"comment":{"url":"https://api.github.com/repos/EvilBeaver/OneScript/issues/comments/257506300","html_url":"https://github.com/EvilBeaver/OneScript/issues/243#issuecomment-257506300","issue_url":"https://api.github.com/repos/EvilBeaver/OneScript/issues/243","id":257506300,"user":{"login":"CryptedSky","id":22368214,"avatar_url":"https://avatars.githubusercontent.com/u/22368214?v=3","gravatar_id":"","url":"https://api.github.com/users/CryptedSky","html_url":"https://github.com/CryptedSky","followers_url":"https://api.github.com/users/CryptedSky/followers","following_url":"https://api.github.com/users/CryptedSky/following{/other_user}","gists_url":"https://api.github.com/users/CryptedSky/gists{/gist_id}","starred_url":"https://api.github.com/users/CryptedSky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CryptedSky/subscriptions","organizations_url":"https://api.github.com/users/CryptedSky/orgs","repos_url":"https://api.github.com/users/CryptedSky/repos","events_url":"https://api.github.com/users/CryptedSky/events{/privacy}","received_events_url":"https://api.github.com/users/CryptedSky/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T07:40:17Z","updated_at":"2016-11-01T07:40:17Z","body":"@nixel2007 не совсем: результатом выполнения запроса XPath является набор узлов DOM, который судя по посту @EvilBeaver еще тоже нужно как-то впиливать; результат выполнения xsl-трансформации - строка (xml/html/whatever), с которой уже можно делать что-угодно. В этом случае профитней будет закодить поддержку 1Сного объекта ПреобразованиеXSL (без методов ЗагрузитьИзУзла/ПреобразоватьИзУзла). Это, наверное, даже мне по силам.\r\n\r\nТут есть другая проблема: и используемая в 1С древняя (версия?) libxslt, и XslCompiledTransform из System.XML.XSL поддерживают стандарт XSLT **1.0** (актуальный 3.0), в котором использование параметров сильно ограничено (например, мне так и не удалось пробросить параметр в template match, и, судя по всему, это можно только начиная с **2.0**) "}}
{"actor":{"display_login":"CryptedSky"}}