Thanks for the answer!

The DOM document element nodes consist of text nodes and therefor are of 
XMLCh datetype - that's clear to me. But in my task I have to build an XML
file according to a given schema of several input values and some of them
are floats. So is there a save way for the floats to be converted to the
XMLCh type?

Bettina 

> Hi,
> 
> On Thu, 27 May 2004, Bettina Reck wrote:
> 
> > Dear all,
> >
> > I am new to Xerces-c-parser and I have the following question:
> >
> > I am using the DOMWriter to serialize an XML-file which I created before
> > using the DOMBuilder class. Some of my text-nodes have a float value so
> how
> 
> You hit the nail on the head there. They are text nodes. You cannot
> create XML Float types and attach them to the DOM. You can write a schema
> and validate the document - then it will have the type Float
> 
> 
> > can I arrange to convert my float-value-input into the XMLFloat-type (as
> > this class expects an XMLCh-type as an input)?
> 
> If you for some reason have XML Floats, you can call getRawData to return
> the XMLCh.
> 
> Gareth
> 
> 
> -- 
> Gareth Reakes, Managing Director      Parthenon Computing
> +44-1865-811184                  http://www.parthcomp.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to