Advertisement
Guest User

Untitled

a guest
Apr 19th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  2. <xsl:output method="text"/>
  3. <xsl:template match="/">
  4. { "DataCollection": [
  5. <xsl:for-each select="DataCollection/Technicians">
  6. { "id": "<xsl:value-of select="Technician/@id"/>",
  7. "firstname:" <xsl:value-of select="firstname"/>",
  8. "lastname:" <xsl:value-of select="lastname"/>",
  9. "birthday:" <xsl:value-of select="birthday"/>",
  10. "email:" <xsl:value-of select="email"/>"
  11. }
  12. </xsl:for-each>
  13. </xsl:template>
  14.  
  15. </xsl:stylesheet>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement