User Profile

Collapse

Profile Sidebar

Collapse
redgrL86
redgrL86
Last Activity: Jul 18 '07, 03:24 PM
Joined: Jun 6 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • redgrL86
    started a topic How to reference values from outer loop??
    in XML

    How to reference values from outer loop??

    Hi,
    I am working on an XSL stylesheet and I have a loop within a loop where I need to compare element values from the inside loop to values from the outer loop (see bolded line in XSL below). The inside loop references elements from a second XML document, which makes this especially difficult (at least difficult for me).
    The outermost (first) loop references elements in the Primary XML file (the one to which the XSL is applied directly)...
    See more | Go to post

  • redgrL86
    started a topic How to test if node name matches given string value
    in XML

    How to test if node name matches given string value

    Hi,
    I am trying to figure out how to see if any of a given set of childnodes equals a given string. For example, in the XML and XSL code below, I want the text in the "xsl:when" statement to output when any of the childnodes of <FormulaValue > equal the string "Value". How can I do this?? I am trying to use XPath code but I can't get it to work.
    Thank you!!
    Christine

    XSL code:
    ...
    See more | Go to post

  • redgrL86
    started a topic Compare Current Value to Preceeding Values
    in XML

    Compare Current Value to Preceeding Values

    Hi,
    I am trying to create an XSL document which will output the word "Header" only if the <StepRecipeID > string for the current step is not equal to the <StepRecipeID > from previous steps. Thus, for the XML below, the word "Header" should be output twice (once for each of the two steps in the XML) since each step has a different string value for the <StepRecipeID >. Likewise, if the <StepRecipeID >...
    See more | Go to post

  • redgrL86
    started a topic how to see if current element value matches previous
    in XML

    how to see if current element value matches previous

    Hi,
    I am trying to create a table to display the values in the XML below. THe XSL provided works on the XML when there is only one <Step> but not three. Of the three steps in the XML below, two have the same table column headers (found in <FormulaValue > <Name>) and also the same <StepRecipeID >. The third step has different column headers and a different StepRecipeID.

    So my question is: how do I tell the...
    See more | Go to post

  • redgrL86
    started a topic Dynamic Rows and Columns in XSL Table
    in XML

    Dynamic Rows and Columns in XSL Table

    Hi,

    I am trying to create a table in XSL in which the number of columns depends on a given XML. For example, the XML below needs to have three columns, each with the title of the corresponding <Name> (but the number of columns needs to depend on the number of <FormulaValue > elements present a given XML).

    I appreciate all help...I've been trying to figure this out for days.

    Thank you,
    ...
    See more | Go to post
    Last edited by Dököll; Jul 4 '07, 10:20 PM. Reason: Code tags

  • redgrL86
    started a topic Help with XSL code (I think I need a loop??)
    in XML

    Help with XSL code (I think I need a loop??)

    Hi,
    I am trying to create an XSL file that can be applied to numerous XML files (all XML files have similar structure but varying length). The XSL and abbreviated XML codes are below. Within the XSL I need to create some sort of conditional statements that will produce a number of columns equal to the number of <FormulaValue > subsets in the XML code (this number will need to change depending on the XML). I also need to name each column...
    See more | Go to post

  • redgrL86
    started a topic Trying to use XSLT to convert XML to HTML
    in XML

    Trying to use XSLT to convert XML to HTML

    I am trying to make an html from an xml sheet using an xslt. I cannot seem to get the data displayed individually. I think it is because of the schema in the xml. How can I change my xsl to display (for example) just the <Abstract>?
    Thank you!

    The XML:

    [CODE=xml] <?xml version="1.0" encoding="UTF-8"?>
    <?xml-stylesheet type="text/xsl" href="Tank_Sip header.xsl"?>...
    See more | Go to post
No activity results to display
Show More
Working...