html into xml
Now I describe all the scenario one more times.
I build XML using a jsp page that makes queries to a database.
In the web site , there's a standard page (based on the same xsl stylesheet of course) that dinamically presents user's name , surname , etc. which are token by the DB and passed to xsl as xml (all the site runs, I don't need a lesson about xml and xsl).
A user could also add to this standard page some html code , saving it in the DB , enriching the output with additional information using the font or the color he likes for example.
So, jsp (for every singular user) obtains informations as name, surname ... and the HTML code from db .
It put them in different xml tags
<taghtml> <a href= "http://www.polito.it" class="norm" target="_top">Politecnico di Torino</a> </taghtml>
, and these will be processed using the xsl stylesheet.
But , unfortunately , the string included in the tag <taghtml> is treated as a string , not as HTML code.
So in the HTML page I read <a href=..> ......</a> , but I want to only read the Hyperlink 'Politecnico di Torino'.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format