OPEN_GRID API - v1.3.1
    Preparing search index...

    Interface XmlParseOptions

    XML → 데이터 파싱 옵션. / Options for parsing XML into data.

    interface XmlParseOptions {
        fieldMap?: Record<string, string>;
        mode?: "auto" | "element" | "attribute";
        rootTag?: string;
        rowTag?: string;
        trim?: boolean;
    }
    Index

    Properties

    fieldMap?: Record<string, string>

    XML 태그명 → 그리드 field명 매핑. 생략 시 태그명 그대로 사용. / XML tag name → grid field name map; tag names are used as-is when omitted.

    mode?: "auto" | "element" | "attribute"

    값 추출 방식: 'element' | 'attribute' | 'auto'(기본). / Value extraction mode: 'element' | 'attribute' | 'auto' (default).

    'auto'
    
    rootTag?: string

    루트 엘리먼트 태그명. 생략 시 문서 루트 자동 사용. / Root element tag name; falls back to the document root when omitted.

    rowTag?: string

    행 엘리먼트 태그명. 생략 시 루트의 첫 번째 자식 자동 감지. / Row element tag name; auto-detected from the root's first child when omitted.

    trim?: boolean

    텍스트 값 앞뒤 공백 제거. 기본 true. / Trim whitespace around text values. Default true.

    true