I have an xml file that I’m using to to feed the news section on my website and I would like to put "a href" links in them. For example if I want to send visitors to another page I would make part of the text a link. When I try this and read the [...]
Monday, September 13, 2010
For example I have Document object that contains <message> <title>hello</title> <date> <year>2010</year> <month>may</month> <day>12</day> </message> What DOM method can I call to get the value "may" from the Document object?
this is my XML file: <prog> <name>M</name> <child> <name>CM</name> <subchild> <name>SM</name> </subchild> </child> </prog> All i need now, is to fetch the value "SM" alone from the XML either using java or JSP. JSP wud be a better choice. Please someone help me on this !! Thanks and Regards. i want the procedure to be [...]
Hi. Im editing an xml template, and need to align an advert im putting in it, to the centrally I have tried <center>ad</center> but that doesn’t work. Is it <align=’center’> or something simular? Cheers for help.
but i have not much or say just no knoweldge of xml… can you please help me for that. <title>abcde</title> <date>~~~~~~~~</date> <description>special deals</description> <main><![CDATA[<img alt="xxxxxxxxxxxxxx This is kind of thing what i am using.. i want to make special deal underlined. please help Thanks a lot
When I add for eg: <detail> </detail> is a tag in my file. And I want to give the value for it from database. if the value is null i get this tag as <detail/> in xml file. Why is this happening? and will it be a problem while parsing?
Filed in Q&A
|
Also tagged
|
For some reason I seriously cannot figure it out. If you know some site where I can learn how to heavily parse XML files with PHP, then that would be good enough. This isn’t just simple RSS or anything. This is very complex, multi-layered XML. I am using this for something that’s just like Blogger [...]
I am using php version 4.3 I believe and everytime I try and do this <? echo "<username>sam</username>"; ?> it doens’t echo out the xml only the "sam" string, its really irratating, any reason why php is not reading the string formatted as xml?
I have a xml file which is having one element <name>Thrisul</name>. Now I want to display <name> element content "Thrisul" in visual basic TextBox. If possible kindly provide the easy and simple method.
This is the xml: <Account> <Id>1</Id> <FirstName>Ajoy</FirstName> <LastName>Chakraborty</LastName> </Account> convert the above xml to the xml below(with the help of XSLT): <Customer> <CustomerId>1</CustomerId> <Name>Ajoy Chakraborty</Name> </Customer>