![]() |
Suche im XML mit Wildcards
Ich möchte gerne mit msxml eine Suche dieser Art machen:
node.selectsinglenode('custom/field[@name="UR_APN_*"]') dieses geht jedoch nicht. Die Suche nach node.selectsinglenode('custom/field[@name="UR_APN_XYZ"]') liefert jedoch ein Ergebnis. Ist sowas überhaupt möglich, nach einem Teilstring zu suchen? Gruß Alfonso |
Re: Suche im XML mit Wildcards
Hallo Alfonso,
probiere es so:
XML-Code:
Grüße vom marabu
node.selectsinglenode('custom/field[starts-with(@name, "UR_APN_")]')
|
Re: Suche im XML mit Wildcards
Danke, es tut!
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 12:28 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz