Esri / Esri/mdcs-py

Feature: Add indexing support to getXMLNode and getXMLNodeValue

Open
#187 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
72
Forks
37
PR merge metrics
No merged PRs in 30d

Description

Description:

When the same command is used multiple times in the MDCS command chain, command indexing is applied (e.g., TF0, TF1, etc.).

Currently, getXMLNode and getXMLNodeValue only support 0-based indexing (default command instance). These functions should be enhanced to support explicit command indexing.

If no index is provided, the default behavior should remain index 0.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the getXMLNode and getXMLNodeValue implementations and their existing callers or tests. Read how command instances are represented in the MDCS command chain, then verify that explicit indexes such as TF0 and TF1 work while an omitted index still uses index 0.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.