xmldata | String Optional. String containing the XML document to convert to an XML node. Note: If you specify xmldata, do not specify $filedata or $filestream. |
$filedata | byte[ ] Optional. byte[ ] containing the XML document to convert to an XML node. Note: If you specify $filedata, do not specify xmldata or $filestream. |
$filestream | java.io.InputStream Optional. InputStream containing the XML document to convert to an XML node. Note: If you specify $filestream, do not specify xmldata or $filedata. |
encoding | String Optional. Character encoding in which text is represented. Specify UTF-8 for XML files and ISO-8859-1 for HTML files. To have the parser attempt to detect the type of encoding, specify autoDetect (which is the default, if encoding is not specified). |
isXML | String Optional. Flag specifying whether the input document is XML or HTML. (xmlStringToXMLNode must know this so that it can parse the document correctly.) Set to: autoDetect to parse the document based on its type. When you use this option, xmlStringToXMLNode detects the document's type based on its document type declaration as indicated by a <!DOCTYPE...\> or <?XML...\> tag. If it cannot determine the document type, it parses it as HTML. This is the default. true to parse the document as XML. false to parse the document as HTML. |
node | com.wm.lang.xml.Node XML node representation of the XML document in xmlData. This object can be used as input to webMethods services that consume XML nodes. |