|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
XML Data Island Help
Hello all,
I was wondering if someone could point out my error on the data island code below. Author and Publisher will not show up on the html page. Any info would help, thanks!!!! <HTML> <HEAD> <TITLE> PROJECT 3 </TITLE> </HEAD> <BODY> <XML ID = "xmlDoc" SRC="project3.xml"> </XML> <H2> New Textbook Table </H2 <TABLE BORDER ="3" DATASRC = "#xmlDoc"> <THEAD> <TR> <TH>Book Title</TH> <TH>Author</TH> <TH>Publisher</TH> <TH>year</TH> <TH>ISBN</TH> </TR> </THEAD> <TR> <TD> <SPAN DATAFLD = "Btitle"> </SPAN> </TD> <TD> <SPAN DATAFLD = "Author"> </SPAN> </TD> <TD> <SPAN DATAFLD = "Publisher"> </SPAN> </TD> <TD> <SPAN DATAFLD = "year"> </SPAN> </TD> <TD> <SPAN DATAFLD = "ISBN"> </SPAN> </TD> </TR> </TABLE> </BODY> </HTML> ----------------------------------------- XML CODE <?xml version="1.0" standalone="yes" ?> <?xml-stylesheet type="text/css" href="project3.css" ?> <!DOCTYPE Books [ <!ELEMENT Books (Title+)> <!ELEMENT Title (Btitle,Author+,Publisher+,year)> <!ELEMENT Btitle (#PCDATA)> <!ELEMENT Author (#PCDATA)> <!ELEMENT Publisher (#PCDATA)> <!ELEMENT year (#PCDATA)> <!ATTLIST Title ISBN ID #REQUIRED> ]> <Title ISBN = "iwis1"> <Btitle> Hot Stuff </Btitle> <Author> Jenny Prebur </Author> <Publisher> Love Machine </Publisher> <year> 2004 </year> </Title> etc....... ![]() Last edited by mikerugged : April 13th, 2004 at 08:01 PM. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > XML Data Island Help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|