Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
    Bookmark Topic Watch Topic
  • New Topic

Custom Tag tld declaration

 
Sundar Murthi
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi ranchers,

How can i declare the custom tag tld declaration for attribute.
Condition like follow

consider a tag test its has 2 attributes key and dependent.
if key is precent dependent should not precent, same like if dependent attribute is precent key shound not precent. and either one must be precent.

example

<pref:test key="mykey"> -->correct
<pref:test dependent ="mydependent"> -->correct


<pref:test key="mykey" dependent ="mydependent"> --> in correct
<pref:test> -->incorrect

How can i define a tld for this.

Thanks in advance
Sundar
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65545
110
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not post the same question in more than one forum.
[ October 19, 2005: Message edited by: Bear Bibeault ]
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!