[xml] =?utf-8?q?attribute_and_value_element?=



Hello,

I want to use the xmlwriter module from libxml2 and want to code that resuls in the following xml.

<elementname attr1="hello">also a value here</elementname>



I can produce the following xml, but i want to use value and attribute with one xml-tag.

<elementname attr1="hello">
 <value>also a value here</value>
</elementname>


I hope someone can help me.

Cheerz, David



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]