The PTC Community email address has changed to email@example.com. Learn more.
Although this is s.th. for the xml power-user, it is nevertheless heavily requested from this user group:
It should be possible to do some searching in Editor with XPath-Expressions and these XPath-Expressions should consider the latest XPath standards.
Thank you very much,
Note for PTC: Legacy E8223807
You could implement that functionality yourself with ACL and doc_xpath_nodeset() or oid_xpath_nodeset() functions.
Although I agree it would be benefitial to have that out of the box.
I've done something similar, a custom dialog that lets you enter an XPath expression and it then lists the OIDs of the matching elements. You can click on any OID and jump to that spot in the document.
There are a couple of drawbacks: the nodes that match have to be things that have OIDs, which means you can't search for attribute nodes or text nodes for example. Also, the oid_xpath_* functions are restricted to XPath 1.0 (at least in version 6.x, maybe that has been changed in 7.0). XPath 2.0 support would be better, of course, but XPath 1.0 is still amazingly useful.
HI Andreas, hi Clay,
thanks for the suggestions. From our point of view, PTC should add this feature ootb with the latest XPath-Standards. We think this should be common to an XML editor.
We are archiving your idea as part of a general review. This action is based on the age of your idea and the total number of votes received, as per this announcement.
You can always post a new idea with all the details required in the form.
Thank you for your participation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.