uchuugaka / aquapath Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/aquapath
Automatically exported from code.google.com/p/aquapath
I checked out AquaPath from the svn repository and compiled it. Although the
version that's
available as a binary download and this distribution both say version 1.1, the
binary version
highlights nodes that match XPath expressions, while the open source version
doesn't. Looking in XSLTBasedDHTMLPrettyPrinter.m, I see that the code to
process matched nodes is commented out.
I tried uncommenting it, and fooling around with it, but I don't know XSLT from
a whole in the wall,
and in addition the referenced TOD_matchedNode style doesn't appear to be
present in the xsl file
included with the project. I assume that you finished this feature and
included it in the binary
version, but just hasn't gotten around to checking it into svn. If there's
anyway you could do this, I'd
really appreciate it.
It's a great program, thanks *very* much for open sourcing it. You're a saint.
Original issue reported on code.google.com by [email protected]
on 16 Jan 2008 at 1:14
From time to time, I need to use XPath variables (e.g. to refer to the same
fairly long path several times in my query, or some other variable-based
reason). It would be nice if it were possible to use them in aquapath when
testing out my query, rather than get unreadable ones taking about twice
the size of the text box.
Original issue reported on code.google.com by [email protected]
on 20 Nov 2009 at 11:59
What steps will reproduce the problem?
1. Paste this XML into AquaPath:
<?xml version="1.0" encoding="UTF-8" ?>
<Document>
<Node>
<Node>
<Node>
<Text>text1</Text>
<Text>text2</Text>
</Node>
</Node>
</Node>
<Node2>
<Node2>
<Node2>
<Text>text3</Text>
<Text>text4</Text>
</Node2>
</Node2>
</Node2>
</Document>
2. Set the context node to /Document/Node/Node/Node
3. Set the XPath to .//text()
4. Evaluate and view the displayed output
What is the expected output? What do you see instead?
The text nodes with the content 'text1' and 'text2' should be highlighted, and
nothing else.
The actual output has all 4 text nodes highlighted.
What version of the product are you using? On what operating system?
AquaPath 1.1 on Max OS X 10.6.6
Please provide any additional information below.
I submitted this bug to Apple in August. http://openradar.appspot.com/8339557
I have added a workaround in my code but it would be difficult to make it work
in the general case, especially if using more than one // operator in a path.
Original issue reported on code.google.com by [email protected]
on 16 Jan 2011 at 9:50
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.