[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: DTD help!

Subject: Re: DTD help!
From: "Raj Avula" <raj_avula@xxxxxxxxxxx>
Date: Tue, 10 Apr 2001 10:43:33 -0700
raj kommineni
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.