Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

Unknown macro: {div}

DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR

Unknown macro: {div}


Unknown macro: {table}
Unknown macro: {tr}
Unknown macro: {th}

Return Types

Unknown macro: {tr}
Unknown macro: {td}
Unknown macro: {span}

XmlNode


Unknown macro: {table}

{column:width=80px|padding=0px}{column}{column}{column}

Unknown macro: {tr}
Unknown macro: {th}

Method Summary

Unknown macro: {tbody}
Unknown macro: {tr}
Unknown macro: {td}

XmlNode[]

Unknown macro: {td}

readXmlDocumentFromFile(argument)
Reads an XML document from a file.

Unknown macro: {tbody}
Unknown macro: {tr}
Unknown macro: {td}

XmlNode[]

Unknown macro: {td}

readXmlDocumentFromString(argument)
Reads an XML document from a string.


Unknown macro: {table}

{column:width=100%|padding=0px}{column}

Unknown macro: {tr}
Unknown macro: {th}

Method Details

Unknown macro: {tbody}
Unknown macro: {tr}
Unknown macro: {td}
readXmlDocumentFromFile
Unknown macro: {tr}
Unknown macro: {td}
Unknown macro: {span}

XmlNode[]

Unknown macro: {span}

readXmlDocumentFromFile

Unknown macro: {span}

(argument)

Unknown macro: {tr}
Unknown macro: {td}

Parameters

Unknown macro: {div}

{Object} argument

Unknown macro: {tr}
Unknown macro: {td}

Returns

Unknown macro: {div}

XmlNode[]

Unknown macro: {tr}
Unknown macro: {td}

Sample

Unknown macro: {div}
// specifies a reference to a file containing valid XML
var xmlNodes = plugins.XmlReader.readXmlDocumentFromFile('c:/test.xml');
var childNodes = xmlNodes[0].getChildNodes();
// shows a dialog to open an xml file, then reads the file
var xmlFile = plugins.file.showFileOpenDialog(1);
var xmlNodes = plugins.XmlReader.readXmlDocumentFromFile(xmlFile);
var childNodes = xmlNodes[0].getChildNodes();
Unknown macro: {tr}
Unknown macro: {td}
Unknown macro: {tbody}
Unknown macro: {tr}
Unknown macro: {td}
readXmlDocumentFromString
Unknown macro: {tr}
Unknown macro: {td}
Unknown macro: {span}

XmlNode[]

Unknown macro: {span}

readXmlDocumentFromString

Unknown macro: {span}

(argument)

Unknown macro: {tr}
Unknown macro: {td}

Parameters

Unknown macro: {div}

{String} argument

Unknown macro: {tr}
Unknown macro: {td}

Returns

Unknown macro: {div}

XmlNode[]

Unknown macro: {tr}
Unknown macro: {td}

Sample

Unknown macro: {div}
var xmlString = '<books><book price="44.95">' +
'<title>Core Java 1.5</title>' +
'<author>Piet Klerksen</author>' +
'<nrPages>1487</nrPages>' +
'</book>' +
'<book price="59.95">' +
'<title>Developing with Servoy</title>' +
'<author>Cheryl Owens and others</author><nrPages>492</nrPages></book></books>';
var xmlNodes = plugins.XmlReader.readXmlDocumentFromString(xmlString);
Unknown macro: {tr}
Unknown macro: {td}
  • No labels