|
|
| version 1.67, 2004/03/10 10:42:11 | version 1.71, 2005/08/09 08:14:48 |
|---|---|
| Line 1 | Line 1 |
| /** @file | /** @file |
| Parser: @b dom parser class. | Parser: @b dom parser class. |
| Copyright (c) 2001-2004 ArtLebedev Group (http://www.artlebedev.com) | Copyright (c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com) |
| Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) | Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) |
| */ | */ |
| #include "classes.h" | #include "classes.h" |
| Line 19 static const char * const IDENT_XNODE_C= | Line 19 static const char * const IDENT_XNODE_C= |
| #include "pa_xml_exception.h" | #include "pa_xml_exception.h" |
| #include "xnode.h" | #include "xnode.h" |
| extern "C" { | |
| #include "gdomecore/gdome-xml-node.h" | |
| #include "gdomecore/gdome-xml-document.h" | |
| }; | |
| #include "gdome.h" | |
| #include "libxml/xpath.h" | #include "libxml/xpath.h" |
| #include "libxml/xpathInternals.h" | #include "libxml/xpathInternals.h" |
| Line 242 static void _getAttribute(Request& r, Me | Line 236 static void _getAttribute(Request& r, Me |
| GdomeDOMString *attribute_value= | GdomeDOMString *attribute_value= |
| gdome_el_getAttribute(element, r.transcode(name).use(), &exc); | gdome_el_getAttribute(element, r.transcode(name).use(), &exc); |
| // write out result | // write out result |
| r.write_no_lang(r.transcode(attribute_value)); | r.write_pass_lang(r.transcode(attribute_value)); |
| } | } |
| // void setAttribute(in DOMString name, in DOMString value) raises(DOMException); | // void setAttribute(in DOMString name, in DOMString value) raises(DOMException); |
| Line 353 static void _getAttributeNS(Request& r, | Line 347 static void _getAttributeNS(Request& r, |
| r.transcode(namespaceURI).use(), | r.transcode(namespaceURI).use(), |
| r.transcode(localName).use(), &exc); | r.transcode(localName).use(), &exc); |
| // write out result | // write out result |
| r.write_no_lang(r.transcode(attribute_value)); | r.write_pass_lang(r.transcode(attribute_value)); |
| } | } |
| // void setAttributeNS(in DOMString namespaceURI, in DOMString qualifiedName, in DOMString value) raises(DOMException); | // void setAttributeNS(in DOMString namespaceURI, in DOMString qualifiedName, in DOMString value) raises(DOMException); |