Loading ...
Sorry, an error occurred while loading the content.
 

Need help with XSLT

Expand Messages
  • Permadi Untung
    I have an XML file like this below: 602007 Fisika
    Message 1 of 1 , May 1, 2001
      I have an XML file like this below:
      <root>
      <transcript nrp="6994029" name="PUTU GDE ARSA
      ADNYANA">
      <items>
      <subject_code>602007</subject_code>
      <subject>Fisika II</subject>
      <grade>C</grade>
      <semester>9</semester>
      <credit>3</credit>
      </items>
      <items>
      <subject_code>601202</subject_code>
      <subject>Statistika</subject>
      <grade>A</grade>
      <semester>3</semester>
      <credit>3</credit>
      </items>
      <items>
      <subject_code>601105</subject_code>
      <subject>Metode Numerik</subject>
      <grade>B</grade>
      <semester>9</semester>
      <credit>3</credit>
      </items>
      <items>
      <subject_code>600002</subject_code>
      <subject>Kalkulus II</subject>
      <grade>A</grade>
      <semester>5</semester>
      <credit>2</credit>
      </items>
      <items>
      <subject_code>600001</subject_code>
      <subject>Kalkulus I</subject>
      <grade>B</grade>
      <semester>2</semester>
      <credit>2</credit>
      </items>
      <items>
      <subject_code>000118</subject_code>
      <subject>Agama Katolik</subject>
      <grade>B</grade>
      <semester>2</semester>
      <credit>2</credit>
      </items>
      <items>
      <subject_code>000117</subject_code>
      <subject>Agama Kristen</subject>
      <grade>C</grade>
      <semester>1</semester>
      <credit>2</credit>
      </items>
      <items>
      <subject_code>000115</subject_code>
      <subject>Kewiraan</subject>
      <grade>D</grade>
      <semester>5</semester>
      <credit>2</credit>
      </items>
      <items>
      <subject_code>000113</subject_code>
      <subject>Agama Budha</subject>
      <grade>C</grade>
      <semester>4</semester>
      <credit>1</credit>
      </items>
      </transcript>
      </root>

      How can I calculate the GPA from this strudent by
      using XSLT( msxsl)?
      Please the tell me the function should be written
      inside msxsl:script to calculate this?

      Your help will be great appreciated.






      __________________________________________________
      Do You Yahoo!?
      Yahoo! Auctions - buy the things you want at great prices
      http://auctions.yahoo.com/
    Your message has been successfully submitted and would be delivered to recipients shortly.