Home | History | Annotate | Download | only in tools

Lines Matching refs:ELEMENT

62 # Get the root element from the schema. This is the first element
64 ROOT=$(sed -n -e '/xsd:element.*name="sdk-/s/.*name="\(sdk-[^"]*\)".*/\1/p' "$SCHEMA")
65 [[ -z "$ROOT" ]] && error "Failed to find root element in $SCHEMA."
66 echo "## Using root element $ROOT"
91 # files and the equivalent XML element being generated.
96 # Name read from | XML element written | Min-XSD version
163 # which elements. This depends on the XSD root element and the XSD version.
188 local ELEMENT="$2"
196 if [[ "$E" == "$ELEMENT" ]] && [[ "$P" == "@" || "$P" == "$PARENT" ]]; then
276 # In case an XML element would be mapped multiple times,
293 local ELEMENT="$1"
315 if needs_full_revision "$ELEMENT" "$KEY" ${FULL_REVISIONS[@]}; then
335 ELEMENT="$TYPE"
336 # The element name is different for extras:
337 [[ "$TYPE" == "support" ]] && ELEMENT="extra"
413 echo " <sdk:${ELEMENT}>" >> "$OUT"
414 output_attributes "$ELEMENT" "$OUT" $MAP
457 echo " </sdk:${ELEMENT}>" >> "$OUT"