Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Call: bpel:doXslTransform("books.xsl", $sl_searchBooksResponse.parameters, "second", $nl_searchForBooksResponse.parameters/*
- xsl file
- --------------------
- <?xml version="1.0" encoding="UTF-8"?>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:template match="nl:searchForBooksReturn">
- <book xmlns="http://library.be">
- <author>
- <xsl:value-of select="nl:author" />
- </author>
- <publicationDate>
- <xsl:value-of select="nl:date" />
- </publicationDate>
- <isbn>
- <xsl:value-of select="nl:isbn" />
- </isbn>
- <publisher>
- <xsl:value-of select="nl:publisher" />
- </publisher>
- <title>
- <xsl:value-of select="nl:title" />
- </title>
- <pages>42</pages>
- <review></review>
- <summary></summary>
- </book>
- </xsl:template>
- <xsl:template match="book">
- <book xmlns="urn:soft.vub.ac.be/">
- <author>
- <xsl:value-of select="author">
- </author>
- <publicationDate>
- <xsl:value-of select="year" />
- concat(year,'-01-01T00:00:00.000Z')
- </publicationDate>
- <isbn>
- <xsl:value-of select="isbn" />
- </isbn>
- <publisher>
- <xsl:value-of select="publisher" />
- </publisher>
- <title>
- <xsl:value-of select="title" />
- </title>
- <pages>42</pages>
- <review></review>
- <summary></summary>
- </book>
- </xsl:template>
- </xsl:stylesheet>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement