| |

VerySource

 Forgot password?
 Register
Search
View: 7|Reply: 0

xsl loop output problem

[Copy link]

2

Threads

2

Posts

3

Credits

Newbie

Rank: 1

Credits
3

 China

Post time: 2020-3-14 10:00:01
| Show all posts |Read mode
XML file:

    <note>
      <id> 1 </ id>
      <name> Zhang Chao </ name>
      <code> 1111111 </ code>
      <tel> </ tel>
    </ note>
    <note>
      <id> 2 </ id>
      <name> Wang San </ name>
      <code> 2222222 </ code>
      <tel> </ tel>
    </ note>
    <note>

The HTML file that needs to be output through XSL is as follows:

 <tr>
     <td> 1 </ td>
     <td> Zhang Chao </ td>
     <td> 1111111 </ td>
     <td> <input type = "text" style = "WIDTH: 100%;" id = "tel1"> </ td>
  </ tr>
  <tr>
     <td> 2 </ td>
     <td> Wang San </ td>
     <td> 2222222 </ td>
     <td> <input type = "text" style = "WIDTH: 100%;" id = "tel2"> </ td>
  </ tr>
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2020|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list