Anybody out there run into problems while outputting a DOM to text using
the @VAR tag. We're seeing it add a lot of extraneous spaces and
carriage returns, causing some of our data to be incorrect. It's
especially bad when we use a cdata inside of an element like this.
<element><![CDATA[Some Cdata Text Goes here]]></element>
but what gets outputted is this.
<element>
<![CDATA[Some Cdata Text Goes here]]>
</element>
Which is bad, because when we go to pull out the value of "element" we
get some extra spaces at the begining which were never intended to be
there. I thought about trying to use Xpath to narrow down to the first
CDATA inside of the "element" but I don't think XPath can tell the
difference between plain old text nodes and CDATA, that processing is
done before the xslt processor gets a hold of it.
We're using @DOMINSERT and @DOMREPLACE to build the document... on
Witango 5.5
/John
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf