code: private void textPath(Attributes attributes) throws SVGParseException
     {
        debug("<textPath>");
  
        if (currentElement == null)
           throw new SVGParseException("Invalid document. Root element must be <svg>");
        SVG.TextPath  obj = new SVG.TextPath();
        obj.document = svgDocument;
        obj.parent = currentElement;
        parseAttributesCore(obj, attributes);
        parseAttributesStyle(obj, attributes);
        parseAttributesConditional(obj, attributes);
        parseAttributesTextPath(obj, attributes);
        currentElement.addChild(obj);
        currentElement = obj;
        if (obj.parent instanceof TextRoot)
           obj.setTextRoot((TextRoot) obj.parent);
        else
           obj.setTextRoot(((TextChild) obj.parent).getTextRoot());
     }
docs: <textPath> element