JohnMethew
Programmer
I am using SAX Parser, and want to send a parameter (can be integer or string) and want to display out put depending upon the selection.
example,
<home>
<parents>
<Mname>Jeni</Mname>
<Fname>Tom</Fname>
</parents>
<parents>
<Mname>Carol</Mname>
<Fname>Dave</Fname>
</parents>
<childern>
<parent>Jeni
<child>Jessica</child>
</parent>
<parent>Carol
<child>Aron</child>
</parent>
</childern>
</home>
This is my XML file, I want to make a XSLT which when passed Jeni, should display its children, and which when passed 2 should display all the children of second(2) parents.
What perticularly i want to know is how to pass these parameters to my XSLT.
Regards,