generic stylesheet for display xml values in html
Posted: Thu Sep 07, 2006 7:52 pm
Hi ALL ,
My system is generating the Xml file
example :-- <root>
<object>
<first>1</first>
<second>2</second>
<third/>
<four>4</four>
</object>
<object>
<first>1</first>
<second>2</second>
<third/>
<four>4</four>
</object>
</root>
i want to do print the values in html using xslt. but the thing is i donot know how many childs inside object and that to with values and without values .I wnat to print only cahild values in table
my output is just like
in html table
first second four
1 2 4
1 2 4
My system is generating the Xml file
example :-- <root>
<object>
<first>1</first>
<second>2</second>
<third/>
<four>4</four>
</object>
<object>
<first>1</first>
<second>2</second>
<third/>
<four>4</four>
</object>
</root>
i want to do print the values in html using xslt. but the thing is i donot know how many childs inside object and that to with values and without values .I wnat to print only cahild values in table
my output is just like
in html table
first second four
1 2 4
1 2 4