blockly > Xml > domToPrettyText
الدالة Xml.domToPrettyText()
لتحويل بنية DOM إلى نص مع مسافة بادئة بشكل صحيح.
Signature:
export declare function domToPrettyText(dom: Node): string;
المعلمات
المعلمة |
النوع |
الوصف |
دوم |
العقدة |
يشير هذا المصطلح إلى شجرة تتضمّن عناصر XML. |
المرتجعات:
سلسلة
التمثيل النصي:
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-08-28 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-08-28 (حسب التوقيت العالمي المتفَّق عليه)"],[[["The `domToPrettyText` function within the Blockly Xml namespace converts a DOM (Document Object Model) structure, specifically a tree of XML elements, into a formatted, human-readable string with proper indentation."],["It takes a single argument: `dom`, which represents the XML node structure to be converted."],["The function ultimately returns the text representation of the provided DOM structure, facilitating readability and analysis of XML data within Blockly applications."]]],[]]