code the process of serializing yourself.

tom john wrote:

what do you mean "by hand" ?

--- [EMAIL PROTECTED] wrote:

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]




__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--
Xuemin Guan
Software Engineer
Appresso SpA (www.appresso.com)
Tel:  +81-3-4412-7790(Direct)
       +81-3-4412-7700(Represent)
Email: [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to