Hi,
I have an XML document that I need to convert to XHTML and I would like to use XSLT. I have attempted transformations using javascript and it works fine.
The problem I have is that I need to transform my XML document into multiple DIVs which I can access individually and place in different locations around my page.
Is it better to use Javascript DOM and parse the XML document into several smaller XML documents and transform them individually or is there an efficient way to manipulate the results from an xslt transformation into XHTML? Are there other, better, possibilities that I've missed?
If someone can point me to a site which contains some of the theory to this or if you know the best practices yourself I would very much appreciate your advice.
Thanks!
I have an XML document that I need to convert to XHTML and I would like to use XSLT. I have attempted transformations using javascript and it works fine.
The problem I have is that I need to transform my XML document into multiple DIVs which I can access individually and place in different locations around my page.
Is it better to use Javascript DOM and parse the XML document into several smaller XML documents and transform them individually or is there an efficient way to manipulate the results from an xslt transformation into XHTML? Are there other, better, possibilities that I've missed?
If someone can point me to a site which contains some of the theory to this or if you know the best practices yourself I would very much appreciate your advice.
Thanks!
Comment