changing text of a kCFXMLNodeTypeText XMLTree
changing text of a kCFXMLNodeTypeText XMLTree
- Subject: changing text of a kCFXMLNodeTypeText XMLTree
- From: email@hidden
- Date: Fri, 28 Mar 2003 05:01:26 EST
How does one change the text of a node of an CFXMLTree?
I am using the XML Code Foundation API to work with XML Documents. I am
successful at read and writing the XML doc. I can also on the fly create
various documents and various CFXMLTree/CFXMLNodes pairs (each tree, besides
having children tree, also has a specific CFXMLNode associated with it).
However, given a specific XML Tree & a specific XML node, how do I change
that node's string data?
For example, I can add a kCFXMLNoteTypeText type of tree/node to an existing
kCFXMLNodeTypeElement type of tree/node. However, if the kCFXMLNoteTypeText
type of tree/node already exists, how do I modify it's text string? Using
CFTreeSetContext seems to be a bad way of doing it (since up til then I never
had to work with Tree Content, and associated callback pointers). Is there no
XML API calls to allow me to modify the string associated with a given
tree/node?
Thanks!
Steve Sheets
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.