cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The PTC Community email address has changed to community-mailer@ptc.com. Learn more.

Searching with XPath in Arbortext Editor

Searching with XPath in Arbortext Editor

Hello!

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,

your WindchillTeam@DATACOPY

Note for PTC: Legacy E8223807

4 Comments
AndreasPinter
1-Newbie

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.

ClayHelberg
17-Peridot

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.

WindchillTeamDA
3-Visitor

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.

Kind regards,

your WindchillTeam@DATACOPY

olivierlp
Community Manager
Status changed to: Archived

Hello,

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.