Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>APIM policy XML NavigatorNew to Visual Studio Code? Get it now.
APIM policy XML Navigator

APIM policy XML Navigator

Hemanth Chintada

|
9 installs
| (1) | Free
Navigate through APIM XML policies using hierarchical paths, validate policy structure, and format XML for better readability.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

APIM Policy XML Navigator

Navigate through Azure API Management policy XML files using hierarchical paths.

🚀 Features

  • 🎯 XML Path Navigation - Jump to any element using paths like policies\\inbound\\validate-jwt[2]
  • ✅ Policy Validation - Check for structural issues and common problems
  • 🎨 XML Formatting - Auto-format XML for better readability

🛠️ Usage

Feature Shortcut Command
Navigate Ctrl+Alt+N Navigate to XML Path
Validate Ctrl+shift+Alt+V Validate APIM Policy
Format Ctrl+shift+Alt+F Format XML Policy

Path Syntax

  • Use \\ to separate hierarchy levels
  • Use [number] for element index (1-based)
  • Example: policies\\inbound\\choose[1]\\when[2]

🧩 Example Paths

Test with the included sample-policy.xml:

policies\\inbound\\validate-jwt                    # JWT authentication
policies\\inbound\\set-variable[2]                 # Timestamp variable  
policies\\inbound\\choose[1]\\when[1]              # POST method condition
policies\\backend\\choose[1]\\when[1]              # Staging backend
policies\\on-error\\choose[1]\\when[2]             # Rate limit error

🚀 Quick Start

  1. Install from VS Code Marketplace
  2. Open an APIM policy XML file
  3. Press Ctrl+Alt+N and enter a path
  4. Press Enter to navigate

Tip: Open Developer Console (F12) for navigation debugging logs.

📝 License

MIT License

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft