
Hi!
I would like to ask two questions:
* In sodipodi:namedview what are the attributes inkscape:cx and inkscape:cy?
* What is the difference between these two Xpath expressions: //g vs. ./g
Thank you in advance, khiraly

On Tue, 10 Jun 2008 21:25:25 +0200 khiraly <khiraly123@...240...> wrote:
Hi!
I would like to ask two questions:
- In sodipodi:namedview what are the attributes inkscape:cx and
inkscape:cy?
I don't know.
- What is the difference between these two Xpath expressions: //g vs. ./g
//g = the set of all 'g' nodes in the document ./g = the set of all 'g' nodes that are direct children of current (.) node. .//g = the set of all 'g' nodes that are descendents of current (.) node (children, grandchildren, etc.)
Cheers -Terry
Thank you in advance, khiraly
Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel

//g = the set of all 'g' nodes in the document
I think "//g" is relative to the current node just like the "./g".
I assume it from this webpage: http://www.w3schools.com/XPath/xpath_syntax.asp
Section "Selecting Nodes"
So Im a bit confused. And since many extensions use the xpath language, I want to understand the syntax.
Could you check your source please? (maybe Im just misunderstanding some really basic stuff)
Best regards, Khiraly
participants (2)
-
khiraly
-
Terry Brown