Is it possible to write custom tags in well-formed XML? The reason I ask
is that I'd like to take advantage of CFMX's XML parsing to create
documented views by simply pointing to the custom tag.
 
Will this render the tags unusable? For example:
 
<?xml version="1.0" encoding="UTF-8"?>
<CustomTag name="makebold" description="This tag makes the passed on
text attribute bold.">
            <CFPARAM default="YourText" name="text" type="string"
hint="The text passed in that will be made bold.">
            <CFOUTPUT><b>#attributes.text#</b></CFOUTPUT>
</CustomTag>
 
Notice I added attributes to the CFPARAM tags (attributes I'm assuming
CFMX will ignore?) as well as wrapped the whole thing in a root element.
What will CF do with this?
 
Of course, I could just try this myself - but I'm too damn lazy. Heh.
 
Thanks,
Rich

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to