Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


XML parameters and conditions

From: Shaldaman <shaleel.valsan@-----.--->
To: NULL
Date: 5/9/2007 9:06:00 AM

I have an XML document with the following layout:

<committees>

  <committee>
     <title>COMMITTEE 1</title>

     <member>
        <name>Person A</name>
        <org>Organization A</org>
        <address>Address A</address>
        <phone>Telephone: (123) 456-7890</phone>
        <fax>Fax: 123) 456-7890</fax>
        <email>E-mail:someemail@a...</email>
    </member>

     <member>
        <name>Person B</name>
        <org>Organization B</org>
        <address>Address B</address>
        <phone>Telephone: (123) 456-7890</phone>
        <fax>Fax: 123) 456-7890</fax>
        <email>E-mail:someemail2@a...</email>
    </member>
  </committee>

<committee>
     <title>COMMITTEE 2</title>

     <member>
        <name>Person C</name>
        <org>Organization C</org>
        <address>Address C</address>
        <phone>Telephone: (123) 456-7890</phone>
        <fax>Fax: 123) 456-7890</fax>
        <email>E-mail:someemail@a...</email>
    </member>

     <member>
        <name>Person D</name>
        <org>Organization D</org>
        <address>Address D</address>
        <phone>Telephone: (123) 456-7890</phone>
        <fax>Fax: 123) 456-7890</fax>
        <email>E-mail:someemail2@a...</email>
    </member>
  </committee>

</committees>

The root node is <committees>. There are currently 2 <committee> nodes
under this. In each committee, there are members.

In my XSL file, I have written for-each statements to display each
committee with its respective members. I have 2 problems I need help
with:

1.  These committees should all not show up at once. There are
supposed to be links on an ASP page that when the user clicks on one
of the committee's links, the XML page will only display that
committee and not the entire list in the XML page. How do i do that?
2. This is related to the previous question. My XML file is going to
be dynamic - a user can add committees and members. This would append
the data to the XML file. Is there a way to generate like an ID or
something to associate with each new committee? If we had something
like that, clicking on the link would pass the corresponding ID to the
XML file to pull up only that specific committee's details.

Thanks for any help you can provide on this...



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent