Lines Matching defs:temp

491     Inkscape::XML::Node const * temp = NULL;
494 temp = repr->firstChild();
495 if ( temp == NULL ) return NULL;
497 return temp->content();
500 temp = sp_repr_lookup_name ( repr, "cc:Agent", 1 );
501 if ( temp == NULL ) return NULL;
503 temp = sp_repr_lookup_name ( temp, "dc:title", 1 );
504 if ( temp == NULL ) return NULL;
506 temp = temp->firstChild();
507 if ( temp == NULL ) return NULL;
509 return temp->content();
522 temp = sp_repr_lookup_name ( repr, "rdf:Bag", 1 );
523 if ( temp == NULL ) {
525 temp = repr->firstChild();
526 if ( temp == NULL ) return NULL;
528 return temp->content();
531 for ( temp = temp->firstChild() ;
532 temp ;
533 temp = temp->next() ) {
534 if (!strcmp(temp->name(),"rdf:li") &&
535 temp->firstChild()) {
536 const gchar * str = temp->firstChild()->content();
565 Inkscape::XML::Node * temp=NULL;
581 temp = parent->firstChild();
582 if ( temp == NULL ) {
583 temp = xmldoc->createTextNode( text );
584 g_return_val_if_fail (temp != NULL, FALSE);
586 parent->appendChild(temp);
587 Inkscape::GC::release(temp);
592 temp->setContent(text);
597 temp = sp_repr_lookup_name ( parent, "cc:Agent", 1 );
598 if ( temp == NULL ) {
599 temp = xmldoc->createElement ( "cc:Agent" );
600 g_return_val_if_fail (temp != NULL, FALSE);
602 parent->appendChild(temp);
603 Inkscape::GC::release(temp);
605 parent = temp;
607 temp = sp_repr_lookup_name ( parent, "dc:title", 1 );
608 if ( temp == NULL ) {
609 temp = xmldoc->createElement ( "dc:title" );
610 g_return_val_if_fail (temp != NULL, FALSE);
612 parent->appendChild(temp);
613 Inkscape::GC::release(temp);
615 parent = temp;
617 temp = parent->firstChild();
618 if ( temp == NULL ) {
619 temp = xmldoc->createTextNode( text );
620 g_return_val_if_fail (temp != NULL, FALSE);
622 parent->appendChild(temp);
623 Inkscape::GC::release(temp);
628 temp->setContent(text);
641 temp = sp_repr_lookup_name ( parent, "rdf:Bag", 1 );
642 if ( temp == NULL ) {
644 while ( (temp = parent->firstChild()) ) {
645 parent->removeChild(temp);
648 temp = xmldoc->createElement ( "rdf:Bag" );
649 g_return_val_if_fail (temp != NULL, FALSE);
651 parent->appendChild(temp);
652 Inkscape::GC::release(temp);
654 parent = temp;
657 while ( (temp = parent->firstChild()) ) {
658 parent->removeChild(temp);
665 temp = xmldoc->createElement ( "rdf:li" );
666 g_return_val_if_fail (temp != NULL, 0);
668 parent->appendChild(temp);
669 Inkscape::GC::release(temp);
674 temp->appendChild(child);