DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: dt:type="id" vs "idref"

  1. #1
    mike Guest

    dt:type="id" vs "idref"

    Does anyone know the difference between id and idref?

    What is the format, I mean for example does id demand a alphabetic character
    in the first position?

    In some cases it works with: string id='987'
    And sometimes not.

    /m



  2. #2
    Greg Longtin Guest

    Re: dt:type="id" vs "idref"

    Mike,

    I believe an id must not begin with a number. As to other characters
    like underline, etc, I'm not sure. idref is a string that must exist as
    an id elsewhere in the document. idrefs are space delimited lists of
    id's. All three must be declared in a schema or dtd to be validated.

    HTH,

    Greg Longtin


    "mike" <rosquistm@yahoo.com> wrote in message
    news:39d0461d$1@news.devx.com...
    > Does anyone know the difference between id and idref?
    >
    > What is the format, I mean for example does id demand a alphabetic

    character
    > in the first position?
    >
    > In some cases it works with: string id='987'
    > And sometimes not.
    >
    > /m



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