You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by tom john <cy...@yahoo.com> on 2002/04/24 15:40:54 UTC

a Stupid Serialization question

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??

regards,
tom

__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org