DBA Data[Home] [Help]

APPS.IES_META_DATA_UTIL dependencies on XMLDOM

Line 119: FUNCTION getProperty(element IN xmldom.DOMElement, key IN VARCHAR2) return VARCHAR2 IS

115:
116:
117: '; */
118:
119: FUNCTION getProperty(element IN xmldom.DOMElement, key IN VARCHAR2) return VARCHAR2 IS
120: nl xmldom.DOMNodeList;
121: len number;
122: n xmldom.DOMNode;
123: dummyElem xmldom.DOMElement;

Line 120: nl xmldom.DOMNodeList;

116:
117: '; */
118:
119: FUNCTION getProperty(element IN xmldom.DOMElement, key IN VARCHAR2) return VARCHAR2 IS
120: nl xmldom.DOMNodeList;
121: len number;
122: n xmldom.DOMNode;
123: dummyElem xmldom.DOMElement;
124: child xmldom.DOMNode;

Line 122: n xmldom.DOMNode;

118:
119: FUNCTION getProperty(element IN xmldom.DOMElement, key IN VARCHAR2) return VARCHAR2 IS
120: nl xmldom.DOMNodeList;
121: len number;
122: n xmldom.DOMNode;
123: dummyElem xmldom.DOMElement;
124: child xmldom.DOMNode;
125: BEGIN
126: nl := xmldom.getChildNodes(xmldom.makeNode(element)); /* Get all childNodes for the element */

Line 123: dummyElem xmldom.DOMElement;

119: FUNCTION getProperty(element IN xmldom.DOMElement, key IN VARCHAR2) return VARCHAR2 IS
120: nl xmldom.DOMNodeList;
121: len number;
122: n xmldom.DOMNode;
123: dummyElem xmldom.DOMElement;
124: child xmldom.DOMNode;
125: BEGIN
126: nl := xmldom.getChildNodes(xmldom.makeNode(element)); /* Get all childNodes for the element */
127: len := xmldom.getLength(nl);

Line 124: child xmldom.DOMNode;

120: nl xmldom.DOMNodeList;
121: len number;
122: n xmldom.DOMNode;
123: dummyElem xmldom.DOMElement;
124: child xmldom.DOMNode;
125: BEGIN
126: nl := xmldom.getChildNodes(xmldom.makeNode(element)); /* Get all childNodes for the element */
127: len := xmldom.getLength(nl);
128:

Line 126: nl := xmldom.getChildNodes(xmldom.makeNode(element)); /* Get all childNodes for the element */

122: n xmldom.DOMNode;
123: dummyElem xmldom.DOMElement;
124: child xmldom.DOMNode;
125: BEGIN
126: nl := xmldom.getChildNodes(xmldom.makeNode(element)); /* Get all childNodes for the element */
127: len := xmldom.getLength(nl);
128:
129: for i in 0..len-1 loop /* Iterate thru the child nodes */
130: n := xmldom.item(nl, i);

Line 127: len := xmldom.getLength(nl);

123: dummyElem xmldom.DOMElement;
124: child xmldom.DOMNode;
125: BEGIN
126: nl := xmldom.getChildNodes(xmldom.makeNode(element)); /* Get all childNodes for the element */
127: len := xmldom.getLength(nl);
128:
129: for i in 0..len-1 loop /* Iterate thru the child nodes */
130: n := xmldom.item(nl, i);
131: dummyElem := xmldom.makeElement(n);

Line 130: n := xmldom.item(nl, i);

126: nl := xmldom.getChildNodes(xmldom.makeNode(element)); /* Get all childNodes for the element */
127: len := xmldom.getLength(nl);
128:
129: for i in 0..len-1 loop /* Iterate thru the child nodes */
130: n := xmldom.item(nl, i);
131: dummyElem := xmldom.makeElement(n);
132:
133: if (xmldom.getTagName(dummyElem) = 'Properties') then /* Still inspect the children of Properties */
134: return getProperty(dummyElem, key);

Line 131: dummyElem := xmldom.makeElement(n);

127: len := xmldom.getLength(nl);
128:
129: for i in 0..len-1 loop /* Iterate thru the child nodes */
130: n := xmldom.item(nl, i);
131: dummyElem := xmldom.makeElement(n);
132:
133: if (xmldom.getTagName(dummyElem) = 'Properties') then /* Still inspect the children of Properties */
134: return getProperty(dummyElem, key);
135: elsif (xmldom.getAttribute(dummyElem,'NAME') = key) then /* if key matches value of NAME attr */

Line 133: if (xmldom.getTagName(dummyElem) = 'Properties') then /* Still inspect the children of Properties */

129: for i in 0..len-1 loop /* Iterate thru the child nodes */
130: n := xmldom.item(nl, i);
131: dummyElem := xmldom.makeElement(n);
132:
133: if (xmldom.getTagName(dummyElem) = 'Properties') then /* Still inspect the children of Properties */
134: return getProperty(dummyElem, key);
135: elsif (xmldom.getAttribute(dummyElem,'NAME') = key) then /* if key matches value of NAME attr */
136: child := xmldom.getFirstChild(n); /* this is how the node is retrieved for the NAME key */
137: if NOT (xmldom.isNull(child)) then

Line 135: elsif (xmldom.getAttribute(dummyElem,'NAME') = key) then /* if key matches value of NAME attr */

131: dummyElem := xmldom.makeElement(n);
132:
133: if (xmldom.getTagName(dummyElem) = 'Properties') then /* Still inspect the children of Properties */
134: return getProperty(dummyElem, key);
135: elsif (xmldom.getAttribute(dummyElem,'NAME') = key) then /* if key matches value of NAME attr */
136: child := xmldom.getFirstChild(n); /* this is how the node is retrieved for the NAME key */
137: if NOT (xmldom.isNull(child)) then
138: return xmldom.getNodeValue(child);
139: else

Line 136: child := xmldom.getFirstChild(n); /* this is how the node is retrieved for the NAME key */

132:
133: if (xmldom.getTagName(dummyElem) = 'Properties') then /* Still inspect the children of Properties */
134: return getProperty(dummyElem, key);
135: elsif (xmldom.getAttribute(dummyElem,'NAME') = key) then /* if key matches value of NAME attr */
136: child := xmldom.getFirstChild(n); /* this is how the node is retrieved for the NAME key */
137: if NOT (xmldom.isNull(child)) then
138: return xmldom.getNodeValue(child);
139: else
140: return NULL;

Line 137: if NOT (xmldom.isNull(child)) then

133: if (xmldom.getTagName(dummyElem) = 'Properties') then /* Still inspect the children of Properties */
134: return getProperty(dummyElem, key);
135: elsif (xmldom.getAttribute(dummyElem,'NAME') = key) then /* if key matches value of NAME attr */
136: child := xmldom.getFirstChild(n); /* this is how the node is retrieved for the NAME key */
137: if NOT (xmldom.isNull(child)) then
138: return xmldom.getNodeValue(child);
139: else
140: return NULL;
141: end if;

Line 138: return xmldom.getNodeValue(child);

134: return getProperty(dummyElem, key);
135: elsif (xmldom.getAttribute(dummyElem,'NAME') = key) then /* if key matches value of NAME attr */
136: child := xmldom.getFirstChild(n); /* this is how the node is retrieved for the NAME key */
137: if NOT (xmldom.isNull(child)) then
138: return xmldom.getNodeValue(child);
139: else
140: return NULL;
141: end if;
142: end if;