public void startElement()

in src/main/java/org/apache/sling/scripting/xproc/xpl/XplBuilder.java [88:107]


		public void startElement(String uri, String localName, String name, Attributes attributes) throws SAXException {
			if (this.currentXplElement == null) {
				if (XplConstants.QNAME_PIPELINE.getLocalPart().equals(localName)) {
					this.rootStep = (Step) XplBuilder.this.createXplElement(localName, null);
					this.currentXplElement = this.rootStep;
					return;
				}
				throw new IllegalStateException("Expected 'pipeline' as first element, but received '" + localName + "'");
			}
			
			Map<String, String> atts = new HashMap<String, String>();
            int length = attributes.getLength();
            for (int i = 0; i < length; i++) {
            	atts.put(attributes.getQName(i), attributes.getValue(i));
            }
			
			XplElement xplElement = createXplElement(localName, atts);
			this.currentXplElement.addChild(xplElement);
			this.currentXplElement = xplElement;
		}