August 2000
Beginner
456 pages
9h 24m
English
It's a simple matter to import more than one file with the same structure into an HTML file. Basically, you just need to repeat the operation, making sure that the uniqueness of target tag names and variables is preserved.
Listing 2.5 contains an XML file whose structure matches that of the ones used so far. The values of the data components have been changed so that they can be differentiated from the others when read by the HTML files.
1: <?xml version="1.0" ?> 2: <MESSAGE> 3: <TO>AUTHOR</TO> 4: <FROM>STUDENT</FROM> 5: <CC>Editor</CC> 6: <SUBJECT>Your introduction to XML</SUBJECT> 7: <BODY>I am with you so far.</BODY> 8: <POSTSCRIPT>I am ... |
Read now
Unlock full access