• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
Sheriffs:
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • fred rosenberger
  • Frits Walraven

[B]:[/B] in element name

 
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
one of the books say
:name as a valid element name. But when i tried it in IE, it throws me an error saying invalid character ( . I remeber even Vibha's notes in one of the post on this message board saying colon ( can be used as intial charcater in element name.
Please help
Hari
 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hari babu,
: should not be a starting character. Element names can start only with letters, ideograms and underscore chars. colon can be used anywhere except the first location but it's usage is discouraged. It's used to prefix namespaces.
For example first:name is a valid element name but it is preferred to use with namespaces like xmlns o1 etc.
hope i've clarified ur doubt.
reg,
rakesh.
[ August 20, 2002: Message edited by: Rakesh Gudur ]
 
Rakesh Gudur
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm unable to get rid of that "smiley" image. i'm intending to write something as xmlns "colon" po1 and it's being replaced by the image...
how do i get rid of that..guys any clue!
rakesh.
 
You may have just won ten million dollars! Or, maybe a tiny ad.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic