[xml] non well-formed output issue




Hi,

(using libxml2-2.6.20 on FC4).

I have code which calls function from another code via:

psTmpNode = xmlAddChild(psRootNode,
msOWSCommonServiceIdentification(map, "SOS", "0.0.31"));

The msOWSCommonServiceIdentification function returns an xmlNodePtr.
The line above attaches the output of the
msOWSCommonServiceIdentification function to psRootNode.

On output, I get a non-well formed document, i.e.:

<ows:Value xmlns:ows="http://www.opengis.net/ows";>SOS</ws:Value>

Any idea what I'm doing wrong?

Thanks

..Tom




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