PDA

View Full Version : About XSLT and XML


anandraj
11-22-2002, 10:17 AM
Hi All,
In my Application (VB) I am Generating HTML file from XML using XSLT. Is it possible to do it reverse that is from the HTML back to the XML using XSLT.

Thanks in Advance.
Anandraj.A.

BrainJar
11-22-2002, 03:07 PM
You can if it's XHTML, or at least well-formed HTML - no unclosed tags, unquoted attribute values (like width=100% instead of width="100%") or other errors like overlapped elements (such as <p>abc<b>def</p>ghi</b>). In other words, if the HTML follows the syntax rules of XML, you can use it with XSLT.

XSLT isn't just for creating HTML pages from XML. It's for transforming one XML document to another.

anandraj
11-23-2002, 09:32 AM
Can u please give an example or any site where i can get some example for that.

Thanks in Advance
Anandraj.A.