Skip to content

Tag Archives: lt

How do you add links in XML elements?

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 [...]

How do I access a particular value in an XML document using Java DOM?

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?

how to read the subchilds from a XML file using JSP?

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 [...]

Align to center with XML

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.

I want to use underline tag in my xml document. which tag should i use. i know about html, its <u> tag..?

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

I have a doubt on xml tags?

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?

Who is good at parsing XML files using PHP?

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 [...]

question about php and xml?

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?

To display content of XML element in visual basic form in simple way?

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.

please please convert the following XML to another XML with XSLT:?

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>