Hi!

I'm storing text with html-parameters (such as <strong>) in an xml-file and tries to select them with dom4j. I can choose between Node.getStringValue() which will give me everything but the <strong> tags but including the text within the <strong>-tag  or Node.getText() which will give me everything except the <strong>-tag and it's content.

Node.asXML() gives me all I want but with the node name as the first element and that is not interestint.

Any ideas?
--
Andreas Andersson
IT-Dept/Developer

Travelstart

Travelstart Nordic AB
Davidshallsgatan 14
211 45 Malmö

www.travelstart.se
www.travelstart.dk
www.travelstart.no
  Tel +46 (0)40-690 38 83
Mob +46 (0)70-757 23 73
Fax +46 (0)40-611 17 78

www.luftgrop.se
www.openjet.com
www.sistaminuten.se
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to