40%off
Workday-Pro-Integrations Premium Bundle
Latest Workday-Pro-Integrations Exam Premium Dumps provide by TrainingDump.com to help you Passing Workday-Pro-Integrations Exam! TrainingDump.com offers the updated Workday-Pro-Integrations exam dumps, the TrainingDump.com Workday-Pro-Integrations exam questions has been updated to correct Answer. Get the latest TrainingDump.com Workday-Pro-Integrations pdf dumps with Exam Engine here:
(111 Q&As Dumps, 40%OFF Special Discount: DumpsFiles)
Join the discussion
Question 48/61
Refer to the following XML to answer the question below.

You are an integration developer and need to write XSLT to transform the output of an EIB which is using a web service enabled report to output worker data along with their dependents. You currentlyhave a template which matches on wd:Dependents_Group to iterate over each dependent. Within the template which matches on wd:Dependents_Group you would like to output a relationship code by using an <xsl:choose> statement.
What XSLT syntax would be used to output SP when the dependent relationship is spouse, output CH when the dependent relationship is child, otherwise output OTHER?

You are an integration developer and need to write XSLT to transform the output of an EIB which is using a web service enabled report to output worker data along with their dependents. You currentlyhave a template which matches on wd:Dependents_Group to iterate over each dependent. Within the template which matches on wd:Dependents_Group you would like to output a relationship code by using an <xsl:choose> statement.
What XSLT syntax would be used to output SP when the dependent relationship is spouse, output CH when the dependent relationship is child, otherwise output OTHER?
Correct Answer: C
In Workday integrations, XSLT is used to transform XML data, such as the output from an Enterprise Interface Builder (EIB) or a web service-enabled report, into a desired format for third-party systems. In this scenario, you need to write XSLT to process wd:Dependents_Group elements and output a relationship code based on the value of the wd:Relationship attribute or element. The requirement is tooutput "SP" for a
"Spouse" relationship, "CH" for a "Child" relationship, and "OTHER" for any other relationship, using an
<xsl:choose> statement within a template matching wd:Dependents_Group.
Here's why option C is correct:
* XSLT <xsl:choose> Structure: The <xsl:choose> element in XSLT provides conditional logic similar to a switch statement. It evaluates conditions in <xsl:when> elements sequentially, executing the first matching condition, and uses <xsl:otherwise> for any case that doesn't match.
* Relationship as an Attribute: Based on the provided XML snippet, wd:Relationship is an attribute (e.
g., <wd:Relationship>Spouse</wd:Relationship> within wd:Dependents_Group). However, in Workday XML for integrations, wd:Relationship is often represented as an attribute (@wd:
Relationship) rather than a child element, especially in contexts like dependent data in reports. The syntax @wd:Relationship in the test attribute of <xsl:when> correctly references this attribute, aligning with Workday's typical XML structure for such data.
* Condition Matching:
* The first <xsl:when test="@wd:Relationship='Spouse'">SP</xsl:when> checks if the wd:
Relationship attribute equals "Spouse" and outputs "SP" if true.
* The second <xsl:when test="@wd:Relationship='Child'">CH</xsl:when> checks if the wd:
Relationship attribute equals "Child" and outputs "CH" if true.
* The <xsl:otherwise>OTHER</xsl:otherwise> handles all other cases, outputting "OTHER" if the relationship is neither "Spouse" nor "Child."
* Context in Template: Since the template matches on wd:Dependents_Group, the test conditions operate on the current wd:Dependents_Group element and its attributes, ensuring the correct relationship code is output for each dependent. The XML snippet shows wd:Relationship as an element, but Workday documentation and integration practices often standardize it as an attribute in XSLT transformations, making @wd:Relationship appropriate.
Why not the other options?
* A.
xml
WrapCopy
<xsl:choose>
<xsl:when test="wd:Relationship='Spouse'">SP</xsl:when>
<xsl:when test="wd:Relationship='Child'">CH</xsl:when>
<xsl:otherwise>OTHER</xsl:otherwise>
</xsl:choose>
This assumes wd:Relationship is a child element of wd:Dependents_Group, not an attribute. The XML snippet shows wd:Relationship as an element, but in Workday integrations, XSLT often expects attributes for efficiency and consistency, especially in report outputs. Using wd:Relationship without @ would not match the attribute-based structure commonly used, making it incorrect for this context.
* B.
xml
WrapCopy
<xsl:choose>
<xsl:when test="@wd:Relationship='Spouse'">SP</xsl:when>
<xsl:when test="@wd:Relationship='Child'">CH</xsl:when>
<xsl:otherwise>OTHER</xsl:otherwise>
</xsl:choose>
This correctly uses @wd:Relationship for an attribute but has a logical flaw: if wd:Relationship='Child', the second <xsl:when> would output "CH," but the order of conditions matters. However, the primaryissue is that it doesn't match the exact structure or intent as clearly as option C, and Workday documentation often specifies exact attribute-based conditions like those in option C.
* D.
xml
WrapCopy
<xsl:choose>
<xsl:when test="/wd:Relationship='Spouse'">SP</xsl:when>
<xsl:when test="/wd:Relationship='Child'">CH</xsl:when>
<xsl:otherwise>OTHER</xsl:otherwise>
</xsl:choose>
This uses an absolute path (/wd:Relationship), which searches for a wd:Relationship element at the root of the XML document, not within the current wd:Dependents_Group context. This would not work correctly for processing dependents in the context of the template matching wd:Dependents_Group, making it incorrect.
To implement this in XSLT:
* Within your template matching wd:Dependents_Group, you would include the <xsl:choose> statement from option C to evaluate the wd:Relationship attribute and output the appropriate relationship code ("SP," "CH," or "OTHER") based on its value. This ensures the transformation aligns with Workday's XML structure and integration requirements for processing dependent data in an EIB or web service- enabled report, even though the provided XML shows wd:Relationship as an element-XSLT transformations often normalize to attributes for consistency.
References:
* Workday Pro Integrations Study Guide: Section on "XSLT Transformations for Workday Integrations"
- Details the use of <xsl:choose>, <xsl:when>, <xsl:otherwise>, and XPath for conditional logic in XSLT, including handling attributes like @wd:Relationship.
* Workday EIB and Web Services Guide: Chapter on "XML and XSLT for Report Data" - Explains the structure of Workday XML (e.g., wd:Dependents_Group, @wd:Relationship) and how to use XSLT to transform dependent data, including attribute-based conditions.
* Workday Reporting and Analytics Guide: Section on "Web Service-Enabled Reports" - Covers integrating report outputs with XSLT for transformations, including examples of conditional logic for relationship codes.
"Spouse" relationship, "CH" for a "Child" relationship, and "OTHER" for any other relationship, using an
<xsl:choose> statement within a template matching wd:Dependents_Group.
Here's why option C is correct:
* XSLT <xsl:choose> Structure: The <xsl:choose> element in XSLT provides conditional logic similar to a switch statement. It evaluates conditions in <xsl:when> elements sequentially, executing the first matching condition, and uses <xsl:otherwise> for any case that doesn't match.
* Relationship as an Attribute: Based on the provided XML snippet, wd:Relationship is an attribute (e.
g., <wd:Relationship>Spouse</wd:Relationship> within wd:Dependents_Group). However, in Workday XML for integrations, wd:Relationship is often represented as an attribute (@wd:
Relationship) rather than a child element, especially in contexts like dependent data in reports. The syntax @wd:Relationship in the test attribute of <xsl:when> correctly references this attribute, aligning with Workday's typical XML structure for such data.
* Condition Matching:
* The first <xsl:when test="@wd:Relationship='Spouse'">SP</xsl:when> checks if the wd:
Relationship attribute equals "Spouse" and outputs "SP" if true.
* The second <xsl:when test="@wd:Relationship='Child'">CH</xsl:when> checks if the wd:
Relationship attribute equals "Child" and outputs "CH" if true.
* The <xsl:otherwise>OTHER</xsl:otherwise> handles all other cases, outputting "OTHER" if the relationship is neither "Spouse" nor "Child."
* Context in Template: Since the template matches on wd:Dependents_Group, the test conditions operate on the current wd:Dependents_Group element and its attributes, ensuring the correct relationship code is output for each dependent. The XML snippet shows wd:Relationship as an element, but Workday documentation and integration practices often standardize it as an attribute in XSLT transformations, making @wd:Relationship appropriate.
Why not the other options?
* A.
xml
WrapCopy
<xsl:choose>
<xsl:when test="wd:Relationship='Spouse'">SP</xsl:when>
<xsl:when test="wd:Relationship='Child'">CH</xsl:when>
<xsl:otherwise>OTHER</xsl:otherwise>
</xsl:choose>
This assumes wd:Relationship is a child element of wd:Dependents_Group, not an attribute. The XML snippet shows wd:Relationship as an element, but in Workday integrations, XSLT often expects attributes for efficiency and consistency, especially in report outputs. Using wd:Relationship without @ would not match the attribute-based structure commonly used, making it incorrect for this context.
* B.
xml
WrapCopy
<xsl:choose>
<xsl:when test="@wd:Relationship='Spouse'">SP</xsl:when>
<xsl:when test="@wd:Relationship='Child'">CH</xsl:when>
<xsl:otherwise>OTHER</xsl:otherwise>
</xsl:choose>
This correctly uses @wd:Relationship for an attribute but has a logical flaw: if wd:Relationship='Child', the second <xsl:when> would output "CH," but the order of conditions matters. However, the primaryissue is that it doesn't match the exact structure or intent as clearly as option C, and Workday documentation often specifies exact attribute-based conditions like those in option C.
* D.
xml
WrapCopy
<xsl:choose>
<xsl:when test="/wd:Relationship='Spouse'">SP</xsl:when>
<xsl:when test="/wd:Relationship='Child'">CH</xsl:when>
<xsl:otherwise>OTHER</xsl:otherwise>
</xsl:choose>
This uses an absolute path (/wd:Relationship), which searches for a wd:Relationship element at the root of the XML document, not within the current wd:Dependents_Group context. This would not work correctly for processing dependents in the context of the template matching wd:Dependents_Group, making it incorrect.
To implement this in XSLT:
* Within your template matching wd:Dependents_Group, you would include the <xsl:choose> statement from option C to evaluate the wd:Relationship attribute and output the appropriate relationship code ("SP," "CH," or "OTHER") based on its value. This ensures the transformation aligns with Workday's XML structure and integration requirements for processing dependent data in an EIB or web service- enabled report, even though the provided XML shows wd:Relationship as an element-XSLT transformations often normalize to attributes for consistency.
References:
* Workday Pro Integrations Study Guide: Section on "XSLT Transformations for Workday Integrations"
- Details the use of <xsl:choose>, <xsl:when>, <xsl:otherwise>, and XPath for conditional logic in XSLT, including handling attributes like @wd:Relationship.
* Workday EIB and Web Services Guide: Chapter on "XML and XSLT for Report Data" - Explains the structure of Workday XML (e.g., wd:Dependents_Group, @wd:Relationship) and how to use XSLT to transform dependent data, including attribute-based conditions.
* Workday Reporting and Analytics Guide: Section on "Web Service-Enabled Reports" - Covers integrating report outputs with XSLT for transformations, including examples of conditional logic for relationship codes.
Add Comments
- Other Question (61q)
- Q1. When creating an ISU, what should you do to ensure the user only authenticates via web ser...
- Q2. What is the purpose of granting an ISU modify access to the Integration Event domain via a...
- Q3. Refer to the following scenario to answer the question below. You have been asked to build...
- Q4. You need the integration file to generate the date format in the form of "31/07/2025" form...
- Q5. Refer to the following XML to answer the question below. Refer to the following XML to ans...
- Q6. What are the two valid data source options for an Outbound EIB?...
- Q7. Refer to the following scenario to answer the question below. You have configured a Core C...
- Q8. As of May 1, 2024 Brian Hill's annual salary is $60,000.00. On May 13, 2024 Brian Hill rec...
- Q9. You are creating an outbound connector using the Core Connector: Job Postings template. Th...
- Q10. What is the workflow to chain a Document Transformation system to a Connector integration ...
- Q11. What is the purpose of the <xsl:template> element?...
- Q12. You are configuring an EIB that uses a custom report as its data source. When attempting t...
- Q13. Refer to the following XML to answer the question below. (Exhibit) You need the integratio...
- Q14. A vendor needs an EIB that uses a custom report to output a list of new hires and their ch...
- Q15. What is the task used to upload a new XSLT file for a pre-existing document transformation...
- Q16. Refer to the following XML to answer the question below. Refer to the following XML to ans...
- Q17. You need the integration file to generate the date format in the form of "31/07/2025" form...
- Q18. How does an XSLT processor identify the specific nodes in an XML document to which a parti...
- Q19. Refer to the following scenario to answer the question below. Your integration has the fol...
- Q20. A vendor needs to create a Date Difference calculated field. However, the two dates needed...
- Q21. You have a population of workers who have put multiple names in their Legal Name - First N...
- Q22. What XSL component is required to execute valid transformation instructions in the XSLT co...
- Q23. Refer to the following scenario to answer the question below. You need to configure a Core...
- Q24. You have been asked to create an integration using the Core Connector: Worker with DIS tem...
- Q25. What is the relationship between the Integration System User (ISU), Integration System Sec...
- Q26. You are creating a connector based integration where all fields are provided by the templa...
- Q27. You need to create a report that includes data from multiple business objects. For a super...
- Q28. This is the XML file generated from a Core Connector; Positions integration. (Exhibit) Whe...
- Q29. Refer to the following XML and example transformed output to answer the question below. (E...
- Q30. When creating an ISU, what should you do to ensure the user only authenticates via web ser...
- Q31. What task is needed to build a sequence generator for an EIB integration?...
- Q32. Refer to the scenario. You are implementing a Core Connector: Worker integration to send e...
- Q33. What is the relationship between the Integration System User (ISU), Integration System Sec...
- Q34. Refer to the following XML and example transformed output to answer the question below. (E...
- Q35. Your manager has asked for a value on their dashboard for how many days away the birthdays...
- Q36. After configuring domain security policies, what task must you run to ensure the most rece...
- Q37. Refer to the scenario. You are configuring a Core Connector: Worker integration with the D...
- Q38. Refer to the scenario. You are configuring a Core Connector: Worker integration to extract...
- Q39. What is the workflow to upload an XSLT file for a brand new Document Transformation system...
- Q40. You have been asked to refine a report which outputs one row per worker and is being used ...
- Q41. What is the workflow to upload an XSLT file for a brand new Document Transformation system...
- Q42. Refer to the following XML and example transformed output to answer the question below. (E...
- Q43. This is the XML file generated from a Core Connector; Positions integration. (Exhibit) Whe...
- Q44. You need to filter a custom report to only show workers that have been terminated after a ...
- Q45. What is the workflow to chain a Document Transformation system to a Connector integration ...
- Q46. Which three features must all XSLT files contain to be considered valid?...
- Q47. Refer to the following scenario to answer the question below. You have been asked to build...
- Q48. Refer to the following XML to answer the question below. (Exhibit) You are an integration ...
- Q49. Your manager has asked for a value on their dashboard for how many days away the birthdays...
- Q50. A calculated field used as a field override in a Connector is not appearing in the output....
- Q51. Which features must all XSLT files contain to be considered valid?...
- Q52. Refer to the following scenario to answer the question below. You need to configure a Core...
- Q53. Your manager has asked for a value on their dashboard for how many days away the birthdays...
- Q54. Refer to the following XML to answer the question below. (Exhibit) Within the template whi...
- Q55. Which three features must all XSLT files contain to be considered valid?...
- Q56. You have configured a filename sequence generator for a connector integration. The vendor ...
- Q57. What is the relationship between an ISU (Integration System User) and an ISSG (Integration...
- Q58. A vendor needs an EIB that uses a custom report to output a list of new hires and their ch...
- Q59. How many integration systems can an ISU be assigned to concurrently?...
- Q60. What is the purpose of the <xsl:template> element?...
- Q61. Refer to the following scenario to answer the question below. You have configured a Core C...
[×]
Download PDF File
Enter your email address to download Workday.Workday-Pro-Integrations.v2026-03-13.q61.pdf
