Commit 7c76f0ea by Francois Gygi

removed xlink namespace for href


git-svn-id: http://qboxcode.org/svn/qb/trunk@443 cba15fb0-1239-40c8-b417-11db7ca47a34
parent e053137d
......@@ -3,7 +3,7 @@
// Species.C:
//
////////////////////////////////////////////////////////////////////////////////
// $Id: Species.C,v 1.5 2005-05-31 18:14:54 fgygi Exp $
// $Id: Species.C,v 1.6 2006-05-13 05:41:54 fgygi Exp $
#include "Species.h"
#include "spline.h"
......@@ -554,11 +554,11 @@ double Species::rhopsg( double g )
ostream& operator << ( ostream &os, Species &s )
{
// XML output of species
// If the uri is known, use xlink:href to refer to it
// If the uri is known, use href to refer to it
if ( s.uri() != "" )
{
os <<"<species name=\"" << s.name()
<< "\" xlink:href=\"" << s.uri() << "\"/>" << endl;
<< "\" href=\"" << s.uri() << "\"/>" << endl;
}
else
{
......
......@@ -3,7 +3,7 @@
// SpeciesHandler.C
//
////////////////////////////////////////////////////////////////////////////////
// $Id: SpeciesHandler.C,v 1.2 2004-09-14 22:24:11 fgygi Exp $
// $Id: SpeciesHandler.C,v 1.3 2006-05-13 05:42:18 fgygi Exp $
#if USE_XERCES
......@@ -47,7 +47,7 @@ void SpeciesHandler::startElement(const XMLCh* const uri,
else if ( attrname == "href" )
{
current_href = StrX(attributes.getValue(index)).localForm();
cout << " SpeciesHandler: found xlink in species definition" << endl
cout << " SpeciesHandler: found href in species definition" << endl
<< " name=" << current_name << " href=" << current_href
<< endl;
sp_.uri_ = current_href;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment