OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
new to xml
This page's ID:
11127
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
I decided to make a perl script using xml to store the data for bookmarks (see this [url=http://www.ozoneasylum.com/Forum1/HTML/008579.html]thread[/url] ) I haven't used xml before, and thought now is a good time to learn. I created an xml file, and it doesn't have any errors when veiwing, so: 1) Did I write it correctly? 2) Do I need a <bookmarkentry></bookmarkentry> to surround the xml I wrote? (a seperate tag from menuitem ) 3)Should/do I need to write a DTD?[code]example bookmark directory structure: /bookmarks /programming /cpp link1 link2 /tut tut link1 tut link2 /perl p link1 p link2 link just in programming[/code][code]xml of the above sample: <?xml version="1.0" encoding="ISO-8859-1"?> <menuitem title="programming"> <menuitem title="cpp"> <link url="#">link1</link> <link url="#">link2</link> <menuitem title="tut"> <link url="#">tut link1</link> <link url="#">tut link2</link> </menuitem> </menuitem> <menuitem title="perl"> <link url="#">p link1</link> <link url="#">p link2</link> </menuitem> <link url="#">general programming</link> </menuitem>[/code]thank you, --monkey
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »