This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: DTD help!
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: Re: [xsl] DTD help!
- From: "Raj Avula" <raj_avula at hotmail dot com>
- Date: Tue, 10 Apr 2001 10:43:33 -0700
- References: <20010410170552.4108.qmail@web9106.mail.yahoo.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Well,
It need not only be characters.
You can either have numbers
<Session id="100"/>
is valid one.
Raj
----- Original Message -----
From: "Rajesh Kommineni" <r_kommineni@yahoo.com>
To: <xsl-list@lists.mulberrytech.com>
Sent: Tuesday, April 10, 2001 10:05 AM
Subject: [xsl] DTD help!
> Hello everyone,
> This is a DTD question. I tried to search on the list
> but couldnt find any information. I have a DTD
> definition of an element like this:
>
> <!ELEMENT Session(#PCDATA)>
> <!ATTLIST Session id ID #REQUIRED>
>
> When I looked at the spec, it says the attribute value
> of id should always a *valid* xml name. So, I should
> always start with a letter. This, in my case (as a
> matter of fact, many cases where usually IDs are
> numeric), doesnt work, since Session IDs are always
> numeric.
>
> keeping in the mind that i have to make sure all my
> session elements have to different, is there any way
> to get around this?
>
> Thanks
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list