[great-users] RE: [udm-users] newlines
Matthew J. Emerson
mjemerson at isis.vanderbilt.edu
Tue Dec 7 22:19:33 CST 2004
> I think that's because you use DOM backend, and Xerces removes the
newlines..
I guess I should shift this over to the GReAT mailing list then.
Is there a way to use something besides the DOM backend for a GReAT
transformation, in the interest of preserving the newlines? The
formatting of these attribute values is important in my transformation.
--Matt
-----Original Message-----
From: Attila Vizhanyo
Sent: Tuesday, December 07, 2004 7:45 PM
To: udm-users
Subject: RE: [udm-users] newlines
I think that's because you use DOM backend, and Xerces removes the
newlines..
HTH,
Attila
-----Original Message-----
From: Matthew J. Emerson
Sent: Tuesday, December 07, 2004 17:46
To: udm-users
Subject: [udm-users] newlines
Is there some UDM issue with newlines, where if you set a
string-valued attribute of some object in UDM to a string which includes
a newline, the newline is removed?
Basically, in a GReAT transformation I'm setting an attribute to
std::string("\n") + GetType(Parameter) +
std::string("\t") + std::string(Parameter.name())
Where GetType is a function I wrote which returns a string.
Everything works fine, but when I look at the output model of the
transformation, all of the newlines have been stripped out of that
attribute value.
--Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/great-users/attachments/20041207/b726705c/attachment.htm
More information about the great-users
mailing list