BizTalk Developer Interview Questions and Answers - XSLT

BizTalk Developer Interview Questions and Answers - XSLT


Introduction

This article intends to cover the answers to XSLT related questions, which a BizTalk developer can face during an interview.

Questions and Answers

  1. What is XSLT?
    XSLT or Extensible Stylesheet Language Transformations is a style sheet language for XML documents (stands for XSL Transformations), it defines the transformation rules of the messages.

  2. Where does XSLT comes into picture in BizTalk?
    When a developer faces a complex mapping (problem) and to solve it requires a substantial amount of logic he/she can use custom XSLT. See TechNet Wiki article BizTalk Virtual Mapper VS Custom-XSLT.

  3. What is Muenchian method?
    The Muenchian Method is an algorithm for grouping of data used in XSL Transformations that identifies keys in the results and then queries all nodes with that key. It can be applied with custom XSLT within a BizTalk Map. See MSDN Blog Muenchian Grouping and Sorting in BizTalk Maps.

  4. Which version of XSLT is supported by BizTalk mapper?
    BizTalk Mapper supports XSLT 1.0. Using XSLT 2.0 in BizTalk Mapper is not supported (See MSDN Creating Maps Using BizTalk Mapper).

  5. Can I use Custom XSTL inside a BizTalk mapper?
    Yes by making use of the scripting functoid.

  6. Is it possible to exclude xml declaration <?xml...?> in the ouptut file?
    Yes . To exclude xml declaration , the attribute "omit-xml-declaration" is to be set as "yes."

  7. Can filter be applied to the output from the xml file?
    Yes . It can be done by adding a criterion to the select attribute in the <xsl:for-each> element.Filter operators which can be used are:
    =(equal)
    != (not equal)
    &lt; less than
    &gt; greater than

  8. How to traverse through the repeating node in input file?
     The XSL <xsl:for-each> element can be used to select every XML element of a specified node-set.
        9.  Is it possible to have custom functions?
             Yes, it can be done in script blocks which can be done using <msxsl:script> element.

      10. Is it possible to use method from a assembly available in GAC? 
            It can be done using <msxsl:assembly> element and it has to be child of <msxsl:script>element.



Author

Maheshkumar S. Tiwari
iVision Software Pvt Ltd
http://tech-findings.blogspot.com/

Contributors


See Also

Read suggested related topic:

Another important place to find a huge amount of BizTalk related articles is the TechNet Wiki itself. The best entry point is BizTalk Server Resources on the TechNet Wiki.

Leave a Comment
  • Please add 7 and 4 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Sort by: Published Date | Most Recent | Most Useful
Comments
Page 1 of 2 (20 items) 12
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
  • Steef-Jan Wiggers edited Revision 2. Comment: Fixed HTML, TOC and formatting

  • Steef-Jan Wiggers edited Revision 5. Comment: Minor edits

  • Steef-Jan Wiggers edited Revision 6. Comment: Added contributors

  • Steef-Jan Wiggers edited Revision 7. Comment: Formatting

  • Maheshkumar S Tiwari edited Revision 15. Comment: Added Q6

  • Maheshkumar S Tiwari edited Revision 16. Comment: Added answer 6

  • Maheshkumar S Tiwari edited Revision 17. Comment: Ediited Html

  • Maheshkumar S Tiwari edited Revision 18. Comment: Added question 7

  • Maheshkumar S Tiwari edited Revision 19. Comment: Added Q 8

  • Maheshkumar S Tiwari edited Revision 20. Comment: Added answer 8

  • Maheshkumar S Tiwari edited Revision 21. Comment: Added answer 7 and 8

  • Maheshkumar S Tiwari edited Revision 22. Comment: improved answer 7

  • Maheshkumar S Tiwari edited Revision 23. Comment: Added answer 7

  • Maheshkumar S Tiwari edited Revision 24. Comment: Added Question 9 and answer

  • Maheshkumar S Tiwari edited Revision 25. Comment: Added Q10

Page 1 of 2 (20 items) 12