Given how simple the data in attribute and text nodes are, it would only take a few lines of code to serialize them "by hand."
tom john
<[EMAIL PROTECTED] To: [EMAIL PROTECTED]
om> cc:
Subject: How to serialize Text
or Attribute node.
04/26/2002 04:25
AM
Please respond
to xerces-j-user
hi,
i am using 'org.apache.xml.serialize.XMLSerializer' to
serialize xml documents. I can easily serialize xml
document or elements.. but i now i need to serialize
any results i get using xpath statements (XPathAPI).
the results are all nodes but can be a 'text node' or
'attribute node' etc.. as well. i cannot cast these as
an Element.
serializer.serialize((Element)node);
is there a solution??
__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
