* xmlReadFile: * @filename: a file or URL * @encoding: the document encoding, or NULL * @options: a combination of xmlParserOption * * parse an XML file from the filesystem or the network. * * Returns the resulting document tree */
| 13670 | * Returns the resulting document tree |
| 13671 | */ |
| 13672 | xmlDocPtr |
| 13673 | xmlReadFile(const char *filename, const char *encoding, int options) |
| 13674 | { |
| 13675 | xmlParserCtxtPtr ctxt; |
| 13676 | |
| 13677 | ctxt = xmlCreateURLParserCtxt(filename, options); |
| 13678 | if (ctxt == NULL) |
| 13679 | return (NULL); |
| 13680 | return (xmlDoRead(ctxt, NULL, encoding, options, 0)); |
| 13681 | } |
| 13682 | |
| 13683 | /** |
| 13684 | * xmlReadMemory: |