Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Create a XML with PXP
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: amata@t...
Subject: [Caml-list] Create a XML with PXP

Hi list;

  I´m creating a XML with PXP and I´ve one problem;

  I use the funtion "create_element_node" in order to create a node 
with attributes in the XML tree , and I use the 
function  "create_data_node" in order to create a node with data, but: 
How can I create a node with attributes and data? Is this possible?

  For example, in this DTD;

    <!ELEMENT NOTE (#PCDATA)>
    <!ATTLIST NOTE type (warning | comment) #REQUIRED>

  The node NOTE has one attribute, type, and at the same time has 
data. 

How can I create this node?

   Thank you very much.


-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners