4 >parserInternals</TITLE
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
10 TITLE="Gnome XML Library Reference Manual"
11 HREF="book1.html"><LINK
13 TITLE="Libxml Library Reference"
14 HREF="libxml-lib.html"><LINK
17 HREF="libxml-docbparser.html"><LINK
20 HREF="libxml-encoding.html"></HEAD
43 >Gnome XML Library Reference Manual</FONT
52 HREF="libxml-docbparser.html"
57 ><<< Previous Page</B
90 HREF="libxml-lib.html"
106 HREF="libxml-encoding.html"
111 >Next Page >>></B
120 NAME="LIBXML-PARSERINTERNALS">parserInternals</H1
128 >parserInternals -- </DIV
130 CLASS="REFSYNOPSISDIV"
146 HREF="libxml-parserinternals.html#XML-MAX-NAMELEN-CAPS"
150 HREF="libxml-parserinternals.html#INPUT-CHUNK-CAPS"
154 HREF="libxml-parserinternals.html#IS-CHAR-CAPS"
158 HREF="libxml-parserinternals.html#IS-BLANK-CAPS"
162 HREF="libxml-parserinternals.html#IS-BASECHAR-CAPS"
166 HREF="libxml-parserinternals.html#IS-DIGIT-CAPS"
170 HREF="libxml-parserinternals.html#IS-COMBINING-CAPS"
174 HREF="libxml-parserinternals.html#IS-EXTENDER-CAPS"
178 HREF="libxml-parserinternals.html#IS-IDEOGRAPHIC-CAPS"
182 HREF="libxml-parserinternals.html#IS-LETTER-CAPS"
186 HREF="libxml-parserinternals.html#IS-PUBIDCHAR-CAPS"
190 HREF="libxml-parserinternals.html#SKIP-EOL-CAPS"
194 HREF="libxml-parserinternals.html#MOVETO-ENDTAG-CAPS"
198 HREF="libxml-parserinternals.html#MOVETO-STARTTAG-CAPS"
202 HREF="libxml-parserinternals.html#XMLISBASECHAR"
206 HREF="libxml-parserinternals.html#XMLISBLANK"
210 HREF="libxml-parserinternals.html#XMLISPUBIDCHAR"
214 HREF="libxml-parserinternals.html#XMLISLETTER"
218 HREF="libxml-parserinternals.html#XMLISDIGIT"
222 HREF="libxml-parserinternals.html#XMLISIDEOGRAPHIC"
226 HREF="libxml-parserinternals.html#XMLISEXTENDER"
230 HREF="libxml-parserinternals.html#XMLISCOMBINING"
234 HREF="libxml-parserinternals.html#XMLISCHAR"
238 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
241 HREF="libxml-parserinternals.html#XMLCREATEFILEPARSERCTXT"
242 >xmlCreateFileParserCtxt</A
243 > (const char *filename);
245 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
248 HREF="libxml-parserinternals.html#XMLCREATEMEMORYPARSERCTXT"
249 >xmlCreateMemoryParserCtxt</A
250 > (const char *buffer,
253 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
256 HREF="libxml-parserinternals.html#XMLNEWPARSERCTXT"
260 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
263 HREF="libxml-parserinternals.html#XMLCREATEENTITYPARSERCTXT"
264 >xmlCreateEntityParserCtxt</A
266 HREF="libxml-tree.html#XMLCHAR"
270 HREF="libxml-tree.html#XMLCHAR"
274 HREF="libxml-tree.html#XMLCHAR"
278 HREF="libxml-parserinternals.html#XMLSWITCHENCODING"
279 >xmlSwitchEncoding</A
281 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
285 HREF="libxml-encoding.html#XMLCHARENCODING"
289 HREF="libxml-parserinternals.html#XMLSWITCHTOENCODING"
290 >xmlSwitchToEncoding</A
292 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
296 HREF="libxml-encoding.html#XMLCHARENCODINGHANDLERPTR"
297 >xmlCharEncodingHandlerPtr</A
300 HREF="libxml-parserinternals.html#XMLHANDLEENTITY"
303 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
307 HREF="libxml-tree.html#XMLENTITYPTR"
311 HREF="libxml-tree.html#XMLPARSERINPUTPTR"
312 >xmlParserInputPtr</A
314 HREF="libxml-parserinternals.html#XMLNEWSTRINGINPUTSTREAM"
315 >xmlNewStringInputStream</A
317 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
321 HREF="libxml-tree.html#XMLCHAR"
325 HREF="libxml-tree.html#XMLPARSERINPUTPTR"
326 >xmlParserInputPtr</A
328 HREF="libxml-parserinternals.html#XMLNEWENTITYINPUTSTREAM"
329 >xmlNewEntityInputStream</A
331 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
335 HREF="libxml-tree.html#XMLENTITYPTR"
339 HREF="libxml-parserinternals.html#XMLPUSHINPUT"
342 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
346 HREF="libxml-tree.html#XMLPARSERINPUTPTR"
347 >xmlParserInputPtr</A
350 HREF="libxml-tree.html#XMLCHAR"
353 HREF="libxml-parserinternals.html#XMLPOPINPUT"
356 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
360 HREF="libxml-parserinternals.html#XMLFREEINPUTSTREAM"
361 >xmlFreeInputStream</A
363 HREF="libxml-tree.html#XMLPARSERINPUTPTR"
364 >xmlParserInputPtr</A
367 HREF="libxml-tree.html#XMLPARSERINPUTPTR"
368 >xmlParserInputPtr</A
370 HREF="libxml-parserinternals.html#XMLNEWINPUTFROMFILE"
371 >xmlNewInputFromFile</A
373 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
376 const char *filename);
378 HREF="libxml-tree.html#XMLPARSERINPUTPTR"
379 >xmlParserInputPtr</A
381 HREF="libxml-parserinternals.html#XMLNEWINPUTSTREAM"
382 >xmlNewInputStream</A
384 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
388 HREF="libxml-tree.html#XMLCHAR"
391 HREF="libxml-parserinternals.html#XMLSPLITQNAME"
394 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
398 HREF="libxml-tree.html#XMLCHAR"
402 HREF="libxml-tree.html#XMLCHAR"
406 HREF="libxml-tree.html#XMLCHAR"
409 HREF="libxml-parserinternals.html#XMLNAMESPACEPARSENCNAME"
410 >xmlNamespaceParseNCName</A
412 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
416 HREF="libxml-tree.html#XMLCHAR"
419 HREF="libxml-parserinternals.html#XMLNAMESPACEPARSEQNAME"
420 >xmlNamespaceParseQName</A
422 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
426 HREF="libxml-tree.html#XMLCHAR"
430 HREF="libxml-tree.html#XMLCHAR"
433 HREF="libxml-parserinternals.html#XMLNAMESPACEPARSENSDEF"
434 >xmlNamespaceParseNSDef</A
436 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
440 HREF="libxml-tree.html#XMLCHAR"
443 HREF="libxml-parserinternals.html#XMLPARSEQUOTEDSTRING"
444 >xmlParseQuotedString</A
446 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
450 HREF="libxml-parserinternals.html#XMLPARSENAMESPACE"
451 >xmlParseNamespace</A
453 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
457 HREF="libxml-tree.html#XMLCHAR"
460 HREF="libxml-parserinternals.html#XMLSCANNAME"
463 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
467 HREF="libxml-tree.html#XMLCHAR"
470 HREF="libxml-parserinternals.html#XMLPARSENAME"
473 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
477 HREF="libxml-tree.html#XMLCHAR"
480 HREF="libxml-parserinternals.html#XMLPARSENMTOKEN"
483 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
487 HREF="libxml-tree.html#XMLCHAR"
490 HREF="libxml-parserinternals.html#XMLPARSEENTITYVALUE"
491 >xmlParseEntityValue</A
493 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
497 HREF="libxml-tree.html#XMLCHAR"
501 HREF="libxml-tree.html#XMLCHAR"
504 HREF="libxml-parserinternals.html#XMLPARSEATTVALUE"
507 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
511 HREF="libxml-tree.html#XMLCHAR"
514 HREF="libxml-parserinternals.html#XMLPARSESYSTEMLITERAL"
515 >xmlParseSystemLiteral</A
517 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
521 HREF="libxml-tree.html#XMLCHAR"
524 HREF="libxml-parserinternals.html#XMLPARSEPUBIDLITERAL"
525 >xmlParsePubidLiteral</A
527 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
531 HREF="libxml-parserinternals.html#XMLPARSECHARDATA"
534 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
539 HREF="libxml-tree.html#XMLCHAR"
542 HREF="libxml-parserinternals.html#XMLPARSEEXTERNALID"
543 >xmlParseExternalID</A
545 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
549 HREF="libxml-tree.html#XMLCHAR"
554 HREF="libxml-parserinternals.html#XMLPARSECOMMENT"
557 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
561 HREF="libxml-tree.html#XMLCHAR"
564 HREF="libxml-parserinternals.html#XMLPARSEPITARGET"
567 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
571 HREF="libxml-parserinternals.html#XMLPARSEPI"
574 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
578 HREF="libxml-parserinternals.html#XMLPARSENOTATIONDECL"
579 >xmlParseNotationDecl</A
581 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
585 HREF="libxml-parserinternals.html#XMLPARSEENTITYDECL"
586 >xmlParseEntityDecl</A
588 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
592 HREF="libxml-parserinternals.html#XMLPARSEDEFAULTDECL"
593 >xmlParseDefaultDecl</A
595 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
599 HREF="libxml-tree.html#XMLCHAR"
603 HREF="libxml-tree.html#XMLENUMERATIONPTR"
604 >xmlEnumerationPtr</A
606 HREF="libxml-parserinternals.html#XMLPARSENOTATIONTYPE"
607 >xmlParseNotationType</A
609 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
613 HREF="libxml-tree.html#XMLENUMERATIONPTR"
614 >xmlEnumerationPtr</A
616 HREF="libxml-parserinternals.html#XMLPARSEENUMERATIONTYPE"
617 >xmlParseEnumerationType</A
619 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
623 HREF="libxml-parserinternals.html#XMLPARSEENUMERATEDTYPE"
624 >xmlParseEnumeratedType</A
626 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
630 HREF="libxml-tree.html#XMLENUMERATIONPTR"
631 >xmlEnumerationPtr</A
634 HREF="libxml-parserinternals.html#XMLPARSEATTRIBUTETYPE"
635 >xmlParseAttributeType</A
637 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
641 HREF="libxml-tree.html#XMLENUMERATIONPTR"
642 >xmlEnumerationPtr</A
645 HREF="libxml-parserinternals.html#XMLPARSEATTRIBUTELISTDECL"
646 >xmlParseAttributeListDecl</A
648 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
652 HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
653 >xmlElementContentPtr</A
655 HREF="libxml-parserinternals.html#XMLPARSEELEMENTMIXEDCONTENTDECL"
656 >xmlParseElementMixedContentDecl</A
659 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
663 HREF="libxml-tree.html#XMLPARSERINPUTPTR"
664 >xmlParserInputPtr</A
667 HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
668 >xmlElementContentPtr</A
670 HREF="libxml-parserinternals.html#XMLPARSEELEMENTCHILDRENCONTENTD"
671 >xmlParseElementChildrenContentD</A
674 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
678 HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
679 >xmlElementContentPtr</A
681 HREF="libxml-parserinternals.html#XMLPARSEELEMENTCHILDRENCONTENTDECL"
682 >xmlParseElementChildrenContentDecl</A
685 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
689 HREF="libxml-tree.html#XMLPARSERINPUTPTR"
690 >xmlParserInputPtr</A
693 HREF="libxml-parserinternals.html#XMLPARSEELEMENTCONTENTDECL"
694 >xmlParseElementContentDecl</A
696 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
700 HREF="libxml-tree.html#XMLCHAR"
704 HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
705 >xmlElementContentPtr</A
708 HREF="libxml-parserinternals.html#XMLPARSEELEMENTDECL"
709 >xmlParseElementDecl</A
711 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
715 HREF="libxml-parserinternals.html#XMLPARSEMARKUPDECL"
716 >xmlParseMarkupDecl</A
718 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
722 HREF="libxml-parserinternals.html#XMLPARSECHARREF"
725 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
729 HREF="libxml-tree.html#XMLENTITYPTR"
732 HREF="libxml-parserinternals.html#XMLPARSEENTITYREF"
733 >xmlParseEntityRef</A
735 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
739 HREF="libxml-parserinternals.html#XMLPARSEREFERENCE"
740 >xmlParseReference</A
742 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
746 HREF="libxml-parserinternals.html#XMLPARSEPEREFERENCE"
747 >xmlParsePEReference</A
749 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
753 HREF="libxml-parserinternals.html#XMLPARSEDOCTYPEDECL"
754 >xmlParseDocTypeDecl</A
756 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
760 HREF="libxml-tree.html#XMLCHAR"
763 HREF="libxml-parserinternals.html#XMLPARSEATTRIBUTE"
764 >xmlParseAttribute</A
766 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
770 HREF="libxml-tree.html#XMLCHAR"
774 HREF="libxml-tree.html#XMLCHAR"
777 HREF="libxml-parserinternals.html#XMLPARSESTARTTAG"
780 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
784 HREF="libxml-parserinternals.html#XMLPARSEENDTAG"
787 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
791 HREF="libxml-parserinternals.html#XMLPARSECDSECT"
794 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
798 HREF="libxml-parserinternals.html#XMLPARSECONTENT"
801 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
805 HREF="libxml-parserinternals.html#XMLPARSEELEMENT"
808 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
812 HREF="libxml-tree.html#XMLCHAR"
815 HREF="libxml-parserinternals.html#XMLPARSEVERSIONNUM"
816 >xmlParseVersionNum</A
818 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
822 HREF="libxml-tree.html#XMLCHAR"
825 HREF="libxml-parserinternals.html#XMLPARSEVERSIONINFO"
826 >xmlParseVersionInfo</A
828 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
832 HREF="libxml-tree.html#XMLCHAR"
835 HREF="libxml-parserinternals.html#XMLPARSEENCNAME"
838 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
842 HREF="libxml-tree.html#XMLCHAR"
845 HREF="libxml-parserinternals.html#XMLPARSEENCODINGDECL"
846 >xmlParseEncodingDecl</A
848 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
852 HREF="libxml-parserinternals.html#XMLPARSESDDECL"
855 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
859 HREF="libxml-parserinternals.html#XMLPARSEXMLDECL"
862 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
866 HREF="libxml-parserinternals.html#XMLPARSETEXTDECL"
869 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
873 HREF="libxml-parserinternals.html#XMLPARSEMISC"
876 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
880 HREF="libxml-parserinternals.html#XMLPARSEEXTERNALSUBSET"
881 >xmlParseExternalSubset</A
883 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
887 HREF="libxml-tree.html#XMLCHAR"
891 HREF="libxml-tree.html#XMLCHAR"
895 HREF="libxml-parserinternals.html#XML-SUBSTITUTE-NONE-CAPS"
896 >XML_SUBSTITUTE_NONE</A
899 HREF="libxml-parserinternals.html#XML-SUBSTITUTE-REF-CAPS"
900 >XML_SUBSTITUTE_REF</A
903 HREF="libxml-parserinternals.html#XML-SUBSTITUTE-PEREF-CAPS"
904 >XML_SUBSTITUTE_PEREF</A
907 HREF="libxml-parserinternals.html#XML-SUBSTITUTE-BOTH-CAPS"
908 >XML_SUBSTITUTE_BOTH</A
911 HREF="libxml-tree.html#XMLCHAR"
914 HREF="libxml-parserinternals.html#XMLDECODEENTITIES"
915 >xmlDecodeEntities</A
917 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
923 HREF="libxml-tree.html#XMLCHAR"
927 HREF="libxml-tree.html#XMLCHAR"
931 HREF="libxml-tree.html#XMLCHAR"
935 HREF="libxml-tree.html#XMLCHAR"
938 HREF="libxml-parserinternals.html#XMLSTRINGDECODEENTITIES"
939 >xmlStringDecodeEntities</A
941 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
945 HREF="libxml-tree.html#XMLCHAR"
950 HREF="libxml-tree.html#XMLCHAR"
954 HREF="libxml-tree.html#XMLCHAR"
958 HREF="libxml-tree.html#XMLCHAR"
962 HREF="libxml-parserinternals.html#NODEPUSH"
965 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
969 HREF="libxml-tree.html#XMLNODEPTR"
973 HREF="libxml-tree.html#XMLNODEPTR"
976 HREF="libxml-parserinternals.html#NODEPOP"
979 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
983 HREF="libxml-parserinternals.html#INPUTPUSH"
986 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
990 HREF="libxml-tree.html#XMLPARSERINPUTPTR"
991 >xmlParserInputPtr</A
994 HREF="libxml-tree.html#XMLPARSERINPUTPTR"
995 >xmlParserInputPtr</A
997 HREF="libxml-parserinternals.html#INPUTPOP"
1000 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
1001 >xmlParserCtxtPtr</A
1004 HREF="libxml-tree.html#XMLCHAR"
1007 HREF="libxml-parserinternals.html#NAMEPOP"
1010 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
1011 >xmlParserCtxtPtr</A
1014 HREF="libxml-parserinternals.html#NAMEPUSH"
1017 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
1018 >xmlParserCtxtPtr</A
1021 HREF="libxml-tree.html#XMLCHAR"
1025 HREF="libxml-parserinternals.html#XMLSKIPBLANKCHARS"
1026 >xmlSkipBlankChars</A
1028 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
1029 >xmlParserCtxtPtr</A
1032 HREF="libxml-parserinternals.html#XMLSTRINGCURRENTCHAR"
1033 >xmlStringCurrentChar</A
1035 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
1036 >xmlParserCtxtPtr</A
1039 HREF="libxml-tree.html#XMLCHAR"
1044 HREF="libxml-parserinternals.html#XMLPARSERHANDLEPEREFERENCE"
1045 >xmlParserHandlePEReference</A
1047 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
1048 >xmlParserCtxtPtr</A
1051 HREF="libxml-parserinternals.html#XMLPARSERHANDLEREFERENCE"
1052 >xmlParserHandleReference</A
1054 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
1055 >xmlParserCtxtPtr</A
1058 HREF="libxml-parserinternals.html#XMLCHECKLANGUAGEID"
1059 >xmlCheckLanguageID</A
1061 HREF="libxml-tree.html#XMLCHAR"
1065 HREF="libxml-parserinternals.html#XMLCURRENTCHAR"
1068 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
1069 >xmlParserCtxtPtr</A
1073 HREF="libxml-parserinternals.html#XMLCOPYCHARMULTIBYTE"
1074 >xmlCopyCharMultiByte</A
1076 HREF="libxml-tree.html#XMLCHAR"
1081 HREF="libxml-parserinternals.html#XMLCOPYCHAR"
1085 HREF="libxml-tree.html#XMLCHAR"
1090 HREF="libxml-parserinternals.html#XMLNEXTCHAR"
1093 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
1094 >xmlParserCtxtPtr</A
1097 HREF="libxml-parserinternals.html#XMLPARSERINPUTSHRINK"
1098 >xmlParserInputShrink</A
1100 HREF="libxml-tree.html#XMLPARSERINPUTPTR"
1101 >xmlParserInputPtr</A
1104 HREF="libxml-parserinternals.html#HTMLINITAUTOCLOSE"
1105 >htmlInitAutoClose</A
1108 HREF="libxml-htmlparser.html#HTMLPARSERCTXTPTR"
1109 >htmlParserCtxtPtr</A
1111 HREF="libxml-parserinternals.html#HTMLCREATEFILEPARSERCTXT"
1112 >htmlCreateFileParserCtxt</A
1113 > (const char *filename,
1114 const char *encoding);
1116 HREF="libxml-parserinternals.html#XMLENTITYREFERENCEFUNC"
1117 >*xmlEntityReferenceFunc</A
1119 HREF="libxml-tree.html#XMLENTITYPTR"
1123 HREF="libxml-tree.html#XMLNODEPTR"
1127 HREF="libxml-tree.html#XMLNODEPTR"
1131 HREF="libxml-parserinternals.html#XMLSETENTITYREFERENCEFUNC"
1132 >xmlSetEntityReferenceFunc</A
1134 HREF="libxml-parserinternals.html#XMLENTITYREFERENCEFUNC"
1135 >xmlEntityReferenceFunc</A
1165 NAME="XML-MAX-NAMELEN-CAPS"
1167 >XML_MAX_NAMELEN</H3
1176 CLASS="PROGRAMLISTING"
1177 >#define XML_MAX_NAMELEN 100</PRE
1182 >Identifiers can be longer, but this will be more costly
1194 NAME="INPUT-CHUNK-CAPS"
1205 CLASS="PROGRAMLISTING"
1206 >#define INPUT_CHUNK 250</PRE
1211 >The parser tries to always have that amount of input ready.
1212 One of the point is providing context when reporting errors.</P
1234 CLASS="PROGRAMLISTING"
1235 >#define IS_CHAR(c)</PRE
1240 >Macro to check the following production in the XML spec:</P
1242 >[2] Char ::= <GTKDOCLINK
1266 >x10000-</GTKDOCLINK
1269 >x10FFFF</GTKDOCLINK
1271 any Unicode character, excluding the surrogate blocks, FFFE, and FFFF.</P
1275 CLASS="INFORMALTABLE"
1302 > an UNICODE value (int)</TD
1317 NAME="IS-BLANK-CAPS"
1328 CLASS="PROGRAMLISTING"
1329 >#define IS_BLANK(c)</PRE
1334 >Macro to check the following production in the XML spec:</P
1336 >[3] S ::= (<GTKDOCLINK
1352 CLASS="INFORMALTABLE"
1379 > an UNICODE value (int)</TD
1394 NAME="IS-BASECHAR-CAPS"
1405 CLASS="PROGRAMLISTING"
1406 >#define IS_BASECHAR(c) xmlIsBaseChar(c)</PRE
1411 >Macro to check the following production in the XML spec:</P
1413 >[85] BaseChar ::= ... long list see REC ...</P
1417 CLASS="INFORMALTABLE"
1444 > an UNICODE value (int)</TD
1459 NAME="IS-DIGIT-CAPS"
1470 CLASS="PROGRAMLISTING"
1471 >#define IS_DIGIT(c) xmlIsDigit(c)</PRE
1476 >Macro to check the following production in the XML spec:</P
1478 >[88] Digit ::= ... long list see REC ...</P
1482 CLASS="INFORMALTABLE"
1509 > an UNICODE value (int)</TD
1524 NAME="IS-COMBINING-CAPS"
1535 CLASS="PROGRAMLISTING"
1536 >#define IS_COMBINING(c) xmlIsCombining(c)</PRE
1541 >Macro to check the following production in the XML spec:</P
1543 >[87] CombiningChar ::= ... long list see REC ...</P
1547 CLASS="INFORMALTABLE"
1574 > an UNICODE value (int)</TD
1589 NAME="IS-EXTENDER-CAPS"
1600 CLASS="PROGRAMLISTING"
1601 >#define IS_EXTENDER(c) xmlIsExtender(c)</PRE
1606 >Macro to check the following production in the XML spec:</P
1608 >[89] Extender ::= <GTKDOCLINK
1656 CLASS="INFORMALTABLE"
1683 > an UNICODE value (int)</TD
1698 NAME="IS-IDEOGRAPHIC-CAPS"
1700 >IS_IDEOGRAPHIC()</H3
1709 CLASS="PROGRAMLISTING"
1710 >#define IS_IDEOGRAPHIC(c) xmlIsIdeographic(c)</PRE
1715 >Macro to check the following production in the XML spec:</P
1717 >[86] Ideographic ::= [<GTKDOCLINK
1736 CLASS="INFORMALTABLE"
1763 > an UNICODE value (int)</TD
1778 NAME="IS-LETTER-CAPS"
1789 CLASS="PROGRAMLISTING"
1790 >#define IS_LETTER(c) (IS_BASECHAR(c) || IS_IDEOGRAPHIC(c))</PRE
1795 >Macro to check the following production in the XML spec:</P
1797 >[84] Letter ::= BaseChar | Ideographic</P
1801 CLASS="INFORMALTABLE"
1828 > an UNICODE value (int)</TD
1843 NAME="IS-PUBIDCHAR-CAPS"
1854 CLASS="PROGRAMLISTING"
1855 >#define IS_PUBIDCHAR(c) xmlIsPubidChar(c)</PRE
1860 >Macro to check the following production in the XML spec:</P
1862 >[13] PubidChar ::= <GTKDOCLINK
1871 > | [a-zA-Z0-9] | [-'()+,./:=?;!*#@$_%]</P
1875 CLASS="INFORMALTABLE"
1902 > an UNICODE value (int)</TD
1917 NAME="SKIP-EOL-CAPS"
1928 CLASS="PROGRAMLISTING"
1929 >#define SKIP_EOL(p)</PRE
1934 >Skips the end of line chars.</P
1938 CLASS="INFORMALTABLE"
1965 > and UTF8 string pointer</TD
1980 NAME="MOVETO-ENDTAG-CAPS"
1982 >MOVETO_ENDTAG()</H3
1991 CLASS="PROGRAMLISTING"
1992 >#define MOVETO_ENDTAG(p)</PRE
1997 >Skips to the next '>' char.</P
2001 CLASS="INFORMALTABLE"
2028 > and UTF8 string pointer</TD
2043 NAME="MOVETO-STARTTAG-CAPS"
2045 >MOVETO_STARTTAG()</H3
2054 CLASS="PROGRAMLISTING"
2055 >#define MOVETO_STARTTAG(p)</PRE
2060 >Skips to the next '<' char.</P
2064 CLASS="INFORMALTABLE"
2091 > and UTF8 string pointer</TD
2106 NAME="XMLISBASECHAR"
2108 >xmlIsBaseChar ()</H3
2117 CLASS="PROGRAMLISTING"
2118 >int xmlIsBaseChar (int c);</PRE
2123 >Check whether the character is allowed by the production
2124 [85] BaseChar ::= ... long list see REC ...</P
2126 >VI is your friend !
2127 :1,$ s/\[<GTKDOCLINK
2130 >\([0-9A-Z]*\)-<GTKDOCLINK
2133 >\([0-9A-Z]*\)\]/ (((c) >= 0x\1) \&\& ((c) <= 0x\2)) ||/
2138 >\([0-9A-Z]*\)/ ((c) == 0x\1) ||/</P
2142 CLASS="INFORMALTABLE"
2169 > an unicode character (int)</TD
2187 >0 if not, non-zero otherwise</TD
2213 CLASS="PROGRAMLISTING"
2214 >int xmlIsBlank (int c);</PRE
2219 >Check whether the character is allowed by the production
2220 [3] S ::= (<GTKDOCLINK
2233 Also available as a macro <A
2234 HREF="libxml-parserinternals.html#IS-BLANK-CAPS"
2240 CLASS="INFORMALTABLE"
2267 > an unicode character (int)</TD
2285 >0 if not, non-zero otherwise</TD
2300 NAME="XMLISPUBIDCHAR"
2302 >xmlIsPubidChar ()</H3
2311 CLASS="PROGRAMLISTING"
2312 >int xmlIsPubidChar (int c);</PRE
2317 >Check whether the character is allowed by the production
2318 [13] PubidChar ::= <GTKDOCLINK
2327 > | [a-zA-Z0-9] | [-'()+,./:=?;!*#@$_%]</P
2331 CLASS="INFORMALTABLE"
2358 > an unicode character (int)</TD
2376 >0 if not, non-zero otherwise</TD
2402 CLASS="PROGRAMLISTING"
2403 >int xmlIsLetter (int c);</PRE
2408 >Check whether the character is allowed by the production
2409 [84] Letter ::= BaseChar | Ideographic</P
2413 CLASS="INFORMALTABLE"
2440 > an unicode character (int)</TD
2458 >0 if not, non-zero otherwise</TD
2484 CLASS="PROGRAMLISTING"
2485 >int xmlIsDigit (int c);</PRE
2490 >Check whether the character is allowed by the production
2491 [88] Digit ::= ... long list see REC ...</P
2495 CLASS="INFORMALTABLE"
2522 > an unicode character (int)</TD
2540 >0 if not, non-zero otherwise</TD
2555 NAME="XMLISIDEOGRAPHIC"
2557 >xmlIsIdeographic ()</H3
2566 CLASS="PROGRAMLISTING"
2567 >int xmlIsIdeographic (int c);</PRE
2572 >Check whether the character is allowed by the production
2573 [86] Ideographic ::= [<GTKDOCLINK
2592 CLASS="INFORMALTABLE"
2619 > an unicode character (int)</TD
2637 >0 if not, non-zero otherwise</TD
2652 NAME="XMLISEXTENDER"
2654 >xmlIsExtender ()</H3
2663 CLASS="PROGRAMLISTING"
2664 >int xmlIsExtender (int c);</PRE
2669 >Check whether the character is allowed by the production
2670 [89] Extender ::= <GTKDOCLINK
2718 CLASS="INFORMALTABLE"
2745 > an unicode character (int)</TD
2763 >0 if not, non-zero otherwise</TD
2778 NAME="XMLISCOMBINING"
2780 >xmlIsCombining ()</H3
2789 CLASS="PROGRAMLISTING"
2790 >int xmlIsCombining (int c);</PRE
2795 >Check whether the character is allowed by the production
2796 [87] CombiningChar ::= ... long list see REC ...</P
2800 CLASS="INFORMALTABLE"
2827 > an unicode character (int)</TD
2845 >0 if not, non-zero otherwise</TD
2871 CLASS="PROGRAMLISTING"
2872 >int xmlIsChar (int c);</PRE
2877 >Check whether the character is allowed by the production
2878 [2] Char ::= <GTKDOCLINK
2902 >x10000-</GTKDOCLINK
2905 >x10FFFF</GTKDOCLINK
2907 any Unicode character, excluding the surrogate blocks, FFFE, and FFFF.
2908 Also available as a macro <A
2909 HREF="libxml-parserinternals.html#IS-CHAR-CAPS"
2915 CLASS="INFORMALTABLE"
2942 > an unicode character (int)</TD
2960 >0 if not, non-zero otherwise</TD
2975 NAME="XMLCREATEFILEPARSERCTXT"
2977 >xmlCreateFileParserCtxt ()</H3
2986 CLASS="PROGRAMLISTING"
2988 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
2989 >xmlParserCtxtPtr</A
2990 > xmlCreateFileParserCtxt (const char *filename);</PRE
2995 >Create a parser context for a file content.
2996 Automatic support for ZLIB/Compress compressed document is provided
2997 by default if found at compile-time.</P
3001 CLASS="INFORMALTABLE"
3046 >the new parser context or NULL</TD
3061 NAME="XMLCREATEMEMORYPARSERCTXT"
3063 >xmlCreateMemoryParserCtxt ()</H3
3072 CLASS="PROGRAMLISTING"
3074 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
3075 >xmlParserCtxtPtr</A
3076 > xmlCreateMemoryParserCtxt (const char *buffer,
3082 >Create a parser context for an XML in-memory document.</P
3086 CLASS="INFORMALTABLE"
3113 > a pointer to a char array</TD
3130 > the size of the array</TD
3148 >the new parser context or NULL</TD
3163 NAME="XMLNEWPARSERCTXT"
3165 >xmlNewParserCtxt ()</H3
3174 CLASS="PROGRAMLISTING"
3176 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
3177 >xmlParserCtxtPtr</A
3178 > xmlNewParserCtxt (void);</PRE
3183 >Allocate and initialize a new parser context.</P
3187 CLASS="INFORMALTABLE"
3215 >the xmlParserCtxtPtr or NULL</TD
3230 NAME="XMLCREATEENTITYPARSERCTXT"
3232 >xmlCreateEntityParserCtxt ()</H3
3241 CLASS="PROGRAMLISTING"
3243 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
3244 >xmlParserCtxtPtr</A
3245 > xmlCreateEntityParserCtxt (const <A
3246 HREF="libxml-tree.html#XMLCHAR"
3250 HREF="libxml-tree.html#XMLCHAR"
3254 HREF="libxml-tree.html#XMLCHAR"
3261 >Create a parser context for an external entity
3262 Automatic support for ZLIB/Compress compressed document is provided
3263 by default if found at compile-time.</P
3267 CLASS="INFORMALTABLE"
3294 > the entity URL</TD
3311 > the entity PUBLIC ID</TD
3328 > a possible base for the target URI</TD
3346 >the new parser context or NULL</TD
3361 NAME="XMLSWITCHENCODING"
3363 >xmlSwitchEncoding ()</H3
3372 CLASS="PROGRAMLISTING"
3373 >int xmlSwitchEncoding (<A
3374 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
3375 >xmlParserCtxtPtr</A
3378 HREF="libxml-encoding.html#XMLCHARENCODING"
3385 >change the input functions when discovering the character encoding
3386 of a given entity.</P
3390 CLASS="INFORMALTABLE"
3417 > the parser context</TD
3434 > the encoding value (number)</TD
3452 >0 in case of success, -1 otherwise</TD
3467 NAME="XMLSWITCHTOENCODING"
3469 >xmlSwitchToEncoding ()</H3
3478 CLASS="PROGRAMLISTING"
3479 >int xmlSwitchToEncoding (<A
3480 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
3481 >xmlParserCtxtPtr</A
3484 HREF="libxml-encoding.html#XMLCHARENCODINGHANDLERPTR"
3485 >xmlCharEncodingHandlerPtr</A
3491 >change the input functions when discovering the character encoding
3492 of a given entity.</P
3496 CLASS="INFORMALTABLE"
3523 > the parser context</TD
3540 > the encoding handler</TD
3558 >0 in case of success, -1 otherwise</TD
3573 NAME="XMLHANDLEENTITY"
3575 >xmlHandleEntity ()</H3
3584 CLASS="PROGRAMLISTING"
3585 >void xmlHandleEntity (<A
3586 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
3587 >xmlParserCtxtPtr</A
3590 HREF="libxml-tree.html#XMLENTITYPTR"
3597 >Default handling of defined entities, when should we define a new input
3598 stream ? When do we just handle that as a set of chars ?</P
3600 >OBSOLETE: to be removed at some point.</P
3604 CLASS="INFORMALTABLE"
3631 > an XML parser context</TD
3648 > an XML entity pointer.</TD
3663 NAME="XMLNEWSTRINGINPUTSTREAM"
3665 >xmlNewStringInputStream ()</H3
3674 CLASS="PROGRAMLISTING"
3676 HREF="libxml-tree.html#XMLPARSERINPUTPTR"
3677 >xmlParserInputPtr</A
3678 > xmlNewStringInputStream (<A
3679 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
3680 >xmlParserCtxtPtr</A
3683 HREF="libxml-tree.html#XMLCHAR"
3690 >Create a new input stream based on a memory buffer.</P
3694 CLASS="INFORMALTABLE"
3721 > an XML parser context</TD
3738 > an memory buffer</TD
3756 >the new input stream</TD
3771 NAME="XMLNEWENTITYINPUTSTREAM"
3773 >xmlNewEntityInputStream ()</H3
3782 CLASS="PROGRAMLISTING"
3784 HREF="libxml-tree.html#XMLPARSERINPUTPTR"
3785 >xmlParserInputPtr</A
3786 > xmlNewEntityInputStream (<A
3787 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
3788 >xmlParserCtxtPtr</A
3791 HREF="libxml-tree.html#XMLENTITYPTR"
3798 >Create a new input stream based on an xmlEntityPtr</P
3802 CLASS="INFORMALTABLE"
3829 > an XML parser context</TD
3846 > an Entity pointer</TD
3864 >the new input stream or NULL</TD
3881 >xmlPushInput ()</H3
3890 CLASS="PROGRAMLISTING"
3891 >void xmlPushInput (<A
3892 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
3893 >xmlParserCtxtPtr</A
3896 HREF="libxml-tree.html#XMLPARSERINPUTPTR"
3897 >xmlParserInputPtr</A
3903 >xmlPushInput: switch to a new input stream which is stacked on top
3904 of the previous one(s).</P
3908 CLASS="INFORMALTABLE"
3935 > an XML parser context</TD
3952 > an XML parser input fragment (entity, XML fragment ...).</TD
3978 CLASS="PROGRAMLISTING"
3980 HREF="libxml-tree.html#XMLCHAR"
3983 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
3984 >xmlParserCtxtPtr</A
3990 >xmlPopInput: the current input pointed by ctxt->input came to an end
3991 pop it and return the next char.</P
3995 CLASS="INFORMALTABLE"
4022 > an XML parser context</TD
4040 >the current xmlChar in the parser context</TD
4055 NAME="XMLFREEINPUTSTREAM"
4057 >xmlFreeInputStream ()</H3
4066 CLASS="PROGRAMLISTING"
4067 >void xmlFreeInputStream (<A
4068 HREF="libxml-tree.html#XMLPARSERINPUTPTR"
4069 >xmlParserInputPtr</A
4075 >Free up an input stream.</P
4079 CLASS="INFORMALTABLE"
4106 > an xmlParserInputPtr</TD
4121 NAME="XMLNEWINPUTFROMFILE"
4123 >xmlNewInputFromFile ()</H3
4132 CLASS="PROGRAMLISTING"
4134 HREF="libxml-tree.html#XMLPARSERINPUTPTR"
4135 >xmlParserInputPtr</A
4136 > xmlNewInputFromFile (<A
4137 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
4138 >xmlParserCtxtPtr</A
4140 const char *filename);</PRE
4145 >Create a new input stream based on a file.</P
4149 CLASS="INFORMALTABLE"
4176 > an XML parser context</TD
4193 > the filename to use as entity</TD
4211 >the new input stream or NULL in case of error</TD
4226 NAME="XMLNEWINPUTSTREAM"
4228 >xmlNewInputStream ()</H3
4237 CLASS="PROGRAMLISTING"
4239 HREF="libxml-tree.html#XMLPARSERINPUTPTR"
4240 >xmlParserInputPtr</A
4241 > xmlNewInputStream (<A
4242 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
4243 >xmlParserCtxtPtr</A
4249 >Create a new input stream structure</P
4253 CLASS="INFORMALTABLE"
4280 > an XML parser context</TD
4298 >the new input stream or NULL</TD
4313 NAME="XMLSPLITQNAME"
4315 >xmlSplitQName ()</H3
4324 CLASS="PROGRAMLISTING"
4326 HREF="libxml-tree.html#XMLCHAR"
4328 >* xmlSplitQName (<A
4329 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
4330 >xmlParserCtxtPtr</A
4333 HREF="libxml-tree.html#XMLCHAR"
4337 HREF="libxml-tree.html#XMLCHAR"
4344 >parse an UTF8 encoded XML qualified name string</P
4346 >[NS 5] QName ::= (Prefix ':')? LocalPart</P
4348 >[NS 6] Prefix ::= NCName</P
4350 >[NS 7] LocalPart ::= NCName</P
4354 CLASS="INFORMALTABLE"
4381 > an XML parser context</TD
4398 > an XML parser context</TD
4433 >the local part, and prefix is updated
4434 to get the Prefix if any.</TD
4449 NAME="XMLNAMESPACEPARSENCNAME"
4451 >xmlNamespaceParseNCName ()</H3
4460 CLASS="PROGRAMLISTING"
4462 HREF="libxml-tree.html#XMLCHAR"
4464 >* xmlNamespaceParseNCName (<A
4465 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
4466 >xmlParserCtxtPtr</A
4472 >parse an XML namespace name.</P
4474 >TODO: this seems not in use anymore, the namespace handling is done on
4475 top of the SAX interfaces, i.e. not on raw input.</P
4477 >[NS 3] NCName ::= (Letter | '_') (NCNameChar)*</P
4479 >[NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' |
4480 CombiningChar | Extender</P
4484 CLASS="INFORMALTABLE"
4511 > an XML parser context</TD
4529 >the namespace name or NULL</TD
4544 NAME="XMLNAMESPACEPARSEQNAME"
4546 >xmlNamespaceParseQName ()</H3
4555 CLASS="PROGRAMLISTING"
4557 HREF="libxml-tree.html#XMLCHAR"
4559 >* xmlNamespaceParseQName (<A
4560 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
4561 >xmlParserCtxtPtr</A
4564 HREF="libxml-tree.html#XMLCHAR"
4571 >TODO: this seems not in use anymore, the namespace handling is done on
4572 top of the SAX interfaces, i.e. not on raw input.</P
4574 >parse an XML qualified name</P
4576 >[NS 5] QName ::= (Prefix ':')? LocalPart</P
4578 >[NS 6] Prefix ::= NCName</P
4580 >[NS 7] LocalPart ::= NCName</P
4584 CLASS="INFORMALTABLE"
4611 > an XML parser context</TD
4646 >the local part, and prefix is updated
4647 to get the Prefix if any.</TD
4662 NAME="XMLNAMESPACEPARSENSDEF"
4664 >xmlNamespaceParseNSDef ()</H3
4673 CLASS="PROGRAMLISTING"
4675 HREF="libxml-tree.html#XMLCHAR"
4677 >* xmlNamespaceParseNSDef (<A
4678 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
4679 >xmlParserCtxtPtr</A
4685 >parse a namespace prefix declaration</P
4687 >TODO: this seems not in use anymore, the namespace handling is done on
4688 top of the SAX interfaces, i.e. not on raw input.</P
4690 >[NS 1] NSDef ::= PrefixDef Eq SystemLiteral</P
4692 >[NS 2] PrefixDef ::= 'xmlns' (':' NCName)?</P
4696 CLASS="INFORMALTABLE"
4723 > an XML parser context</TD
4741 >the namespace name</TD
4756 NAME="XMLPARSEQUOTEDSTRING"
4758 >xmlParseQuotedString ()</H3
4767 CLASS="PROGRAMLISTING"
4769 HREF="libxml-tree.html#XMLCHAR"
4771 >* xmlParseQuotedString (<A
4772 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
4773 >xmlParserCtxtPtr</A
4779 >Parse and return a string between quotes or doublequotes</P
4781 >TODO: Deprecated, to be removed at next drop of binary compatibility</P
4785 CLASS="INFORMALTABLE"
4812 > an XML parser context</TD
4830 >the string parser or NULL.</TD
4845 NAME="XMLPARSENAMESPACE"
4847 >xmlParseNamespace ()</H3
4856 CLASS="PROGRAMLISTING"
4857 >void xmlParseNamespace (<A
4858 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
4859 >xmlParserCtxtPtr</A
4865 >xmlParseNamespace: parse specific PI '<?namespace ...' constructs.</P
4867 >This is what the older xml-name Working Draft specified, a bunch of
4868 other stuff may still rely on it, so support is still here as
4869 if it was declared on the root of the Tree:-(</P
4871 >TODO: remove from library</P
4873 >To be removed at next drop of binary compatibility</P
4877 CLASS="INFORMALTABLE"
4904 > an XML parser context</TD
4930 CLASS="PROGRAMLISTING"
4932 HREF="libxml-tree.html#XMLCHAR"
4935 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
4936 >xmlParserCtxtPtr</A
4942 >Trickery: parse an XML name but without consuming the input flow
4943 Needed for rollback cases. Used only when parsing entities references.</P
4945 >TODO: seems deprecated now, only used in the default part of
4946 xmlParserHandleReference</P
4948 >[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
4949 CombiningChar | Extender</P
4951 >[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
4953 >[6] Names ::= Name (S Name)*</P
4957 CLASS="INFORMALTABLE"
4984 > an XML parser context</TD
5002 >the Name parsed or NULL</TD
5019 >xmlParseName ()</H3
5028 CLASS="PROGRAMLISTING"
5030 HREF="libxml-tree.html#XMLCHAR"
5033 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
5034 >xmlParserCtxtPtr</A
5040 >parse an XML name.</P
5042 >[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
5043 CombiningChar | Extender</P
5045 >[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
5047 >[6] Names ::= Name (S Name)*</P
5051 CLASS="INFORMALTABLE"
5078 > an XML parser context</TD
5096 >the Name parsed or NULL</TD
5111 NAME="XMLPARSENMTOKEN"
5113 >xmlParseNmtoken ()</H3
5122 CLASS="PROGRAMLISTING"
5124 HREF="libxml-tree.html#XMLCHAR"
5126 >* xmlParseNmtoken (<A
5127 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
5128 >xmlParserCtxtPtr</A
5134 >parse an XML Nmtoken.</P
5136 >[7] Nmtoken ::= (NameChar)+</P
5138 >[8] Nmtokens ::= Nmtoken (S Nmtoken)*</P
5142 CLASS="INFORMALTABLE"
5169 > an XML parser context</TD
5187 >the Nmtoken parsed or NULL</TD
5202 NAME="XMLPARSEENTITYVALUE"
5204 >xmlParseEntityValue ()</H3
5213 CLASS="PROGRAMLISTING"
5215 HREF="libxml-tree.html#XMLCHAR"
5217 >* xmlParseEntityValue (<A
5218 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
5219 >xmlParserCtxtPtr</A
5222 HREF="libxml-tree.html#XMLCHAR"
5229 >parse a value for ENTITY declarations</P
5231 >[9] EntityValue ::= '"' ([^%&"] | PEReference | Reference)* '"' |
5232 "'" ([^%&'] | PEReference | Reference)* "'"</P
5236 CLASS="INFORMALTABLE"
5263 > an XML parser context</TD
5280 > if non-NULL store a copy of the original entity value</TD
5298 >the EntityValue parsed with reference substituted or NULL</TD
5313 NAME="XMLPARSEATTVALUE"
5315 >xmlParseAttValue ()</H3
5324 CLASS="PROGRAMLISTING"
5326 HREF="libxml-tree.html#XMLCHAR"
5328 >* xmlParseAttValue (<A
5329 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
5330 >xmlParserCtxtPtr</A
5336 >parse a value for an attribute
5337 Note: the parser won't do substitution of entities here, this
5338 will be handled later in xmlStringGetNodeList</P
5340 >[10] AttValue ::= '"' ([^<&"] | Reference)* '"' |
5341 "'" ([^<&'] | Reference)* "'"</P
5343 >3.3.3 Attribute-Value Normalization:
5344 Before the value of an attribute is passed to the application or
5345 checked for validity, the XML processor must normalize it as follows:
5346 - a character reference is processed by appending the referenced
5347 character to the attribute value
5348 - an entity reference is processed by recursively processing the
5349 replacement text of the entity
5350 - a whitespace character (<GTKDOCLINK
5363 appending <GTKDOCLINK
5366 > to the normalized value, except that only a single
5370 > is appended for a "<GTKDOCLINK
5376 >" sequence that is part of an external
5377 parsed entity or the literal entity value of an internal parsed entity
5378 - other characters are processed by appending them to the normalized value
5379 If the declared value is not CDATA, then the XML processor must further
5380 process the normalized attribute value by discarding any leading and
5381 trailing space (<GTKDOCLINK
5384 >) characters, and by replacing sequences of space
5388 >) characters by a single space (<GTKDOCLINK
5392 All attributes for which no declaration has been read should be treated
5393 by a non-validating parser as if declared CDATA.</P
5397 CLASS="INFORMALTABLE"
5424 > an XML parser context</TD
5442 >the AttValue parsed or NULL. The value has to be freed by the caller.</TD
5457 NAME="XMLPARSESYSTEMLITERAL"
5459 >xmlParseSystemLiteral ()</H3
5468 CLASS="PROGRAMLISTING"
5470 HREF="libxml-tree.html#XMLCHAR"
5472 >* xmlParseSystemLiteral (<A
5473 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
5474 >xmlParserCtxtPtr</A
5480 >parse an XML Literal</P
5482 >[11] SystemLiteral ::= ('"' [^"]* '"') | ("'" [^']* "'")</P
5486 CLASS="INFORMALTABLE"
5513 > an XML parser context</TD
5531 >the SystemLiteral parsed or NULL</TD
5546 NAME="XMLPARSEPUBIDLITERAL"
5548 >xmlParsePubidLiteral ()</H3
5557 CLASS="PROGRAMLISTING"
5559 HREF="libxml-tree.html#XMLCHAR"
5561 >* xmlParsePubidLiteral (<A
5562 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
5563 >xmlParserCtxtPtr</A
5569 >parse an XML public literal</P
5571 >[12] PubidLiteral ::= '"' PubidChar* '"' | "'" (PubidChar - "'")* "'"</P
5575 CLASS="INFORMALTABLE"
5602 > an XML parser context</TD
5620 >the PubidLiteral parsed or NULL.</TD
5635 NAME="XMLPARSECHARDATA"
5637 >xmlParseCharData ()</H3
5646 CLASS="PROGRAMLISTING"
5647 >void xmlParseCharData (<A
5648 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
5649 >xmlParserCtxtPtr</A
5656 >parse a CharData section.
5657 if we are within a CDATA section ']]>' marks an end of section.</P
5659 >The right angle bracket (>) may be represented using the string "&gt;",
5660 and must, for compatibility, be escaped using "&gt;" or a character
5661 reference when it appears in the string "]]>" in content, when that
5662 string is not marking the end of a CDATA section. </P
5664 >[14] CharData ::= [^<&]* - ([^<&]* ']]>' [^<&]*)</P
5668 CLASS="INFORMALTABLE"
5695 > an XML parser context</TD
5712 > int indicating whether we are within a CDATA section</TD
5727 NAME="XMLPARSEEXTERNALID"
5729 >xmlParseExternalID ()</H3
5738 CLASS="PROGRAMLISTING"
5740 HREF="libxml-tree.html#XMLCHAR"
5742 >* xmlParseExternalID (<A
5743 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
5744 >xmlParserCtxtPtr</A
5747 HREF="libxml-tree.html#XMLCHAR"
5755 >Parse an External ID or a Public ID</P
5757 >NOTE: Productions [75] and [83] interact badly since [75] can generate
5758 'PUBLIC' S PubidLiteral S SystemLiteral</P
5760 >[75] ExternalID ::= 'SYSTEM' S SystemLiteral
5761 | 'PUBLIC' S PubidLiteral S SystemLiteral</P
5763 >[83] PublicID ::= 'PUBLIC' S PubidLiteral</P
5767 CLASS="INFORMALTABLE"
5794 > an XML parser context</TD
5811 > a xmlChar** receiving PubidLiteral</TD
5828 > indicate whether we should restrict parsing to only
5829 production [75], see NOTE below</TD
5847 >the function returns SystemLiteral and in the second
5848 case publicID receives PubidLiteral, is strict is off
5849 it is possible to return NULL and have publicID set.</TD
5864 NAME="XMLPARSECOMMENT"
5866 >xmlParseComment ()</H3
5875 CLASS="PROGRAMLISTING"
5876 >void xmlParseComment (<A
5877 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
5878 >xmlParserCtxtPtr</A
5884 >Skip an XML (SGML) comment <!-- .... -->
5885 The spec says that "For compatibility, the string "--" (double-hyphen)
5886 must not occur within comments. "</P
5888 >[15] Comment ::= '<!--' ((Char - '-') | ('-' (Char - '-')))* '-->'</P
5892 CLASS="INFORMALTABLE"
5919 > an XML parser context</TD
5934 NAME="XMLPARSEPITARGET"
5936 >xmlParsePITarget ()</H3
5945 CLASS="PROGRAMLISTING"
5947 HREF="libxml-tree.html#XMLCHAR"
5949 >* xmlParsePITarget (<A
5950 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
5951 >xmlParserCtxtPtr</A
5957 >parse the name of a PI</P
5959 >[17] PITarget ::= Name - (('X' | 'x') ('M' | 'm') ('L' | 'l'))</P
5963 CLASS="INFORMALTABLE"
5990 > an XML parser context</TD
6008 >the PITarget name or NULL</TD
6034 CLASS="PROGRAMLISTING"
6035 >void xmlParsePI (<A
6036 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
6037 >xmlParserCtxtPtr</A
6043 >parse an XML Processing Instruction.</P
6045 >[16] PI ::= '<?' PITarget (S (Char* - (Char* '?>' Char*)))? '?>'</P
6047 >The processing is transfered to SAX once parsed.</P
6051 CLASS="INFORMALTABLE"
6078 > an XML parser context</TD
6093 NAME="XMLPARSENOTATIONDECL"
6095 >xmlParseNotationDecl ()</H3
6104 CLASS="PROGRAMLISTING"
6105 >void xmlParseNotationDecl (<A
6106 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
6107 >xmlParserCtxtPtr</A
6113 >parse a notation declaration</P
6115 >[82] NotationDecl ::= '<!NOTATION' S Name S (ExternalID | PublicID) S? '>'</P
6117 >Hence there is actually 3 choices:
6118 'PUBLIC' S PubidLiteral
6119 'PUBLIC' S PubidLiteral S SystemLiteral
6120 and 'SYSTEM' S SystemLiteral</P
6123 HREF="libxml-parserinternals.html#XMLPARSEEXTERNALID"
6124 >xmlParseExternalID</A
6129 CLASS="INFORMALTABLE"
6156 > an XML parser context</TD
6171 NAME="XMLPARSEENTITYDECL"
6173 >xmlParseEntityDecl ()</H3
6182 CLASS="PROGRAMLISTING"
6183 >void xmlParseEntityDecl (<A
6184 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
6185 >xmlParserCtxtPtr</A
6191 >parse <!ENTITY declarations</P
6193 >[70] EntityDecl ::= GEDecl | PEDecl</P
6195 >[71] GEDecl ::= '<!ENTITY' S Name S EntityDef S? '>'</P
6197 >[72] PEDecl ::= '<!ENTITY' S '%' S Name S PEDef S? '>'</P
6199 >[73] EntityDef ::= EntityValue | (ExternalID NDataDecl?)</P
6201 >[74] PEDef ::= EntityValue | ExternalID</P
6203 >[76] NDataDecl ::= S 'NDATA' S Name</P
6205 >[ VC: Notation Declared ]
6206 The Name must match the declared name of a notation.</P
6210 CLASS="INFORMALTABLE"
6237 > an XML parser context</TD
6252 NAME="XMLPARSEDEFAULTDECL"
6254 >xmlParseDefaultDecl ()</H3
6263 CLASS="PROGRAMLISTING"
6264 >int xmlParseDefaultDecl (<A
6265 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
6266 >xmlParserCtxtPtr</A
6269 HREF="libxml-tree.html#XMLCHAR"
6276 >Parse an attribute default declaration</P
6278 >[60] DefaultDecl ::= '<GTKDOCLINK
6279 HREF="REQUIRED-CAPS"
6280 >REQUIRED</GTKDOCLINK
6283 >IMPLIED</GTKDOCLINK
6289 >[ VC: Required Attribute ]
6290 if the default declaration is the keyword <GTKDOCLINK
6291 HREF="REQUIRED-CAPS"
6292 >REQUIRED</GTKDOCLINK
6294 attribute must be specified for all elements of the type in the
6295 attribute-list declaration.</P
6297 >[ VC: Attribute Default Legal ]
6298 The declared default value must meet the lexical constraints of
6299 the declared attribute type c.f. <A
6300 HREF="libxml-valid.html#XMLVALIDATEATTRIBUTEDECL"
6301 >xmlValidateAttributeDecl</A
6304 >[ VC: Fixed Attribute Default ]
6305 if an attribute has a default value declared with the <GTKDOCLINK
6309 keyword, instances of that attribute must match the default value. </P
6311 >[ WFC: No < in Attribute Values ]
6313 HREF="libxml-parserinternals.html#XMLPARSEATTVALUE"
6314 >xmlParseAttValue</A
6319 CLASS="INFORMALTABLE"
6346 > an XML parser context</TD
6363 > Receive a possible fixed default value for the attribute</TD
6381 > XML_ATTRIBUTE_NONE, XML_ATTRIBUTE_REQUIRED, XML_ATTRIBUTE_IMPLIED
6382 or XML_ATTRIBUTE_FIXED. </TD
6397 NAME="XMLPARSENOTATIONTYPE"
6399 >xmlParseNotationType ()</H3
6408 CLASS="PROGRAMLISTING"
6410 HREF="libxml-tree.html#XMLENUMERATIONPTR"
6411 >xmlEnumerationPtr</A
6412 > xmlParseNotationType (<A
6413 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
6414 >xmlParserCtxtPtr</A
6420 >parse an Notation attribute type.</P
6422 >Note: the leading 'NOTATION' S part has already being parsed...</P
6424 >[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
6426 >[ VC: Notation Attributes ]
6427 Values of this type must match one of the notation names included
6428 in the declaration; all notation names in the declaration must be declared.</P
6432 CLASS="INFORMALTABLE"
6459 > an XML parser context</TD
6477 > the notation attribute tree built while parsing</TD
6492 NAME="XMLPARSEENUMERATIONTYPE"
6494 >xmlParseEnumerationType ()</H3
6503 CLASS="PROGRAMLISTING"
6505 HREF="libxml-tree.html#XMLENUMERATIONPTR"
6506 >xmlEnumerationPtr</A
6507 > xmlParseEnumerationType (<A
6508 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
6509 >xmlParserCtxtPtr</A
6515 >parse an Enumeration attribute type.</P
6517 >[59] Enumeration ::= '(' S? Nmtoken (S? '|' S? Nmtoken)* S? ')'</P
6519 >[ VC: Enumeration ]
6520 Values of this type must match one of the Nmtoken tokens in
6525 CLASS="INFORMALTABLE"
6552 > an XML parser context</TD
6570 > the enumeration attribute tree built while parsing</TD
6585 NAME="XMLPARSEENUMERATEDTYPE"
6587 >xmlParseEnumeratedType ()</H3
6596 CLASS="PROGRAMLISTING"
6597 >int xmlParseEnumeratedType (<A
6598 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
6599 >xmlParserCtxtPtr</A
6602 HREF="libxml-tree.html#XMLENUMERATIONPTR"
6603 >xmlEnumerationPtr</A
6609 >parse an Enumerated attribute type.</P
6611 >[57] EnumeratedType ::= NotationType | Enumeration</P
6613 >[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
6617 CLASS="INFORMALTABLE"
6644 > an XML parser context</TD
6661 > the enumeration tree built while parsing</TD
6679 > XML_ATTRIBUTE_ENUMERATION or XML_ATTRIBUTE_NOTATION</TD
6694 NAME="XMLPARSEATTRIBUTETYPE"
6696 >xmlParseAttributeType ()</H3
6705 CLASS="PROGRAMLISTING"
6706 >int xmlParseAttributeType (<A
6707 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
6708 >xmlParserCtxtPtr</A
6711 HREF="libxml-tree.html#XMLENUMERATIONPTR"
6712 >xmlEnumerationPtr</A
6718 >parse the Attribute list def for an element</P
6720 >[54] AttType ::= StringType | TokenizedType | EnumeratedType</P
6722 >[55] StringType ::= 'CDATA'</P
6724 >[56] TokenizedType ::= 'ID' | 'IDREF' | 'IDREFS' | 'ENTITY' |
6725 'ENTITIES' | 'NMTOKEN' | 'NMTOKENS'</P
6727 >Validity constraints for attribute values syntax are checked in
6729 HREF="libxml-valid.html#XMLVALIDATEATTRIBUTEVALUE"
6730 >xmlValidateAttributeValue</A
6734 Values of type ID must match the Name production. A name must not
6735 appear more than once in an XML document as a value of this type;
6736 i.e., ID values must uniquely identify the elements which bear them.</P
6738 >[ VC: One ID per Element Type ]
6739 No element type may have more than one ID attribute specified.</P
6741 >[ VC: ID Attribute Default ]
6742 An ID attribute must have a declared default of <GTKDOCLINK
6744 >IMPLIED</GTKDOCLINK
6746 HREF="REQUIRED-CAPS"
6747 >REQUIRED</GTKDOCLINK
6751 Values of type IDREF must match the Name production, and values
6752 of type IDREFS must match Names; each IDREF Name must match the value
6753 of an ID attribute on some element in the XML document; i.e. IDREF
6754 values must match the value of some ID attribute.</P
6756 >[ VC: Entity Name ]
6757 Values of type ENTITY must match the Name production, values
6758 of type ENTITIES must match Names; each Entity Name must match the
6759 name of an unparsed entity declared in the DTD. </P
6762 Values of type NMTOKEN must match the Nmtoken production; values
6763 of type NMTOKENS must match Nmtokens.</P
6767 CLASS="INFORMALTABLE"
6794 > an XML parser context</TD
6811 > the enumeration tree built while parsing</TD
6829 >the attribute type</TD
6844 NAME="XMLPARSEATTRIBUTELISTDECL"
6846 >xmlParseAttributeListDecl ()</H3
6855 CLASS="PROGRAMLISTING"
6856 >void xmlParseAttributeListDecl (<A
6857 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
6858 >xmlParserCtxtPtr</A
6864 >: parse the Attribute list def for an element</P
6866 >[52] AttlistDecl ::= '<!ATTLIST' S Name AttDef* S? '>'</P
6868 >[53] AttDef ::= S Name S AttType S DefaultDecl</P
6872 CLASS="INFORMALTABLE"
6899 > an XML parser context</TD
6914 NAME="XMLPARSEELEMENTMIXEDCONTENTDECL"
6916 >xmlParseElementMixedContentDecl ()</H3
6925 CLASS="PROGRAMLISTING"
6927 HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
6928 >xmlElementContentPtr</A
6929 > xmlParseElementMixedContentDecl
6931 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
6932 >xmlParserCtxtPtr</A
6935 HREF="libxml-tree.html#XMLPARSERINPUTPTR"
6936 >xmlParserInputPtr</A
6942 >parse the declaration for a Mixed Element content
6943 The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
6945 >[51] Mixed ::= '(' S? '<GTKDOCLINK
6948 >' (S? '|' S? Name)* S? ')*' |
6954 >[ VC: Proper Group/PE Nesting ] applies to [51] too (see [49])</P
6956 >[ VC: No Duplicate Types ]
6957 The same name must not appear more than once in a single
6958 mixed-content declaration.</P
6962 CLASS="INFORMALTABLE"
6989 > an XML parser context</TD
7024 > the list of the xmlElementContentPtr describing the element choices</TD
7039 NAME="XMLPARSEELEMENTCHILDRENCONTENTD"
7041 >xmlParseElementChildrenContentD ()</H3
7050 CLASS="PROGRAMLISTING"
7052 HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
7053 >xmlElementContentPtr</A
7054 > xmlParseElementChildrenContentD
7056 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
7057 >xmlParserCtxtPtr</A
7064 HREF="libxml-parserinternals.html#XMLPARSEELEMENTCHILDRENCONTENTDECL"
7065 >xmlParseElementChildrenContentDecl</A
7070 CLASS="INFORMALTABLE"
7097 > an XML parser context</TD
7115 >the tree of xmlElementContentPtr describing the element
7131 NAME="XMLPARSEELEMENTCHILDRENCONTENTDECL"
7133 >xmlParseElementChildrenContentDecl ()</H3
7142 CLASS="PROGRAMLISTING"
7144 HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
7145 >xmlElementContentPtr</A
7146 > xmlParseElementChildrenContentDecl
7148 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
7149 >xmlParserCtxtPtr</A
7152 HREF="libxml-tree.html#XMLPARSERINPUTPTR"
7153 >xmlParserInputPtr</A
7159 >parse the declaration for a Mixed Element content
7160 The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
7162 >[47] children ::= (choice | seq) ('?' | '*' | '+')?</P
7164 >[48] cp ::= (Name | choice | seq) ('?' | '*' | '+')?</P
7166 >[49] choice ::= '(' S? cp ( S? '|' S? cp )* S? ')'</P
7168 >[50] seq ::= '(' S? cp ( S? ',' S? cp )* S? ')'</P
7170 >[ VC: Proper Group/PE Nesting ] applies to [49] and [50]
7171 TODO Parameter-entity replacement text must be properly nested
7172 with parenthesized groups. That is to say, if either of the
7173 opening or closing parentheses in a choice, seq, or Mixed
7174 construct is contained in the replacement text for a parameter
7175 entity, both must be contained in the same replacement text. For
7176 interoperability, if a parameter-entity reference appears in a
7177 choice, seq, or Mixed construct, its replacement text should not
7178 be empty, and neither the first nor last non-blank character of
7179 the replacement text should be a connector (| or ,).</P
7183 CLASS="INFORMALTABLE"
7210 > an XML parser context</TD
7245 >the tree of xmlElementContentPtr describing the element
7261 NAME="XMLPARSEELEMENTCONTENTDECL"
7263 >xmlParseElementContentDecl ()</H3
7272 CLASS="PROGRAMLISTING"
7273 >int xmlParseElementContentDecl (<A
7274 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
7275 >xmlParserCtxtPtr</A
7278 HREF="libxml-tree.html#XMLCHAR"
7282 HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
7283 >xmlElementContentPtr</A
7289 >parse the declaration for an Element content either Mixed or Children,
7290 the cases EMPTY and ANY are handled directly in xmlParseElementDecl</P
7292 >[46] contentspec ::= 'EMPTY' | 'ANY' | Mixed | children</P
7296 CLASS="INFORMALTABLE"
7323 > an XML parser context</TD
7340 > the name of the element being defined.</TD
7357 > the Element Content pointer will be stored here if any</TD
7375 > the type of element content XML_ELEMENT_TYPE_xxx</TD
7390 NAME="XMLPARSEELEMENTDECL"
7392 >xmlParseElementDecl ()</H3
7401 CLASS="PROGRAMLISTING"
7402 >int xmlParseElementDecl (<A
7403 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
7404 >xmlParserCtxtPtr</A
7410 >parse an Element declaration.</P
7412 >[45] elementdecl ::= '<!ELEMENT' S Name S contentspec S? '>'</P
7414 >[ VC: Unique Element Type Declaration ]
7415 No element type may be declared more than once</P
7419 CLASS="INFORMALTABLE"
7446 > an XML parser context</TD
7464 >the type of the element, or -1 in case of error</TD
7479 NAME="XMLPARSEMARKUPDECL"
7481 >xmlParseMarkupDecl ()</H3
7490 CLASS="PROGRAMLISTING"
7491 >void xmlParseMarkupDecl (<A
7492 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
7493 >xmlParserCtxtPtr</A
7499 >parse Markup declarations</P
7501 >[29] markupdecl ::= elementdecl | AttlistDecl | EntityDecl |
7502 NotationDecl | PI | Comment</P
7504 >[ VC: Proper Declaration/PE Nesting ]
7505 Parameter-entity replacement text must be properly nested with
7506 markup declarations. That is to say, if either the first character
7507 or the last character of a markup declaration (markupdecl above) is
7508 contained in the replacement text for a parameter-entity reference,
7509 both must be contained in the same replacement text.</P
7511 >[ WFC: PEs in Internal Subset ]
7512 In the internal DTD subset, parameter-entity references can occur
7513 only where markup declarations can occur, not within markup declarations.
7514 (This does not apply to references that occur in external parameter
7515 entities or to the external subset.)</P
7519 CLASS="INFORMALTABLE"
7546 > an XML parser context</TD
7561 NAME="XMLPARSECHARREF"
7563 >xmlParseCharRef ()</H3
7572 CLASS="PROGRAMLISTING"
7573 >int xmlParseCharRef (<A
7574 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
7575 >xmlParserCtxtPtr</A
7581 >parse Reference declarations</P
7583 >[66] CharRef ::= '&#' [0-9]+ ';' |
7587 >' [0-9a-fA-F]+ ';'</P
7589 >[ WFC: Legal Character ]
7590 Characters referred to using character references must match the
7591 production for Char.</P
7595 CLASS="INFORMALTABLE"
7622 > an XML parser context</TD
7640 >the value parsed (as an int), 0 in case of error</TD
7655 NAME="XMLPARSEENTITYREF"
7657 >xmlParseEntityRef ()</H3
7666 CLASS="PROGRAMLISTING"
7668 HREF="libxml-tree.html#XMLENTITYPTR"
7670 > xmlParseEntityRef (<A
7671 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
7672 >xmlParserCtxtPtr</A
7678 >parse ENTITY references declarations</P
7680 >[68] EntityRef ::= '&' Name ';'</P
7682 >[ WFC: Entity Declared ]
7683 In a document without any DTD, a document with only an internal DTD
7684 subset which contains no parameter entity references, or a document
7685 with "standalone='yes'", the Name given in the entity reference
7686 must match that in an entity declaration, except that well-formed
7687 documents need not declare any of the following entities: amp, lt,
7688 gt, apos, quot. The declaration of a parameter entity must precede
7689 any reference to it. Similarly, the declaration of a general entity
7690 must precede any reference to it which appears in a default value in an
7691 attribute-list declaration. Note that if entities are declared in the
7692 external subset or in external parameter entities, a non-validating
7693 processor is not obligated to read and process their declarations;
7694 for such documents, the rule that an entity must be declared is a
7695 well-formedness constraint only if standalone='yes'.</P
7697 >[ WFC: Parsed Entity ]
7698 An entity reference must not contain the name of an unparsed entity</P
7702 CLASS="INFORMALTABLE"
7729 > an XML parser context</TD
7747 >the xmlEntityPtr if found, or NULL otherwise.</TD
7762 NAME="XMLPARSEREFERENCE"
7764 >xmlParseReference ()</H3
7773 CLASS="PROGRAMLISTING"
7774 >void xmlParseReference (<A
7775 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
7776 >xmlParserCtxtPtr</A
7782 >parse and handle entity references in content, depending on the SAX
7783 interface, this may end-up in a call to <GTKDOCLINK
7785 >character</GTKDOCLINK
7787 CharRef, a predefined entity, if there is no <A
7788 HREF="libxml-sax.html#REFERENCE"
7791 or if the parser was asked to switch to that mode.</P
7793 >[67] Reference ::= EntityRef | CharRef</P
7797 CLASS="INFORMALTABLE"
7824 > an XML parser context</TD
7839 NAME="XMLPARSEPEREFERENCE"
7841 >xmlParsePEReference ()</H3
7850 CLASS="PROGRAMLISTING"
7851 >void xmlParsePEReference (<A
7852 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
7853 >xmlParserCtxtPtr</A
7859 >parse PEReference declarations
7860 The entity content is handled directly by pushing it's content as
7861 a new input stream.</P
7863 >[69] PEReference ::= '%' Name ';'</P
7865 >[ WFC: No Recursion ]
7866 A parsed entity must not contain a recursive
7867 reference to itself, either directly or indirectly. </P
7869 >[ WFC: Entity Declared ]
7870 In a document without any DTD, a document with only an internal DTD
7871 subset which contains no parameter entity references, or a document
7872 with "standalone='yes'", ... ... The declaration of a parameter
7873 entity must precede any reference to it...</P
7875 >[ VC: Entity Declared ]
7876 In a document with an external subset or external parameter entities
7877 with "standalone='no'", ... ... The declaration of a parameter entity
7878 must precede any reference to it...</P
7881 Parameter-entity references may only appear in the DTD.
7882 NOTE: misleading but this is handled.</P
7886 CLASS="INFORMALTABLE"
7913 > an XML parser context</TD
7928 NAME="XMLPARSEDOCTYPEDECL"
7930 >xmlParseDocTypeDecl ()</H3
7939 CLASS="PROGRAMLISTING"
7940 >void xmlParseDocTypeDecl (<A
7941 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
7942 >xmlParserCtxtPtr</A
7948 >parse a DOCTYPE declaration</P
7950 >[28] doctypedecl ::= '<!DOCTYPE' S Name (S ExternalID)? S?
7951 ('[' (markupdecl | PEReference | S)* ']' S?)? '>'</P
7953 >[ VC: Root Element Type ]
7954 The Name in the document type declaration must match the element
7955 type of the root element.</P
7959 CLASS="INFORMALTABLE"
7986 > an XML parser context</TD
8001 NAME="XMLPARSEATTRIBUTE"
8003 >xmlParseAttribute ()</H3
8012 CLASS="PROGRAMLISTING"
8014 HREF="libxml-tree.html#XMLCHAR"
8016 >* xmlParseAttribute (<A
8017 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
8018 >xmlParserCtxtPtr</A
8021 HREF="libxml-tree.html#XMLCHAR"
8028 >parse an attribute</P
8030 >[41] Attribute ::= Name Eq AttValue</P
8032 >[ WFC: No External Entity References ]
8033 Attribute values cannot contain direct or indirect entity references
8034 to external entities.</P
8036 >[ WFC: No < in Attribute Values ]
8037 The replacement text of any entity referred to directly or indirectly in
8038 an attribute value (other than "&lt;") must not contain a <. </P
8040 >[ VC: Attribute Value Type ]
8041 The attribute must have been declared; the value must be of the type
8044 >[25] Eq ::= S? '=' S?</P
8048 >[NS 11] Attribute ::= QName Eq AttValue</P
8050 >Also the case QName == xmlns:??? is handled independently as a namespace
8055 CLASS="INFORMALTABLE"
8082 > an XML parser context</TD
8099 > a xmlChar ** used to store the value of the attribute</TD
8117 >the attribute name, and the value in *value.</TD
8132 NAME="XMLPARSESTARTTAG"
8134 >xmlParseStartTag ()</H3
8143 CLASS="PROGRAMLISTING"
8145 HREF="libxml-tree.html#XMLCHAR"
8147 >* xmlParseStartTag (<A
8148 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
8149 >xmlParserCtxtPtr</A
8155 >parse a start of tag either for rule element or
8156 EmptyElement. In both case we don't parse the tag closing chars.</P
8158 >[40] STag ::= '<' Name (S Attribute)* S? '>'</P
8160 >[ WFC: Unique Att Spec ]
8161 No attribute name may appear more than once in the same start-tag or
8162 empty-element tag. </P
8164 >[44] EmptyElemTag ::= '<' Name (S Attribute)* S? '/>'</P
8166 >[ WFC: Unique Att Spec ]
8167 No attribute name may appear more than once in the same start-tag or
8168 empty-element tag. </P
8172 >[NS 8] STag ::= '<' QName (S Attribute)* S? '>'</P
8174 >[NS 10] EmptyElement ::= '<' QName (S Attribute)* S? '/>'</P
8178 CLASS="INFORMALTABLE"
8205 > an XML parser context</TD
8223 >the element name parsed</TD
8238 NAME="XMLPARSEENDTAG"
8240 >xmlParseEndTag ()</H3
8249 CLASS="PROGRAMLISTING"
8250 >void xmlParseEndTag (<A
8251 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
8252 >xmlParserCtxtPtr</A
8258 >parse an end of tag</P
8260 >[42] ETag ::= '</' Name S? '>'</P
8264 >[NS 9] ETag ::= '</' QName S? '>'</P
8268 CLASS="INFORMALTABLE"
8295 > an XML parser context</TD
8310 NAME="XMLPARSECDSECT"
8312 >xmlParseCDSect ()</H3
8321 CLASS="PROGRAMLISTING"
8322 >void xmlParseCDSect (<A
8323 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
8324 >xmlParserCtxtPtr</A
8330 >Parse escaped pure raw content.</P
8332 >[18] CDSect ::= CDStart CData CDEnd</P
8334 >[19] CDStart ::= '<![CDATA['</P
8336 >[20] Data ::= (Char* - (Char* ']]>' Char*))</P
8338 >[21] CDEnd ::= ']]>'</P
8342 CLASS="INFORMALTABLE"
8369 > an XML parser context</TD
8384 NAME="XMLPARSECONTENT"
8386 >xmlParseContent ()</H3
8395 CLASS="PROGRAMLISTING"
8396 >void xmlParseContent (<A
8397 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
8398 >xmlParserCtxtPtr</A
8404 >Parse a content:</P
8406 >[43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*</P
8410 CLASS="INFORMALTABLE"
8437 > an XML parser context</TD
8452 NAME="XMLPARSEELEMENT"
8454 >xmlParseElement ()</H3
8463 CLASS="PROGRAMLISTING"
8464 >void xmlParseElement (<A
8465 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
8466 >xmlParserCtxtPtr</A
8472 >parse an XML element, this is highly recursive</P
8474 >[39] element ::= EmptyElemTag | STag content ETag</P
8476 >[ WFC: Element Type Match ]
8477 The Name in an element's end-tag must match the element type in the
8480 >[ VC: Element Valid ]
8481 An element is valid if there is a declaration matching elementdecl
8482 where the Name matches the element type and one of the following holds:
8483 - The declaration matches EMPTY and the element has no content.
8484 - The declaration matches children and the sequence of child elements
8485 belongs to the language generated by the regular expression in the
8486 content model, with optional white space (characters matching the
8487 nonterminal S) between each pair of child elements.
8488 - The declaration matches Mixed and the content consists of character
8489 data and child elements whose types match names in the content model.
8490 - The declaration matches ANY, and the types of any child elements have
8495 CLASS="INFORMALTABLE"
8522 > an XML parser context</TD
8537 NAME="XMLPARSEVERSIONNUM"
8539 >xmlParseVersionNum ()</H3
8548 CLASS="PROGRAMLISTING"
8550 HREF="libxml-tree.html#XMLCHAR"
8552 >* xmlParseVersionNum (<A
8553 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
8554 >xmlParserCtxtPtr</A
8560 >parse the XML version value.</P
8562 >[26] VersionNum ::= ([a-zA-Z0-9_.:] | '-')+</P
8566 CLASS="INFORMALTABLE"
8593 > an XML parser context</TD
8611 >the string giving the XML version number, or NULL</TD
8626 NAME="XMLPARSEVERSIONINFO"
8628 >xmlParseVersionInfo ()</H3
8637 CLASS="PROGRAMLISTING"
8639 HREF="libxml-tree.html#XMLCHAR"
8641 >* xmlParseVersionInfo (<A
8642 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
8643 >xmlParserCtxtPtr</A
8649 >parse the XML version.</P
8651 >[24] VersionInfo ::= S 'version' Eq (' VersionNum ' | " VersionNum ")</P
8653 >[25] Eq ::= S? '=' S?</P
8657 CLASS="INFORMALTABLE"
8684 > an XML parser context</TD
8702 >the version string, e.g. "1.0"</TD
8717 NAME="XMLPARSEENCNAME"
8719 >xmlParseEncName ()</H3
8728 CLASS="PROGRAMLISTING"
8730 HREF="libxml-tree.html#XMLCHAR"
8732 >* xmlParseEncName (<A
8733 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
8734 >xmlParserCtxtPtr</A
8740 >parse the XML encoding name</P
8742 >[81] EncName ::= [A-Za-z] ([A-Za-z0-9._] | '-')*</P
8746 CLASS="INFORMALTABLE"
8773 > an XML parser context</TD
8791 >the encoding name value or NULL</TD
8806 NAME="XMLPARSEENCODINGDECL"
8808 >xmlParseEncodingDecl ()</H3
8817 CLASS="PROGRAMLISTING"
8819 HREF="libxml-tree.html#XMLCHAR"
8821 >* xmlParseEncodingDecl (<A
8822 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
8823 >xmlParserCtxtPtr</A
8829 >parse the XML encoding declaration</P
8831 >[80] EncodingDecl ::= S 'encoding' Eq ('"' EncName '"' | "'" EncName "'")</P
8833 >this setups the conversion filters.</P
8837 CLASS="INFORMALTABLE"
8864 > an XML parser context</TD
8882 >the encoding value or NULL</TD
8897 NAME="XMLPARSESDDECL"
8899 >xmlParseSDDecl ()</H3
8908 CLASS="PROGRAMLISTING"
8909 >int xmlParseSDDecl (<A
8910 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
8911 >xmlParserCtxtPtr</A
8917 >parse the XML standalone declaration</P
8919 >[32] SDDecl ::= S 'standalone' Eq
8920 (("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no')'"')) </P
8922 >[ VC: Standalone Document Declaration ]
8923 TODO The standalone document declaration must have the value "no"
8924 if any external markup declarations contain declarations of:
8925 - attributes with default values, if elements to which these
8926 attributes apply appear in the document without specifications
8927 of values for these attributes, or
8928 - entities (other than amp, lt, gt, apos, quot), if references
8929 to those entities appear in the document, or
8930 - attributes with values subject to normalization, where the
8931 attribute appears in the document with a value which will change
8932 as a result of normalization, or
8933 - element types with element content, if white space occurs directly
8934 within any instance of those types.</P
8938 CLASS="INFORMALTABLE"
8965 > an XML parser context</TD
8983 >1 if standalone, 0 otherwise</TD
8998 NAME="XMLPARSEXMLDECL"
9000 >xmlParseXMLDecl ()</H3
9009 CLASS="PROGRAMLISTING"
9010 >void xmlParseXMLDecl (<A
9011 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
9012 >xmlParserCtxtPtr</A
9018 >parse an XML declaration header</P
9020 >[23] XMLDecl ::= '<?xml' VersionInfo EncodingDecl? SDDecl? S? '?>'</P
9024 CLASS="INFORMALTABLE"
9051 > an XML parser context</TD
9066 NAME="XMLPARSETEXTDECL"
9068 >xmlParseTextDecl ()</H3
9077 CLASS="PROGRAMLISTING"
9078 >void xmlParseTextDecl (<A
9079 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
9080 >xmlParserCtxtPtr</A
9086 >parse an XML declaration header for external entities</P
9088 >[77] TextDecl ::= '<?xml' VersionInfo? EncodingDecl S? '?>'</P
9090 >Question: Seems that EncodingDecl is mandatory ? Is that a typo ?</P
9094 CLASS="INFORMALTABLE"
9121 > an XML parser context</TD
9138 >xmlParseMisc ()</H3
9147 CLASS="PROGRAMLISTING"
9148 >void xmlParseMisc (<A
9149 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
9150 >xmlParserCtxtPtr</A
9156 >parse an XML Misc* optional field.</P
9158 >[27] Misc ::= Comment | PI | S</P
9162 CLASS="INFORMALTABLE"
9189 > an XML parser context</TD
9204 NAME="XMLPARSEEXTERNALSUBSET"
9206 >xmlParseExternalSubset ()</H3
9215 CLASS="PROGRAMLISTING"
9216 >void xmlParseExternalSubset (<A
9217 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
9218 >xmlParserCtxtPtr</A
9221 HREF="libxml-tree.html#XMLCHAR"
9225 HREF="libxml-tree.html#XMLCHAR"
9232 >parse Markup declarations from an external subset</P
9234 >[30] extSubset ::= textDecl? extSubsetDecl</P
9236 >[31] extSubsetDecl ::= (markupdecl | conditionalSect | PEReference | S) *</P
9240 CLASS="INFORMALTABLE"
9267 > an XML parser context</TD
9284 > the external identifier</TD
9301 > the system identifier (or URL)</TD
9316 NAME="XML-SUBSTITUTE-NONE-CAPS"
9318 >XML_SUBSTITUTE_NONE</H3
9327 CLASS="PROGRAMLISTING"
9328 >#define XML_SUBSTITUTE_NONE 0</PRE
9333 >If no entities need to be substituted.</P
9344 NAME="XML-SUBSTITUTE-REF-CAPS"
9346 >XML_SUBSTITUTE_REF</H3
9355 CLASS="PROGRAMLISTING"
9356 >#define XML_SUBSTITUTE_REF 1</PRE
9361 >Whether general entities need to be substituted.</P
9372 NAME="XML-SUBSTITUTE-PEREF-CAPS"
9374 >XML_SUBSTITUTE_PEREF</H3
9383 CLASS="PROGRAMLISTING"
9384 >#define XML_SUBSTITUTE_PEREF 2</PRE
9389 >Whether parameter entities need to be substituted.</P
9400 NAME="XML-SUBSTITUTE-BOTH-CAPS"
9402 >XML_SUBSTITUTE_BOTH</H3
9411 CLASS="PROGRAMLISTING"
9412 >#define XML_SUBSTITUTE_BOTH 3</PRE
9417 >Both general and parameter entities need to be substituted.</P
9428 NAME="XMLDECODEENTITIES"
9430 >xmlDecodeEntities ()</H3
9439 CLASS="PROGRAMLISTING"
9441 HREF="libxml-tree.html#XMLCHAR"
9443 >* xmlDecodeEntities (<A
9444 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
9445 >xmlParserCtxtPtr</A
9450 HREF="libxml-tree.html#XMLCHAR"
9454 HREF="libxml-tree.html#XMLCHAR"
9458 HREF="libxml-tree.html#XMLCHAR"
9465 >This function is deprecated, we now always process entities content
9466 through xmlStringDecodeEntities</P
9468 >TODO: remove it in next major release.</P
9470 >[67] Reference ::= EntityRef | CharRef</P
9472 >[69] PEReference ::= '%' Name ';'</P
9476 CLASS="INFORMALTABLE"
9503 > the parser context</TD
9520 > the len to decode (in bytes !), -1 for no size limit</TD
9537 > combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF</TD
9554 > an end marker xmlChar, 0 if none</TD
9571 > an end marker xmlChar, 0 if none</TD
9588 > an end marker xmlChar, 0 if none</TD
9606 >A newly allocated string with the substitution done. The caller
9607 must deallocate it !</TD
9622 NAME="XMLSTRINGDECODEENTITIES"
9624 >xmlStringDecodeEntities ()</H3
9633 CLASS="PROGRAMLISTING"
9635 HREF="libxml-tree.html#XMLCHAR"
9637 >* xmlStringDecodeEntities (<A
9638 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
9639 >xmlParserCtxtPtr</A
9642 HREF="libxml-tree.html#XMLCHAR"
9647 HREF="libxml-tree.html#XMLCHAR"
9651 HREF="libxml-tree.html#XMLCHAR"
9655 HREF="libxml-tree.html#XMLCHAR"
9662 >Takes a entity string content and process to do the adequate substitutions.</P
9664 >[67] Reference ::= EntityRef | CharRef</P
9666 >[69] PEReference ::= '%' Name ';'</P
9670 CLASS="INFORMALTABLE"
9697 > the parser context</TD
9714 > the input string</TD
9731 > combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF</TD
9748 > an end marker xmlChar, 0 if none</TD
9765 > an end marker xmlChar, 0 if none</TD
9782 > an end marker xmlChar, 0 if none</TD
9800 >A newly allocated string with the substitution done. The caller
9801 must deallocate it !</TD
9827 CLASS="PROGRAMLISTING"
9829 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
9830 >xmlParserCtxtPtr</A
9833 HREF="libxml-tree.html#XMLNODEPTR"
9840 >Pushes a new element node on top of the node stack</P
9844 CLASS="INFORMALTABLE"
9871 > an XML parser context</TD
9888 > the element node</TD
9906 >0 in case of error, the index in the stack otherwise</TD
9932 CLASS="PROGRAMLISTING"
9934 HREF="libxml-tree.html#XMLNODEPTR"
9937 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
9938 >xmlParserCtxtPtr</A
9944 >Pops the top element node from the node stack</P
9948 CLASS="INFORMALTABLE"
9975 > an XML parser context</TD
9993 >the node just removed</TD
10019 CLASS="PROGRAMLISTING"
10021 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10022 >xmlParserCtxtPtr</A
10025 HREF="libxml-tree.html#XMLPARSERINPUTPTR"
10026 >xmlParserInputPtr</A
10032 >Pushes a new parser input on top of the input stack</P
10036 CLASS="INFORMALTABLE"
10063 > an XML parser context</TD
10080 > the parser input</TD
10098 >0 in case of error, the index in the stack otherwise</TD
10124 CLASS="PROGRAMLISTING"
10126 HREF="libxml-tree.html#XMLPARSERINPUTPTR"
10127 >xmlParserInputPtr</A
10129 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10130 >xmlParserCtxtPtr</A
10136 >Pops the top parser input from the input stack</P
10140 CLASS="INFORMALTABLE"
10167 > an XML parser context</TD
10185 >the input just removed</TD
10211 CLASS="PROGRAMLISTING"
10213 HREF="libxml-tree.html#XMLCHAR"
10216 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10217 >xmlParserCtxtPtr</A
10223 >Pops the top element name from the name stack</P
10227 CLASS="INFORMALTABLE"
10254 > an XML parser context</TD
10272 >the name just removed</TD
10298 CLASS="PROGRAMLISTING"
10300 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10301 >xmlParserCtxtPtr</A
10304 HREF="libxml-tree.html#XMLCHAR"
10311 >Pushes a new element name on top of the name stack</P
10315 CLASS="INFORMALTABLE"
10342 > an XML parser context</TD
10359 > the element name</TD
10377 >0 in case of error, the index in the stack otherwise</TD
10392 NAME="XMLSKIPBLANKCHARS"
10394 >xmlSkipBlankChars ()</H3
10403 CLASS="PROGRAMLISTING"
10404 >int xmlSkipBlankChars (<A
10405 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10406 >xmlParserCtxtPtr</A
10412 >skip all blanks character found at that point in the input streams.
10413 It pops up finished entities in the process if allowable at that point.</P
10417 CLASS="INFORMALTABLE"
10444 > the XML parser context</TD
10462 >the number of space chars skipped</TD
10477 NAME="XMLSTRINGCURRENTCHAR"
10479 >xmlStringCurrentChar ()</H3
10488 CLASS="PROGRAMLISTING"
10489 >int xmlStringCurrentChar (<A
10490 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10491 >xmlParserCtxtPtr</A
10494 HREF="libxml-tree.html#XMLCHAR"
10502 >The current char value, if using UTF-8 this may actually span multiple
10503 bytes in the input buffer.</P
10507 CLASS="INFORMALTABLE"
10534 > the XML parser context</TD
10551 > pointer to the beginning of the char</TD
10568 > pointer to the length of the char read</TD
10586 >the current char value and its length</TD
10601 NAME="XMLPARSERHANDLEPEREFERENCE"
10603 >xmlParserHandlePEReference ()</H3
10612 CLASS="PROGRAMLISTING"
10613 >void xmlParserHandlePEReference (<A
10614 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10615 >xmlParserCtxtPtr</A
10621 >[69] PEReference ::= '%' Name ';'</P
10623 >[ WFC: No Recursion ]
10624 A parsed entity must not contain a recursive
10625 reference to itself, either directly or indirectly. </P
10627 >[ WFC: Entity Declared ]
10628 In a document without any DTD, a document with only an internal DTD
10629 subset which contains no parameter entity references, or a document
10630 with "standalone='yes'", ... ... The declaration of a parameter
10631 entity must precede any reference to it...</P
10633 >[ VC: Entity Declared ]
10634 In a document with an external subset or external parameter entities
10635 with "standalone='no'", ... ... The declaration of a parameter entity
10636 must precede any reference to it...</P
10639 Parameter-entity references may only appear in the DTD.
10640 NOTE: misleading but this is handled.</P
10642 >A PEReference may have been detected in the current input stream
10643 the handling is done accordingly to
10644 http://www.w3.org/TR/REC-xml<GTKDOCLINK
10646 >entproc</GTKDOCLINK
10649 - Included in literal in entity values
10650 - Included as Parameter Entity reference within DTDs</P
10654 CLASS="INFORMALTABLE"
10681 > the parser context</TD
10696 NAME="XMLPARSERHANDLEREFERENCE"
10698 >xmlParserHandleReference ()</H3
10707 CLASS="PROGRAMLISTING"
10708 >void xmlParserHandleReference (<A
10709 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10710 >xmlParserCtxtPtr</A
10716 >TODO: Remove, now deprecated ... the test is done directly in the
10720 >[67] Reference ::= EntityRef | CharRef</P
10722 >[68] EntityRef ::= '&' Name ';'</P
10724 >[ WFC: Entity Declared ]
10725 the Name given in the entity reference must match that in an entity
10726 declaration, except that well-formed documents need not declare any
10727 of the following entities: amp, lt, gt, apos, quot. </P
10729 >[ WFC: Parsed Entity ]
10730 An entity reference must not contain the name of an unparsed entity</P
10732 >[66] CharRef ::= '&#' [0-9]+ ';' |
10736 >' [0-9a-fA-F]+ ';'</P
10738 >A PEReference may have been detected in the current input stream
10739 the handling is done accordingly to
10740 http://www.w3.org/TR/REC-xml<GTKDOCLINK
10742 >entproc</GTKDOCLINK
10747 CLASS="INFORMALTABLE"
10774 > the parser context</TD
10789 NAME="XMLCHECKLANGUAGEID"
10791 >xmlCheckLanguageID ()</H3
10800 CLASS="PROGRAMLISTING"
10801 >int xmlCheckLanguageID (const <A
10802 HREF="libxml-tree.html#XMLCHAR"
10809 >Checks that the value conforms to the LanguageID production:</P
10811 >NOTE: this is somewhat deprecated, those productions were removed from
10812 the XML Second edition.</P
10814 >[33] LanguageID ::= Langcode ('-' Subcode)*
10815 [34] Langcode ::= ISO639Code | IanaCode | UserCode
10816 [35] ISO639Code ::= ([a-z] | [A-Z]) ([a-z] | [A-Z])
10817 [36] IanaCode ::= ('i' | 'I') '-' ([a-z] | [A-Z])+
10818 [37] UserCode ::= ('x' | 'X') '-' ([a-z] | [A-Z])+
10819 [38] Subcode ::= ([a-z] | [A-Z])+</P
10823 CLASS="INFORMALTABLE"
10850 > pointer to the string value</TD
10868 >1 if correct 0 otherwise</TD
10883 NAME="XMLCURRENTCHAR"
10885 >xmlCurrentChar ()</H3
10894 CLASS="PROGRAMLISTING"
10895 >int xmlCurrentChar (<A
10896 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10897 >xmlParserCtxtPtr</A
10904 >The current char value, if using UTF-8 this may actually span multiple
10905 bytes in the input buffer. Implement the end of line normalization:
10906 2.11 End-of-Line Handling
10907 Wherever an external parsed entity or the literal entity value
10908 of an internal parsed entity contains either the literal two-character
10909 sequence "<GTKDOCLINK
10915 >" or a standalone literal <GTKDOCLINK
10918 >, an XML processor
10919 must pass to the application the single character <GTKDOCLINK
10923 This behavior can conveniently be produced by normalizing all
10924 line breaks to <GTKDOCLINK
10927 > on input, before parsing.)</P
10931 CLASS="INFORMALTABLE"
10958 > the XML parser context</TD
10975 > pointer to the length of the char read</TD
10993 >the current char value and its length</TD
11008 NAME="XMLCOPYCHARMULTIBYTE"
11010 >xmlCopyCharMultiByte ()</H3
11019 CLASS="PROGRAMLISTING"
11020 >int xmlCopyCharMultiByte (<A
11021 HREF="libxml-tree.html#XMLCHAR"
11029 >append the char value in the array</P
11033 CLASS="INFORMALTABLE"
11060 > pointer to an array of xmlChar</TD
11077 > the char value</TD
11095 >the number of xmlChar written</TD
11112 >xmlCopyChar ()</H3
11121 CLASS="PROGRAMLISTING"
11122 >int xmlCopyChar (int len,
11124 HREF="libxml-tree.html#XMLCHAR"
11132 >append the char value in the array</P
11136 CLASS="INFORMALTABLE"
11163 > Ignored, compatibility</TD
11180 > pointer to an array of xmlChar</TD
11197 > the char value</TD
11215 >the number of xmlChar written</TD
11232 >xmlNextChar ()</H3
11241 CLASS="PROGRAMLISTING"
11242 >void xmlNextChar (<A
11243 HREF="libxml-tree.html#XMLPARSERCTXTPTR"
11244 >xmlParserCtxtPtr</A
11250 >Skip to the next char input char.</P
11254 CLASS="INFORMALTABLE"
11281 > the XML parser context</TD
11296 NAME="XMLPARSERINPUTSHRINK"
11298 >xmlParserInputShrink ()</H3
11307 CLASS="PROGRAMLISTING"
11308 >void xmlParserInputShrink (<A
11309 HREF="libxml-tree.html#XMLPARSERINPUTPTR"
11310 >xmlParserInputPtr</A
11316 >This function removes used input for the parser.</P
11320 CLASS="INFORMALTABLE"
11347 > an XML parser input</TD
11362 NAME="HTMLINITAUTOCLOSE"
11364 >htmlInitAutoClose ()</H3
11373 CLASS="PROGRAMLISTING"
11374 >void htmlInitAutoClose (void);</PRE
11379 >Initialize the htmlStartCloseIndex for fast lookup of closing tags names.
11380 This is not reentrant. Call <A
11381 HREF="libxml-parser.html#XMLINITPARSER"
11383 >() once before processing in
11384 case of use in multithreaded programs.</P
11395 NAME="HTMLCREATEFILEPARSERCTXT"
11397 >htmlCreateFileParserCtxt ()</H3
11406 CLASS="PROGRAMLISTING"
11408 HREF="libxml-htmlparser.html#HTMLPARSERCTXTPTR"
11409 >htmlParserCtxtPtr</A
11410 > htmlCreateFileParserCtxt (const char *filename,
11411 const char *encoding);</PRE
11416 >Create a parser context for a file content.
11417 Automatic support for ZLIB/Compress compressed document is provided
11418 by default if found at compile-time.</P
11422 CLASS="INFORMALTABLE"
11466 > a free form C string describing the HTML document encoding, or NULL</TD
11484 >the new parser context or NULL</TD
11499 NAME="XMLENTITYREFERENCEFUNC"
11501 >xmlEntityReferenceFunc ()</H3
11510 CLASS="PROGRAMLISTING"
11511 >void (*xmlEntityReferenceFunc) (<A
11512 HREF="libxml-tree.html#XMLENTITYPTR"
11516 HREF="libxml-tree.html#XMLNODEPTR"
11520 HREF="libxml-tree.html#XMLNODEPTR"
11527 >Callback function used when one needs to be able to track back the
11528 provenance of a chunk of nodes inherited from an entity replacement.</P
11532 CLASS="INFORMALTABLE"
11576 > the fist node in the chunk</TD
11593 > the last nod in the chunk</TD
11608 NAME="XMLSETENTITYREFERENCEFUNC"
11610 >xmlSetEntityReferenceFunc ()</H3
11619 CLASS="PROGRAMLISTING"
11620 >void xmlSetEntityReferenceFunc (<A
11621 HREF="libxml-parserinternals.html#XMLENTITYREFERENCEFUNC"
11622 >xmlEntityReferenceFunc</A
11628 >Set the function to call call back when a xml reference has been made</P
11632 CLASS="INFORMALTABLE"
11659 > A valid function</TD
11671 CLEAR="all"><BR><TABLE
11683 HREF="libxml-docbparser.html"
11688 ><<< Previous Page</B
11721 HREF="libxml-lib.html"
11737 HREF="libxml-encoding.html"
11742 >Next Page >>></B