Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:output method="text"/>
- <xsl:template match="/">
- { "DataCollection": [
- <xsl:for-each select="DataCollection/Technicians">
- { "id": "<xsl:value-of select="Technician/@id"/>",
- "firstname:" <xsl:value-of select="firstname"/>",
- "lastname:" <xsl:value-of select="lastname"/>",
- "birthday:" <xsl:value-of select="birthday"/>",
- "email:" <xsl:value-of select="email"/>"
- }
- </xsl:for-each>
- </xsl:template>
- </xsl:stylesheet>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement