0 Replies Latest reply: Mar 20, 2008 3:16 PM by DC_Eric2 RSS

    xml newbie question

    DC_Eric2 Community Member
      Does anyone know why my table doesn't populate with the XML Data. I am watching examples off Lynda.com and swear I am doing it the same. here is my code

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns=" http://www.w3.org/1999/xhtml">
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <title>XML Test</title>
      </head>

      <body>
      <xml id="livelink">
      <livelink>
      <llnode id="node1">
      <created>2007-11-02T08:45:58</created>
      <createdby>1000</createdby>
      <createdbyname>Eliza Knable</createdbyname>
      <id>1649311</id>
      <modified>2008-03-04T14:18:16</modified>
      <name>SP29</name>
      <objname>Folder</objtype>
      <objtype>0</objtype>
      <ownedby>1000</ownedby>
      <ownedbyname>Eliza Knable</ownedbyname>
      <parentid>27726</parentid>
      <size>1</size>
      </llnode>
      </livelink>
      </xml>
      <table datasrc="#livelink" border="1">
      <caption>Live Link Data</caption>
      <thead>
      <tr>
      <th>name</th>
      <th>objname</th>
      <th>ownedbyname</th>
      <th>parentid</th>
      </tr>
      </thead>
      <tbody>
      <tr>
      <td><span datafld="name" /></td>
      <td><span datafld="objname" /></td>
      <td><span datafld="ownedbyname" /></td>
      <td><span datafld="parentid" /></td>
      </tr>
      </tbody>
      </table>
      </body>
      </html>