|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, April 10, 2001 10:05 AM
Subject: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








