Re: xml namespaces?
| From: | Catalin Trifu | Date: | Fri, 23 May 2003 15:40:53 +0000 |
| Subject: | Re: xml namespaces? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148790@lists.php.net to get a copy of this message | ||
Hi,
Take a look at this function xml_parser_create_ns
This is the function which creates a namespace aware parser.
Also take a look here if you are into C programming too:
http://www.xml.com/pub/a/1999/09/expat/index.html?page=2
Cheers,
Catalin
"Seairth Jacobs" <seairth@seairth.com> wrote in message
news:20030523150842.24226.qmail@pb1.pair.com...
> I apologize if this has already been answered. I didn't find anything on
it
> in the archives or documentation user notes...
>
> Do xml namespaces not work in PHP's implementation of expat? "xmlns" is
> reported as an attribute and element names are not expanded. However, the
> xml_set_start_namespace_decl_handler and
xml_set_end_namespace_decl_handler
> function lead me to believe that xml namespace is supported.
>
> I am using version php 4.2.3 (expat 1.95.2) running on Apache under
Windows.
>
> ---
> Seairth Jacobs
> seairth@seairth.com
>
>