richiec Posted October 2, 2008 Share Posted October 2, 2008 Hey all im new with xml and i have got a little bit lost.. However what i want to do is make what i believe should be a simple page which shows a simple document tree... header being something like <version="43534545"> then under that it would display the tree style of whats inside it.. like such: <version="43534545"> \/\/\/\/\/\/\/\/\/\/\/would pull the ="" from db <this="1"/> <andthis="2"/> /\/\/\/\/\/\/\/\/\/\/\ </version> any ideas how i would do this? Quote Link to comment https://forums.phpfreaks.com/topic/126822-xml-with-php/ Share on other sites More sharing options...
sKunKbad Posted October 2, 2008 Share Posted October 2, 2008 It would be a lot easier if you just coded it in standard XHTML / HTML. If you want to have all of the data in XML form, your going to have to parse it and put it in HTML output anyways... Quote Link to comment https://forums.phpfreaks.com/topic/126822-xml-with-php/#findComment-655991 Share on other sites More sharing options...
richiec Posted October 2, 2008 Author Share Posted October 2, 2008 needs to be in xml though otherwise i would do that Quote Link to comment https://forums.phpfreaks.com/topic/126822-xml-with-php/#findComment-656003 Share on other sites More sharing options...
sKunKbad Posted October 3, 2008 Share Posted October 3, 2008 I think this: http://www.w3schools.com/xsl/xsl_languages.asp might be what you are looking for. Quote Link to comment https://forums.phpfreaks.com/topic/126822-xml-with-php/#findComment-656451 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.