提交 8590c29d 编写于 作者: G ge-yafang

update docs

Signed-off-by: Nge-yafang <geyafang@huawei.com>
上级 a5f745e4
...@@ -457,7 +457,7 @@ function func(key, value){ ...@@ -457,7 +457,7 @@ function func(key, value){
arrTag[i] = 'key:'+key+' value:'+ value.getDepth(); arrTag[i] = 'key:'+key+' value:'+ value.getDepth();
str += arrTag[i]; str += arrTag[i];
i++; i++;
return true; // Determines whether to continuely parse, which is used to continue or terminate parsing. return true; // Determines whether to continually parse, which is used to continue or terminate parsing.
} }
let options = {supportDoctype:true, ignoreNameSpace:true, tokenValueCallbackFunction:func} let options = {supportDoctype:true, ignoreNameSpace:true, tokenValueCallbackFunction:func}
that.parse(options); that.parse(options);
...@@ -528,7 +528,7 @@ function func(key, value){ ...@@ -528,7 +528,7 @@ function func(key, value){
arrTag[i] = 'key:'+key+' value:'+ value.getColumnNumber(); arrTag[i] = 'key:'+key+' value:'+ value.getColumnNumber();
str += arrTag[i]; str += arrTag[i];
i++; i++;
return true; // Determines whether to continuely parse, which is used to continue or terminate parsing. return true; // Determines whether to continually parse, which is used to continue or terminate parsing.
} }
let options = {supportDoctype:true, ignoreNameSpace:true, tokenValueCallbackFunction:func} let options = {supportDoctype:true, ignoreNameSpace:true, tokenValueCallbackFunction:func}
that.parse(options); that.parse(options);
...@@ -575,7 +575,7 @@ function func(key, value){ ...@@ -575,7 +575,7 @@ function func(key, value){
arrTag[i] = 'key:'+key+' value:'+ value.getDepth(); arrTag[i] = 'key:'+key+' value:'+ value.getDepth();
str += arrTag[i]; str += arrTag[i];
i++; i++;
return true; // Determines whether to continuely parse, which is used to continue or terminate parsing. return true; // Determines whether to continually parse, which is used to continue or terminate parsing.
} }
let options = {supportDoctype:true, ignoreNameSpace:true, tokenValueCallbackFunction:func} let options = {supportDoctype:true, ignoreNameSpace:true, tokenValueCallbackFunction:func}
that.parse(options); that.parse(options);
...@@ -625,7 +625,7 @@ function func(key, value){ ...@@ -625,7 +625,7 @@ function func(key, value){
arrTag[i] = 'key:'+key+' value:'+ value.getLineNumber(); arrTag[i] = 'key:'+key+' value:'+ value.getLineNumber();
str += arrTag[i]; str += arrTag[i];
i++; i++;
return true; // Determines whether to continuely parse, which is used to continue or terminate parsing. return true; // Determines whether to continually parse, which is used to continue or terminate parsing.
} }
let options = {supportDoctype:true, ignoreNameSpace:true, tokenValueCallbackFunction:func} let options = {supportDoctype:true, ignoreNameSpace:true, tokenValueCallbackFunction:func}
that.parse(options); that.parse(options);
...@@ -672,7 +672,7 @@ function func(key, value){ ...@@ -672,7 +672,7 @@ function func(key, value){
arrTag[i] = 'key:'+key+' value:'+ value.getName(); arrTag[i] = 'key:'+key+' value:'+ value.getName();
str += arrTag[i]; str += arrTag[i];
i++; i++;
return true; // Determines whether to continuely parse, which is used to continue or terminate parsing. return true; // Determines whether to continually parse, which is used to continue or terminate parsing.
} }
let options = {supportDoctype:true, ignoreNameSpace:true, tokenValueCallbackFunction:func} let options = {supportDoctype:true, ignoreNameSpace:true, tokenValueCallbackFunction:func}
that.parse(options); that.parse(options);
...@@ -718,7 +718,7 @@ function func(key, value){ ...@@ -718,7 +718,7 @@ function func(key, value){
arrTag[i] = 'key:'+key+' value:'+ value.getNamespace(); arrTag[i] = 'key:'+key+' value:'+ value.getNamespace();
str += arrTag[i]; str += arrTag[i];
i++; i++;
return true; // Determines whether to continuely parse, which is used to continue or terminate parsing. return true; // Determines whether to continually parse, which is used to continue or terminate parsing.
} }
let options = {supportDoctype:true, ignoreNameSpace:true, tokenValueCallbackFunction:func} let options = {supportDoctype:true, ignoreNameSpace:true, tokenValueCallbackFunction:func}
that.parse(options); that.parse(options);
...@@ -764,7 +764,7 @@ function func(key, value){ ...@@ -764,7 +764,7 @@ function func(key, value){
arrTag[i] = 'key:'+key+' value:'+ value.getPrefix(); arrTag[i] = 'key:'+key+' value:'+ value.getPrefix();
str += arrTag[i]; str += arrTag[i];
i++; i++;
return true; // Determines whether to continuely parse, which is used to continue or terminate parsing. return true; // Determines whether to continually parse, which is used to continue or terminate parsing.
} }
let options = {supportDoctype:true, ignoreNameSpace:true, tokenValueCallbackFunction:func} let options = {supportDoctype:true, ignoreNameSpace:true, tokenValueCallbackFunction:func}
that.parse(options); that.parse(options);
...@@ -811,7 +811,7 @@ function func(key, value){ ...@@ -811,7 +811,7 @@ function func(key, value){
arrTag[i] = 'key:'+key+' value:'+ value.getText(); arrTag[i] = 'key:'+key+' value:'+ value.getText();
str += arrTag[i]; str += arrTag[i];
i++; i++;
return true; // Determines whether to continuely parse, which is used to continue or terminate parsing. return true; // Determines whether to continually parse, which is used to continue or terminate parsing.
} }
let options = {supportDoctype:true, ignoreNameSpace:true, tokenValueCallbackFunction:func} let options = {supportDoctype:true, ignoreNameSpace:true, tokenValueCallbackFunction:func}
that.parse(options); that.parse(options);
...@@ -857,7 +857,7 @@ function func(key, value){ ...@@ -857,7 +857,7 @@ function func(key, value){
arrTag[i] = 'key:'+key+' value:'+ value.isEmptyElementTag(); arrTag[i] = 'key:'+key+' value:'+ value.isEmptyElementTag();
str += arrTag[i]; str += arrTag[i];
i++; i++;
return true; // Determines whether to continuely parse, which is used to continue or terminate parsing. return true; // Determines whether to continually parse, which is used to continue or terminate parsing.
} }
let options = {supportDoctype:true, ignoreNameSpace:true, tokenValueCallbackFunction:func} let options = {supportDoctype:true, ignoreNameSpace:true, tokenValueCallbackFunction:func}
that.parse(options); that.parse(options);
...@@ -903,7 +903,7 @@ function func(key, value){ ...@@ -903,7 +903,7 @@ function func(key, value){
arrTag[i] = 'key:'+key+' value:'+ value.isWhitespace(); arrTag[i] = 'key:'+key+' value:'+ value.isWhitespace();
str += arrTag[i]; str += arrTag[i];
i++; i++;
return true; // Determines whether to continuely parse, which is used to continue or terminate parsing. return true; // Determines whether to continually parse, which is used to continue or terminate parsing.
} }
let options = {supportDoctype:true, ignoreNameSpace:true, tokenValueCallbackFunction:func} let options = {supportDoctype:true, ignoreNameSpace:true, tokenValueCallbackFunction:func}
that.parse(options); that.parse(options);
...@@ -948,7 +948,7 @@ function func(key, value){ ...@@ -948,7 +948,7 @@ function func(key, value){
arrTag[i] = 'key:'+key+' value:'+ value.getAttributeCount(); arrTag[i] = 'key:'+key+' value:'+ value.getAttributeCount();
str += arrTag[i]; str += arrTag[i];
i++; i++;
return true; // Determines whether to continuely parse, which is used to continue or terminate parsing. return true; // Determines whether to continually parse, which is used to continue or terminate parsing.
} }
let options = {supportDoctype:true, ignoreNameSpace:true, tokenValueCallbackFunction:func} let options = {supportDoctype:true, ignoreNameSpace:true, tokenValueCallbackFunction:func}
that.parse(options); that.parse(options);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册