Guest User

Untitled

a guest
Jun 25th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <CatalogObject.СтатьиЗатрат
  3. xmlns="http://v8.1c.ru/8.1/data/enterprise/current-config"
  4. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  5. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  6. <Code>00-000052</Code>
  7. <Description>Государственная пошлина, кроме судебной</Description>
  8. </CatalogObject.СтатьиЗатрат>
  9.  
  10. <?xml version="1.0" encoding="UTF-8"?>
  11. <entry>
  12. <category term="StandardODATA.Catalog_СтатьиЗатрат"
  13. scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
  14. <title type="text"/>
  15. <updated/>
  16. <author/>
  17. <summary/>
  18. <content type="application/xml">
  19. <m:properties
  20. xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
  21. xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
  22. <d:Name>Государственная пошлина, кроме судебной</d:Name>
  23. <d:Code>00-000052</d:Code>
  24. </m:properties>
  25. </content>
  26. </entry>
  27.  
  28. <?xml version="1.0" encoding="utf-8"?>
  29.  
  30. <xsl:stylesheet
  31. xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  32. xmlns:cc="http://v8.1c.ru/8.1/data/enterprise/current-config"
  33. exclude-result-prefixes="cc"
  34. version="1.0">
  35.  
  36. <xsl:output method="xml" encoding="UTF-8"/>
  37.  
  38. <xsl:template match="/">
  39. <entry>
  40. <category term="StandardODATA.Catalog_СтатьиЗатрат"
  41. scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
  42. <title type="text"/>
  43. <updated/>
  44. <author/>
  45. <summary/>
  46. <content type="application/xml">
  47. <xsl:apply-templates select="*"/>
  48. </content>
  49. </entry>
  50. </xsl:template>
  51.  
  52. <xsl:template match="cc:CatalogObject.СтатьиЗатрат">
  53. <m:properties
  54. xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
  55. xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
  56. <d:Name>
  57. <xsl:value-of select="cc:Description"/>
  58. </d:Name>
  59. <d:Code>
  60. <xsl:value-of select="cc:Code"/>
  61. </d:Code>
  62. </m:properties>
  63. </xsl:template>
  64. </xsl:stylesheet>
Add Comment
Please, Sign In to add comment