OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
XML file system
This page's ID:
11023
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'm trying to figure out how to use XML to cary site map information over to flash. The real problem is that i don't understand DTD very well and I don't want to try using the same kind of tag over and over or else I won't be able to find the useful stuff. For example.. um.. beer. So if I was making a tree of information about beer this is what it might look like: - beer - - breweries - - hops - - - green - - - brown - - nutrition information and then for each item itself there are the folowing potential attributes: + the link to the respective web page for more information + a thumbnail picture to put beside the link + a description of the content to be found here's what I tried which I do NOT think would support more than two levels. I'm curious if I would be able to construct a DTD that supports any number of parent/child relationships, if there is some other code that could make this work just [b]better[/b] or just anything useful. <!DOCTYPE flashStructure [ <!ELEMENT main (level_1*)> <!ELEMENT level_1 (image, link, description, level_2)> <!ELEMENT image (#PCDATA)> <!ELEMENT link (#PCDATA)> <!ELEMENT description (#PCDATA)> <!ELEMENT level_1 (level_2*)> <!ELEMENT level_2 (image, link, description, level_3)> <!ELEMENT Decsription (#PCDATA)> <!ELEMENT image (#PCDATA)> <!ELEMENT link (#PCDATA)> <!ELEMENT description (#PCDATA)> ]> Thanks in advance. [url=http://www.osysi.net] [img]http://www.osysi.net/files/sigs/asylum_flow.gif[/img] [/url] Shine and shine. :: [Cell=[url=http://faq.ozoneasylum.com/FaqWiki/shownode.php?id=992&sortby=rating]992[/url]] :: [[url=http://www.ozoneasylum.com/Forum11/HTML/000532.html]See my team's 30 second animation!! :)[/url]]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »