Re: [R] XML namespace control

2012-10-29 Thread Ben Tupper
Hi Duncan, On Oct 29, 2012, at 9:24 AM, Duncan Temple Lang wrote: > > Hi Ben > > Can you tell us the slightly bigger picture, please? > Do you want to create a single similar node entirely in isolation > or do you want to create it as part of an XML tree/document? > Who will be reading the res

Re: [R] XML namespace control

2012-10-29 Thread Duncan Temple Lang
Hi Ben Can you tell us the slightly bigger picture, please? Do you want to create a single similar node entirely in isolation or do you want to create it as part of an XML tree/document? Who will be reading the resulting XML. You can use a parent node top = newXMLNode("storms", namespaceDef

[R] XML namespace control

2012-10-29 Thread Ben Tupper
Hello, I am working with a database system from which I can retrieve these kinds of user defined fields formed as XML ... 5 You can see in the above example that "field" is defined in the namespace "udf", but that the "udf" namespace is not defined along with the attributes of the node. That