| | |
Encoding retrieval with Xalan
Please support our XML, XSLT and XPATH advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
Hello, everyone!
I am using Xalan to parse a XML document. This is a glimpse of what I do:
What I want to do is to know the encoding of the source document. There is no method on a XalanDocument or on a parser that tells the encoding. Is there someone who knows how to do it? I will greatly appreciate a solution!
I am using Xalan to parse a XML document. This is a glimpse of what I do:
XML, XSLT and XPATH Syntax (Toggle Plain Text)
std::string fileNameStr = fileName.Tofilename(); XalanDOMString strFileName(fileNameStr.c_str()); LocalFileInputSource srcFile(strFileName.c_str()); XalanDocument* document = parserLiaison.parseXMLStream(srcFile);
What I want to do is to know the encoding of the source document. There is no method on a XalanDocument or on a parser that tells the encoding. Is there someone who knows how to do it? I will greatly appreciate a solution!
![]() |
Other Threads in the XML, XSLT and XPATH Forum
- Previous Thread: Help getting started with a XML web service using PHP
- Next Thread: SQL formatting problems with XML
Views: 441 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for XML, XSLT and XPATH
api blogger blogging code dataset delete development dynamiccreationofnvariablesinxslt error firstthreecharacterofastringrequired flipbook gdata google html include java link linspire linux microsoft news node openoffice overwrite precedence programming rss serialization standards swf template transform variable w3c web xml xmlnotloading xmlonserver xsl xslt





