Help regarding libcroco node-iface structure
Hello everybody,
I am a student selected for GSoC 2011 in inkscape and have undertaken the CSS standardization project. I am currently converting libcroco to be in sync with inkscape's version of libcroco. Now I also have to deal with the tests already provided with libcroco. Test #(1-4) went perfectly, but in test #5 I have to modify the code so that it used the new libcroco function. In that test, initially there was xmlNode and xmlDoc from where we were getting data for instance in one function we had *CRXMLNodePtr a_node = xmlDoc->children*. But libXml has been removed and we do it some other way. This is what I need help in. May anybody please throw some light as to what do we use for initializing parameters for libcroco parsing as in what are the initial values of CRNodeIface and CRXMLNodePtr. Please help.
Hi Sharma,
Not sure if I understand you well, I am working around this piece of code as well to add support for PI instructions (external style sheet).
However I made the choice to create a new file to manage DOM/CSS linkage and I try to get a build.
It used to work and compile nicely in 0.47
Could you point me to the file(s) and line(s) you are looking into ?
-Bruno
Bruno Winck Email: bwinck@...2632... mailto:bwinck@...2633...
Blog: http://www.kneaver.com/blog http://www.kneaver.com/ Kneaver Corp http://www.kneaver.com/
Twitter:http://twitter.com/kneaver SKYPE: skype:brunowinck brunowinck PH: +1 (415) 749 5850 CELL: +1 (415) 513 3160
From: Abhishek Sharma [mailto:sharma.abhishek.it@...400...] Sent: Monday, June 13, 2011 5:05 PM To: inkscape-devel@lists.sourceforge.net Subject: [Inkscape-devel] Help regarding libcroco node-iface structure
Hello everybody,
I am a student selected for GSoC 2011 in inkscape and have undertaken the CSS standardization project. I am currently converting libcroco to be in sync with inkscape's version of libcroco. Now I also have to deal with the tests already provided with libcroco. Test #(1-4) went perfectly, but in test #5 I have to modify the code so that it used the new libcroco function. In that test, initially there was xmlNode and xmlDoc from where we were getting data for instance in one function we had CRXMLNodePtr a_node = xmlDoc->children. But libXml has been removed and we do it some other way. This is what I need help in. May anybody please throw some light as to what do we use for initializing parameters for libcroco parsing as in what are the initial values of CRNodeIface and CRXMLNodePtr. Please help.
2011/6/13 Abhishek Sharma <sharma.abhishek.it@...400...>:
May anybody please throw some light as to what do we use for initializing parameters for libcroco parsing as in what are the initial values of CRNodeIface and CRXMLNodePtr. Please help.
Look at src/xml/croco-node-iface.cpp and src/xml/croco-node-iface.h Regards, Krzysztof
participants (3)
-
Abhishek Sharma
-
Bruno Winck
-
Krzysztof Kosiński