[Home] [By Thread] [By Date] [Recent Entries]
Hi Roger, > Question: Beside violating the DRY principle, are there other reasons to avoid using the same tag name for different things? If you mean having the same name() (the XPath function), then yes, this is to be avoided. However, it is OK to have elements with the same local-name() that are in different namespaces: restaurant:table, sql:table, word:table, furniture:table, html:table architecture:column, sql:column, table:column, army:column css:style, architecture:style, fashion:style language:greek, student-life:greek calendar:march, army:march, ..., etc This is one of the main reasons why we have and use namespaces. Thanks, Dimitre On Wed, Jan 19, 2022 at 10:53 AM Roger L Costello <costello@m...> wrote: Hi Folks, Cheers, Dimitre Novatchev --------------------------------------- Truly great madness cannot be achieved without significant intelligence. --------------------------------------- To invent, you need a good imagination and a pile of junk ------------------------------------- Never fight an inanimate object ------------------------------------- To avoid situations in which you might make mistakes may be the biggest mistake of all ------------------------------------ Quality means doing it right when no one is looking. ------------------------------------- You've achieved success in your field when you don't know whether what you're doing is work or play ------------------------------------- To achieve the impossible dream, try going to sleep. ------------------------------------- Facts do not cease to exist because they are ignored. ------------------------------------- Typing monkeys will write all Shakespeare's works in 200yrs.Will they write all patents, too? :) ------------------------------------- Sanity is madness put to good use. ------------------------------------- I finally figured out the only reason to be alive is to enjoy it.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |

Cart



