Ticket #56 (new defect)

Opened 3 years ago

Last modified 2 years ago

XML get/set should use proper XPath

Reported by: chris Owned by: chris
Priority: minor Milestone: 0.6.0
Component: File Version:
Keywords: Cc:

Description

The XML get/set function should use proper XPath. Also, add a small write-up on the wiki about how to use XPath.

Change History

comment:1 Changed 3 years ago by knowknowledge

  • Priority changed from major to minor

comment:2 Changed 2 years ago by knowknowledge

See http://www.w3schools.com/xpath/xpath_syntax.asp if you're unfamiliar with XPath syntax.

I do not believe that there is a way to create new XML nodes based on xpath queries. It might be possible to create our own xpath parser in order to determine where in the query the XML stops existing. There may be an easy way of doing this, but I couldn't find it.

Also, Epiar XML documents do not support node attributes, so the @ syntax is unnecessary.

Note: See TracTickets for help on using tickets.