I've tried several of the solutions that I've found here, but none seem to work on the model that I'm using. In my example XML, I'm trying to sort the mixed up chapters, into their proper sequence.
Source XML:
<?xml version="1.0" encoding="utf-8"?>
<library>
<book>
<title>A Fascinating Tale</title>
<chapt...
Descritpion of backend: a workspace where users can create "nodes". Each node can be an "info node" or a "choice node". Info nodes just contain information. Choice nodes present a set of choices for the user to select from. The user should be able to easily "link" a choice in a "choice node" to another node.
Desc of frontend: When being...
Say we have an XML document with many book nodes...
When parsing XML with jquery, how can i pass the current node from each() iteration to another function that will do some stuff until something is reached and then go back to the previous function (passing along the current node from this function back to the first function)?
Here som...
Hello, i'm trying to create nodes and taxonomy terms through a custom php script by using the node_save() function.
I'm working on drupal 6.
It's working well (thanks to previous questions on stackoverflow) except for accented letters.
Indeed, when a title or a taxonomy term contain "é", "è" or "à", the sentence is cut before those sp...
EDITED:
using c++ to code.
void circularList::deleteNode(int x)
{
node *current;
node *temp;
current = this->start;
while(current->next != this->start)
{
if(current->next->value == x)
{
temp = current->next;
current->next = current->next->next;
delete current->next...
Hello everyone,
I am using SAX to parse some XML. Let's say I have the following XML document:
<queue>
<element A> 1 </element A>
<element B> 2 </element B>
</queue>
<queue>
<element A> 1 </element A>
<element B> 2 </element B>
</queue>
<queue>
<element A> 1 </element A>
<element B> 2 </element B>
</queue>
And I als...
Hi,
I'm using graphviz (dot) to generate the graph you can see below. The node in the lower left corner (red ellipse) causes annoyance as its edges cross several edges of the adjacent node. Is there a way to restrain node placement to a certain area?
Thanks for your ideas
...
Hello,
cant seem to work out how i grab multiple nids of a node reference field.
$node->field_name[0]['nid'] picks up the node id of the cck node reference field.
however when that cck node reference field has more than one value i get stuck!
my php is abit sketchy atm so working with arrays and loops is being quite difficult!
here ...
hi.
I create a custom import and export, at the moment as an external script (via bootstrap), i plan to create a module in a more generic fashion lateron.
I am building a frontend for nagios and for our host management and nagios configuration btw. Maybe it might become useful for other environments (networkmanagement)
Now i need to ...
This code fills a tree with values based on their depths. But when traversing the tree, I cannot manage to determine the actual number of children without iterating over the parent node. This is necessary because the subleafs are stored in in the node underneath the current one. Which conceptual changes are necessary to store the leafs d...
After reading
http://www.pragprog.com/magazines/2010-03/javascript-its-not-just-for-browsers-any-more
im wondering which is the best IDE to develop server-side javascript applications?
I want a nice development environment with commonjs and node etc. Preferebly windows but anything is interesting really. Is there any IDE with some nifty...
My goal is to take an XML string and parse it with XMLBeans XmlObject and add a few child nodes.
Here's an example document (xmlString),
<?xml version="1.0"?>
<rootNode>
<person>
<emailAddress>[email protected]</emailAddress>
</person>
</rootNode>
Here's the way I'd like the XML document to be after adding some nodes,
<?xml ver...
When using the date and views module, you can specify in views (using row style fields) 'group multiple values'. Which is default on.
If you turn it off, you get multiple nodes each with a date. For example:
- 24th March ------- node1
- 25th March ------- node1
What I'm trying to figure out is: what if you are not using fields but nod...
I am using two content types - test_parent & test_child
In test_child there are two fields, both of type datetime
And in test_parent there are two fields, week_no & 7 node references
I am using node_save to save a new node.
After saving a node of parent type, and then saving the node of child type, i want to update the node it into the ...
I need to find out how to detect if a node contains significant information.
The following example shows what is not considered "significant" information by me:
<node>
<node1> </node1>
</br></br>
<node1>
<node2></br> </node2>
</br></br>
</node1>
<!--
and so on...
I am attempting to make a view that would list thumbnails of my projects, then when clicking them enlarge the photo using lightbox and list out some text and a link to the website.
I am not sure if there is a way I can just add text to the lightbox using views so right now I have it using a field for Lightbox2 iframe: thumb200wh->node p...
Hi
I have a site map in top of my master page , When i run in Firefox the first node is "Skip Navigation Links" What's that ? And How can i get rid of that ? It's noticeable that that's not in IE .
...
how to add hyperlink to a particular node of tree in extjs
can i add hyperlink and how??
...
I'm creating some nodes programmatically, thus:
foreach ($titles as $t) {
$n = new stdClass();
$n->type = 'myType';
$n->uid = 1;
$n->title = $t;
$menu = array();
$menu['link_title'] = $t;
$menu['menu_name'] = 'primary-links';
// this attempt at placing the menu item in a particular place in the
// me...
Is there a way in CSS to set the width of any element to equal the width of its parentNode? I tried 'inherit' - sounds logic - but it didn't work.
Thanks in advance.
...