Re: Creating a valid XML header?
Re: Creating a valid XML header?
- Subject: Re: Creating a valid XML header?
- From: Jim Correia <email@hidden>
- Date: Mon, 7 Nov 2005 11:36:29 -0500
I'm not an expert on the NSXML* stuff. That said...
On Nov 7, 2005, at 10:27 AM, a.d. jensen wrote:
NSXMLDTD *theDTD = [NSXMLDTD alloc];
[theDTD setSystemID:@"http://www.mywebsite.com/XMLSpecs/
mysample.dtd"];
You alloc an NSXMLDTD, but you never call its initializer. You must
initialize the object (inline with the alloc) before using it.
In addition, NSXMLDTD is a subclass of NSXMLNode, so you have all of
its facilities as well. It appears that setting the node's name will
do what you want it to when generating the document.
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden