mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
* Source/NSXMLElement.m: Correct used namespace field.
* Source/NSXMLNode.m: Implement special handling for namespace nodes. * Tests/base/NSXMLNode/basic.m: Correct method name for namespace node. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34926 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
84ce4ee4e3
commit
86330f01a7
4 changed files with 134 additions and 80 deletions
|
@ -25,8 +25,8 @@ int main()
|
|||
text = [NSXMLNode textWithStringValue: @"Text node"];
|
||||
pi = [NSXMLNode processingInstructionWithName: @"PI name"
|
||||
stringValue: @"PI string"];
|
||||
ns = [NSXMLNode processingInstructionWithName: @"name space name"
|
||||
stringValue: @"name space string"];
|
||||
ns = [NSXMLNode namespaceWithName: @"name space name"
|
||||
stringValue: @"name space string"];
|
||||
comment = [NSXMLNode commentWithStringValue: @"Comment node"];
|
||||
attr = [NSXMLNode attributeWithName: @"key"
|
||||
stringValue: @"value"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue