This week's book giveaway is in the Other Languages forum. We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line! See this thread for details.
Hi, I want to wrap existing custom tag with another custom tag. Like this: <originalTag /> Output original
<extendedTag /> Output original Some other output from extended tag But! I dont want to do: <extendedTag> <originalTag /> </extendedTag> Thank you
posted 12 years ago
Take a look at your syntax ... You say
By writing the original as <originalTag/> you CANNOT specify any body for the tag and that tag effectly ends there because you end it with />. The only way to embed one tag in another would be: <originalTag> <extendedTag/> </originalTag>