[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xslt 2 when test multiple conditions
Yes, the document is quite large with 80 questions and other information I wanted to just include the relevant information. Below has all the elements up to the 2 questions from 2 separate questionnaires. If the QuestionnaireIdentifier_GCC__c is equal to <Safety_MedicalAE Questionnaire> then I want the Response_GCC__c from there. <?xml version="1.0" encoding="UTF-8"?> <records xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/ xmlns="urn:enterprise.soap.sforce.com" xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xmlns:sf="urn:sobject.enterprise.soap.sforce.com" xsi:type="sf:Case"> <sf:Id>xxxxxxxxxxxxx</sf:Id> <sf:Case_Responses_GCC__r> <records xsi:type="sf:Response_GCC__c"> <sf:QuestionnaireQuestion_GCC__r xsi:type="sf:QuestionnaireQuestion_GCC__c"> <sf:DSMapping_GCC__c>Indication</sf:DSMapping_GCC__c> <sf:Questionnaire_GCC__r xsi:type="sf:Questionnaire_GCC__c"> <sf:QuestionnaireIdentifier_GCC__c>Safety_MedicalAE Questionnaire</sf:QuestionnaireIdentifier_GCC__c> </sf:Questionnaire_GCC__r> </sf:QuestionnaireQuestion_GCC__r> <sf:Response_GCC__c>rash</sf:Response_GCC__c> </records> <records xsi:type="sf:Response_GCC__c"> <sf:QuestionnaireQuestion_GCC__r xsi:type="sf:QuestionnaireQuestion_GCC__c"> <sf:DSMapping_GCC__c>Indication</sf:DSMapping_GCC__c> <sf:Questionnaire_GCC__r xsi:type="sf:Questionnaire_GCC__c"> <sf:QuestionnaireIdentifier_GCC__c>Safety_Medical_FULL Questionnaire</sf:QuestionnaireIdentifier_GCC__c> </sf:Questionnaire_GCC__r> </sf:QuestionnaireQuestion_GCC__r> <sf:Response_GCC__c>cough</sf:Response_GCC__c> </records> <size>80</size> </sf:Case_Responses_GCC__r> </records>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|