Declare attribute to apply to any element


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Declare attribute to apply to any element

  1. #1
    Join Date
    Jun 2009
    Posts
    3

    Declare attribute to apply to any element

    I have an xml schema (w3c style), very complex, lots of elements, highly structured. Now I'm told to add a "private" attribute to every element. How do I do that without declaring it individually for every element? How do I define an attribute and declare that it may be used anywhere, for any element?

  2. #2
    Join Date
    Jun 2009
    Posts
    3
    Now don't everyone speak at once! Wait your turn, you'll all get a chance.

  3. #3
    Join Date
    Jun 2009
    Posts
    3
    Thanks everyone, for the overwhelming response.

    (What a lame forum.)

Similar Threads

  1. Replies: 2
    Last Post: 05-13-2008, 10:10 AM
  2. Replies: 2
    Last Post: 11-26-2007, 10:06 AM
  3. Replies: 1
    Last Post: 10-31-2005, 01:57 PM
  4. Replies: 0
    Last Post: 01-20-2001, 03:56 AM
  5. Replies: 2
    Last Post: 04-13-2000, 01:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center