Well I tweaked on the XML idea and said to myself, "Hey silly, HTML should also
be valid XML so don't re-invent so much of the wheel."
I then came up with this for my XML:
<cfxml variable="menu">
<?xml version="1.0" encoding="iso-8859-1"?>
<menu>
<a href="http:\\www.google.com">A Link</a>
<a href="http:\\www.google.com">B Link
<menu>
<a href="http:\\www.google.com">Sublink 1</a>
<a href="http:\\www.google.com">Sublink 2</a>
<a href="http:\\www.google.com">Sublink 3</a>
</menu>
</a>
<a href="http:\\www.google.com">C Link</a>
</menu>
</cfxml>
Then I just reference the href attribute and xmlText properties of the A nodes
in my custom tag. Works pretty sweetly in my mind.
--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
---------
| 1 | |
--------- Binary Soduko
| | |
---------
"C code. C code run. Run code run. Please!"
- Cynthia Dunning
Confidentiality Notice: This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241379
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54