Add attributes to FXmlNode?

As the title suggested, i want to know if it is possible to add one or many attributes to FXmlNode? I have managed to write down informations as FXmlNode, but can’t figure out how to add attribute to those node. Any tip/ answer would be much appreciate, and thank you for reading this question.