[xsl] Dsiplayig xml in tables

Subject: [xsl] Dsiplayig xml in tables
From: Phillip Nicolson <pjn3@xxxxxxxxxxxxx>
Date: 10 Mar 2004 08:47:18 +0000
Hello and help!

I am trying to display xml in a table where I do not know how many
rows/columns the data will use. A sample of the xml is attached. I am
sure this is something very basic - but I've looked around for a few
days and not got anywhere!

Thanks in advance...

<?xml version="1.0" encoding="UTF-8"?>
<!--  <workflow     
xmlns="http://www.astrogrid.org/schema/AGWorkflow/";      
                
xmlns:agpd="http://www.astrogrid.org/schema/AGParameterDefinition/";     
                
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";      
                
xsi:schemaLocation="http://www.astrogrid.org/schema/Workflow.xsd";
                 name="complex-flow"      
                 templateName="ComplexWorkflow"> -->
<workflow name="complex-flow!" templateName="ComplexWorkflow">
    <community>
      <token>null</token>
      <credentials>
        <account>pjn3@xxxxxxxxxxxxxxxxxx</account>
        <group>test.astrogrid.org</group>
      </credentials>
    </community>
    <description>job desc</description>
    <sequence>
      <flow>
        <step name="StepOne" joinCondition="any" stepNumber="1"
sequenceNumber="1">
          <tool name="6dF" >           
            <documentation>6dF documentation goes here</documentation>
            <input>
              <parameter name="QueryMyspaceReference"
type="MySpace_FileReference" min="1" max="1" >
                <documentation>Query in ADQL format</documentation>
                input1
              </parameter>
            </input>
            <output>
              <parameter name="ResultsMyspaceReference"
type="MySpace_VOTableReference" min="1" max="1" >
                <documentation>Results table in VOTable
format</documentation>
                output1
              </parameter>
            </output>
          </tool>
        </step>
        <step name="StepTwo" joinCondition="any" stepNumber="2"
sequenceNumber="1">
          <tool name="6dF" >
            <documentation>6dF documentation goes here</documentation>
            <input>
              <parameter name="QueryMyspaceReference"
type="MySpace_FileReference" min="1" max="1" >
                <documentation>Query in ADQL format</documentation>
                input2
              </parameter>
            </input>
            <output>
              <parameter name="ResultsMyspaceReference"
type="MySpace_VOTableReference" min="1" max="1" >
                <documentation>Results table in VOTable
format</documentation>
                output2
              </parameter>
            </output>
          </tool>
        </step>
        <step name="StepThree" joinCondition="any" stepNumber="3"
sequenceNumber="1">
          <tool name="6dF" >
            <documentation>6dF documentation goes here</documentation>
              <input>
                <parameter name="QueryMyspaceReference"
type="MySpace_FileReference" min="1" max="1" >
                  <documentation>Query in ADQL format</documentation>
                  Input3
                </parameter>
              </input>
              <output>
                <parameter name="ResultsMyspaceReference"
type="MySpace_VOTableReference" min="1" max="1" >
                  <documentation>Results table in VOTable
format</documentation>
                  Output3
                </parameter>
              </output>
            </tool>
          </step>
          <step name="StepFour" joinCondition="any" stepNumber="4"
sequenceNumber="1">
            <tool name="6dF" >
              <documentation>6dF documentation goes here</documentation>
              <input>
                <parameter name="QueryMyspaceReference"
type="MySpace_FileReference" min="1" max="1" >
                  <documentation>Query in ADQL format</documentation>
                  Input4
                </parameter>
              </input>
              <output>
                <parameter name="ResultsMyspaceReference"
type="MySpace_VOTableReference" min="1" max="1" >
                  <documentation>Results table in VOTable
format</documentation>
                  Output4
                </parameter>
              </output>
            </tool>
          </step>
        </flow>
        <step name="StepFive" joinCondition="any" stepNumber="5"
sequenceNumber="2">
          <tool name="HyperZ" >
            <documentation></documentation>
            <input>
              <parameter name="config_file" type="MySpace_FileReference"
min="1" max="1" >
                <documentation>A HyperZ configuration
file</documentation>
                Input1
              </parameter>
              <parameter name="input_catalog"
type="MySpace_FileReference" min="1" max="1" >
                <documentation>The input catalogue of measured
magnitude</documentation>
                Input2
              </parameter>
            </input>
            <output>
              <parameter name="output_catalog"
type="MySpace_FileReference" min="1" max="1" >
                <documentation>The catalogue of estimated
redshifts</documentation>
                Output
              </parameter>
            </output>
          </tool>
        </step> 
        <step name="StepSix" joinCondition="any" stepNumber="6"
sequenceNumber="3">
          <tool name="SExtractor" >
            <documentation>Builds a catalogue of objects from an
astronomical image. Oriented towards reduction of large scale
galaxy-survey data, but also performs well on moderately crowded star
fields.</documentation>
            <input>
              <parameter name="DetectionImage"
type="MySpace_FileReference" min="1" max="1" >
                <documentation>The image used to detect sources. Basic
position, shape and size informtaion is derived from this
image</documentation>
                1
              </parameter>
              <parameter name="config_file" type="MySpace_FileReference"
min="1" max="1" >
                <documentation>Config file containing the main
configuration parameters for SExtractor</documentation>
                2
              </parameter>
              <parameter name="PARAMETERS_NAME"
type="MySpace_FileReference" min="1" max="1" >
                <documentation>Parameter file containing the list of
catalogue parameters that should be computed</documentation>
                3
              </parameter>
            </input>
            <output>
              <parameter name="CATALOG_NAME"
type="MySpace_FileReference" min="1" max="1" >
                <documentation>The catalogue of images derived from the
input images</documentation>
                1
              </parameter>
            </output>
          </tool>
        </step>
      </sequence>
    </workflow>

-- 
Phillip Nicolson			
Department of Physics & Astronomy		Phone:	(0)116 2523581
University of Leicester				Email:	pjn3@xxxxxxxxxxxxx
Leicester        LE1 7RH			Web:	http://www.astrogrid.org


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread