[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Create a DTD ATTLIST whose values contain spaces


Subject: [xsl] Create a DTD ATTLIST whose values contain spaces
From: "Aron Bock" <aronbock@xxxxxxxxxxx>
Date: Sun, 25 Sep 2005 03:20:25 +0000

Hello,

I want to create a DTD, specifying an attribute whose values may contain spaces. My intent in creating this is so that I may then use it with any of various editors that provide code completion to then create target xml files more easily.


For example, the following works:


<!ATTLIST resourceUnit foo (apple|battle) #IMPLIED >

By this doesn't (ostensibly because of the spaces; I want att values "apple man", "battle man"):

<!ATTLIST resourceUnit foo (apple man|battle man) #IMPLIED >

Is there a way to express this in a DTD? Would schemas help?

Thanx

--A

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee. Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



Current Thread
Keywords
xml