Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

60 users online



XML handling multiple objects

XML handling multiple objects

Currently viewing this thread: 1 (0 members and 1 guests)


konsumed

konsumed

I am myself, in this world.
Status: Offline!

XML handling multiple objects

Alright i have this piece of XML

<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet type="text/css" href="page2.css"?>
<!DOCTYPE update [
<!ELEMENT update (author,date,mail,story)>
<!ELEMENT author (#PCDATA)>
<!ELEMENT date (#PCDATA)>
<!ELEMENT mail (#PCDATA)>
<!ELEMENT story (#PCDATA)>
]>

<update>
<author>Nick Fazzolari</author>
<date>2/2/04</date>
<mail>stiches85@hotmail.com</mail>
<story>Testing XML news post system... Testing, it seems to be working properly! I can use this for news and brainstorms. It's simply great. I wanna do it, in the ear.</story>
</update>

what do I need to do in order to have multiple update tags on the page. I keep getting a error :/

___________________

- konsumed 4.3 - Simple is my Argument -

Michael2003

Michael2003

Status: Offline!

The update tag needs to be within another tag if you want to have another <update>. It's knida like you only have one <body> tag in HTML, there has to be something surrounding it all.

Rad

Rad

thinking of something witty to put here
Status: Offline!

For instance

Code:


<updates>
<update>blah...</update>
<update>blabla...</update>
</updates>

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0065 seconds.