This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: DTD help!


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]