Jump to content
Sign in to follow this  
Attila Kovacs

XML Data Binding / Importing DTD Files

Recommended Posts

I'm having problems with importing bmecat_2005.dtd under Berlin U3.

 

There are a couple of definitions like:

<!ELEMENT GROUP_NAME (#PCDATA)>
<!ATTLIST GROUP_NAME lang %langQUALIFIERS; #IMPLIED>

which should be a string with an attribute "lang", like:

<GROUP_NAME lang="deu">My Group Name</GROUP_NAME>

 

Now, Delphi creates GROUP_NAME as a class with a single property of "lang", so I can't assign a value ("My Group Name") to this element.

 

Am I missing something or is this built in importer a bit retarded?

Is there any better tool to create the Delphi classes?

 

thx

 

 

Edit:

 

Ahh,    "class.Text" is the way to go, I had forgotten it, but now I remember.

 

Edited by Attila Kovacs

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×