XPath never returning
Having trouble installing Oxygen? Got a bug to report? Post it all here.
XPath never returning
Post by Guest »
Greetings,
I'm trying to use the Xpath box provided on the editor to poke around my XML file(and improve my Xpath skills). I'm working with a large file(3Mb). When I enter in an absolute path like /root/child::node() - this is a node with no children, the Xpath expression doesn't return.
My Cpu hits 100% and I can't figure out how to make oxygen stop its Xpath query.
Any ideas?
thanks,
I'm trying to use the Xpath box provided on the editor to poke around my XML file(and improve my Xpath skills). I'm working with a large file(3Mb). When I enter in an absolute path like /root/child::node() - this is a node with no children, the Xpath expression doesn't return.
My Cpu hits 100% and I can't figure out how to make oxygen stop its Xpath query.
Any ideas?
thanks,
-
- Posts: 6
- Joined: Wed Sep 22, 2004 1:04 am
- Location: Geosynchronus Orbit
- Contact:
Re: XPath never returning
Just attaching my username to this post - thanks.Anonymous wrote:Greetings,
I'm trying to use the Xpath box provided on the editor to poke around my XML file(and improve my Xpath skills). I'm working with a large file(3Mb). When I enter in an absolute path like /root/child::node() - this is a node with no children, the Xpath expression doesn't return.
My Cpu hits 100% and I can't figure out how to make oxygen stop its Xpath query.
Any ideas?
thanks,
-
- Posts: 6
- Joined: Wed Sep 22, 2004 1:04 am
- Location: Geosynchronus Orbit
- Contact:
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi,
I guess also /root/child::node() will return and display the info but that does not mean a node with no children but any node inside your root element and for a 3M file that can be a lot of information that needs to be determined together with the location for each hit and displayed in a list in the results area.
A possible approach will be to test the XPath on a cut down sample document and then apply it on your real document.
Best Regards,
George
I guess also /root/child::node() will return and display the info but that does not mean a node with no children but any node inside your root element and for a 3M file that can be a lot of information that needs to be determined together with the location for each hit and displayed in a list in the results area.
A possible approach will be to test the XPath on a cut down sample document and then apply it on your real document.
Best Regards,
George
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service