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
[quote]1) Did I write it correctly?[/quote] Define "correctly". It's well-formed, yes. [quote]2) Do I need a <bookmarkentry></bookmarkentry> to surround the xml I wrote? (a seperate tag from menuitem )[/quote] No, it's not needed but it would be a little more logical to have a different name for the root element. If I would do a bookmark XML file I would probably have something like the following structure[code] <bookmarks> <dir>programming <dir>cpp <bookmark href="">link 1</bookmark> <bookmark href="">link 2</bookmark> </dir> <dir>tut <bookmark href="">link 1</bookmark> <bookmark href="">link 2</bookmark> </dir> </dir> <dir>perl <bookmark href="">link 1</bookmark> <bookmark href="">link 2</bookmark> </dir> <bookmark href="">link just in programming</bookmark> </bookmarks> [/code] (Notice that I didn't put too much thought in that, and maybe some things should be changed. Maybe the directory name should be inside an element too.) [quote]3)Should/do I need to write a DTD?[/quote] Shouldn't be needed. It's up to you, if you want to check if your document validates. On the other hand, it shouldn't be that hard. [This message has been edited by HZR (edited 01-07-2004).]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »