Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by momo2000

  1. momo2000

    How do I add a 3rd condition to my vb.net code?

    In the xml document below, I would like to check for 3 things 1. If Phone/@Current ='true' 2. If Type/@Word ='HOME' 3. If Invalid is not true I have done 1 and 2 but I am not sure how to do 3 in the same line of code. My xml document which is put into an object objxmlPhoneNode <?xml...
  2. momo2000

    How do I get the correct output in xslt?

    Thanks atlopes
  3. momo2000

    How do I get the correct output in xslt?

    I would like to get the following output from my xml document. When the dateofbirth is present in the input document (xml doc) I want the result to show pass. Expected <?xml version="1.0" encoding="UTF-16"?> <EditReport xmlns="http://www.courts.state.mn.us/02/MW"> <EditResult>...
  4. momo2000

    I expect result to be true but I get false

    I solved this one. I do not need any help. Here is what I added <xsl:when test="(ChargeHistory[@ChargeHistoryID=$vFilChrgHistID]/Statute/Degree/@Word='MSD') and ((ChargeHistory[@ChargeHistoryID=$vFilChrgHistID]/Additional/TargetedMisdemeanor='false') or...
  5. momo2000

    I expect result to be true but I get false

    My xslt is not working as I expect it to. I expect to get <flag>true</flag> but my output is displaying <flag>false</flag> The result I want should look like this. <?xml version="1.0" encoding="UTF-16"?> <EditReport> <EditResult> <EditNumber>4</EditNumber>...
  6. momo2000

    How do I change existing xslt code to a simple statement?

    I have the following existing xslt code. I would like to replace this code with a simple statement where I check the first three characters of CaseType/@Word = CNV instead. <xsl:variable name="ConvertedFELOrGMD"> <xsl:choose> <xsl:when test="CaseType/@Word =...
  7. momo2000

    How to I add extra condition on my xslt count when statement?

    Thanks for your help
  8. momo2000

    How to I add extra condition on my xslt count when statement?

    I have a when statement that I would like to add one more condition. I would like to add CaseParty with an Op='A' to my existing count. How do I do that? Here is my xslt when test count statement <xsl:when test="(count(CaseParty[((ObservedRace/@Op='E') or (ObservedEthnicity/@Op='E')) and...
  9. momo2000

    How do I get the right output using template?

    Tom your words are very encouraging. Sometimes I am a little frustrated when I am not able to articulate what I am trying to do. But on the bright side, you have a lot of experience and that helps you understand my questions even when they are not stated in a clear way! Besides you do help...
  10. momo2000

    How do I get the right output using template?

    Thanks Tom as always for helping me. I did modify your solution a little bit in order for it to work as I wanted it to. Maybe I need to know how to clearly state in my questions what I am trying to achieve and also show the desired output. I know it makes it easier to get help is the question...
  11. momo2000

    How do I get the right output using template?

    Thank you so so much. It is now working
  12. momo2000

    How do I get the right output using template?

    Maybe my question was not clear. There are 4 scenarios, I have numbered them below. Scenario 1. CasePartyUpdates = 0 and ProtectionOrder = 0 No EditResult (Nothing to display. Scenario 2. CasePartyUpdates > 0 and ProtectionOrder = 0 EditResult is displayed with <Result>Fail</Result>...
  13. momo2000

    How do I get the right output using template?

    My result Pass or Fail should be based on whether or not vPartyUpdateEventCount vPOSendEventCount are greater than zero. What should I change in xslt code so that it get the value of vPOSendEventCount and vPartyUpdateEventCount?
  14. momo2000

    How do I get the right output using template?

    atlopes. I did as you asked me to but I am still getting the same wrong output when my xml document has the following nodes <IntegrationCondition Word="BCAPO" Description="BCA PO Notification"> <NotificationEvent notificationType="ProtectionOrder" internalProtectionOrderID="12556"...
  15. momo2000

    How do I get the right output using template?

    I would like to get correct output but my template is returning wrong output. Correct output should be <EditReport> <MessageIdentification>Case:1097</MessageIdentification> <SourceLocation>111</SourceLocation> <SourceUser>Tester</SourceUser> <EditResult> <EditNumber>001</EditNumber>...

Part and Inventory Search

Back
Top