User Profile

Collapse

Profile Sidebar

Collapse
JamesDelaney
JamesDelaney
Last Activity: Jul 20 '09, 05:06 PM
Joined: Jul 6 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • JamesDelaney
    replied to xsl:when: Result-Tree-Fragment Question
    in XML
    Think the following solution worked. It's giving me the proper when/otherwise outcomes that I would expect... however, I'm still suspicious. Is this a dangerous way or not a good way in testing a RTF?

    Code:
    <xsl:choose>
    	<xsl:when test="string($SophFemalePTNexusTC - $SophFemalePTNexusTC)='NaN'">
    		<xsl:value-of select="$SophFemalePTNexusUG"/>
    	</xsl:when>
    	<xsl:otherwise>
    ...
    See more | Go to post

    Leave a comment:


  • JamesDelaney
    started a topic xsl:when: Result-Tree-Fragment Question
    in XML

    xsl:when: Result-Tree-Fragment Question

    Hi all,

    I'm creating a number of fragments to calculate various presence numbers. I'm creating variables from the results of these fragments then doing simple math to give the results.

    I'm having an error when trying to add two variables (from the result-tree-fragment) when one variable has no value at all. In the source XML, the criteria returns no matches, so when the two variables are added, it returns NaN. I'm Trying...
    See more | Go to post

  • JamesDelaney
    replied to XSLT: Grouping and Count
    in XML
    Thanks jkmyoung that works perfectly - both options.
    See more | Go to post

    Leave a comment:


  • JamesDelaney
    started a topic XSLT: Grouping and Count
    in XML

    XSLT: Grouping and Count

    Hello All,

    I'm new to XSLT and XML, so please excuse the basic question. I'm trying to apply a number of conditional xsl:if statements to xsl:for-each-group, but it does not filter out the results. I'm assuming this is because the xsl:for-each-group is defining my group and not allowing the ifs to break it apart?

    --------------------
    Here's a sample of my XML, there are about 1200 entries of Student's, so here's...
    See more | Go to post
    Last edited by Dormilich; Jul 7 '09, 08:01 AM. Reason: please use [code] [/code] tags when posting code
No activity results to display
Show More
Working...