in reply to Create Mixed Content with XML::LibXML
I see no "mixed content" node.
What I see is a head element that has three child elements, the first child and the third child are term elements, the second child is a #text element. Both term elements have one #text child element each.
And this is exactly how you would create it with XML::LibXML. Create the root element, create child elements, append the elements, create text nodes, append them to the parent nodes (Hint: shortcut methods appendText() and appendTextChild()).
Alexander
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Create Mixed Content with XML::LibXML
by ikegami (Patriarch) on Apr 13, 2011 at 17:33 UTC | |
by Anonymous Monk on Apr 14, 2011 at 15:22 UTC |