Displaying text from XSL variable

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • paragguptaiiita
    New Member
    • Feb 2008
    • 21

    Displaying text from XSL variable

    I have a XSL variable named $p = (0 0 0) (0.82 0 0) (1.63 -0.01 0) (2.63 -0.01 0) (3.63 -0.01 0) (4.63 -0.01 0) (5.63 -0.02 0) (6.63 -0.02 0) (7.63 -0.02 0) (8.6 -0.02 0)
    This line contains X,Y,Z coordinates of 10 points.
    I am using this code for displaying
    <td><font size="-2"><xsl:valu e-of select="$p"/></font></td>
    but i want to display each coordinate in a separate line.Like this....
    (0 0 0)
    (0.82 0 0)
    (1.63 -0.01 0)
    (2.63 -0.01 0)
    (3.63 -0.01 0)
    (4.63 -0.01 0)
    (5.63 -0.02 0)
    (6.63 -0.02 0)
    (7.63 -0.02 0)
    (8.6 -0.02 0)

    So plz help...
Working...