[xml] decoding uris



hello,

I'm reading in an xml file, and interpreting some URLs (with the
'file://' scheme) as local file name so I can open it.

libxml2 offers the function xmlURIUnescapeString,
which takes a 'char *', not 'xmlChar *'. How Should I generate
a local filename from an xml attribute ? (The filename may or may
not itself contain unicode...Windows allows unicode filenames).

Thanks,
                Stefan




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