Thursday, November 18, 2010
I need to convert a Excell spreadsheet to an XML file. The first row is the header of the spreadsheet, I would like the header to be the Element Nodes of the XML file. I was expecting that Excell should have that option but it doesn’t. My version of Excel is 2007. Short of writing [...]
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 [...]
Thursday, February 18, 2010
I want to use the Copy-of function of xslt for better result. The problem is since both the source elements and target elements are defined in different xsds the namespace prefix will be a barrier to use copy-of function. Is there any way to replace the namespcae prefix of an element and still use a [...]
I am creating a storage DTD for MP3 collection and want to eventually make sure it has the flexibility for additional levels of granularity and easy backward compatible reconstruction. Do you think it makes sense to use a attribute on element approach of just elements? Or better yet when is the best use of attribute?
Wednesday, January 13, 2010
"Element violates enclosing tag’s content model". What does that mean? Please answer briefly.Thanks
I need to read an XML file in java. The XML file has a reference to an xsd in it’s <!DOCTYPE..> element. Something like noNameSpace = "D:\Xsd.xsd" I need to read this reference using Java. How do I do it? SAXParser is the parser im using…
Wednesday, December 30, 2009
I was told that a DTD specifies the data elements and the limitations of each element. Those data elements are later used in the XML document. But I was told that they are doing away with DTDs in favor for XSD. I can’t seem to find much information about XSD. Is XSD and DTD the [...]
Monday, December 28, 2009
We used <res-sharing-scope> element in ejb-jar.xml to specify the shareable or unshareable. How can we do this by using annotations in EJB 3.0? (without using the a deployment descriptor)
Wednesday, December 23, 2009
For example, given the xml file below: <?xml version="1.0" encoding="utf-8"?> <root> <child>abcdefgh</child> <secondchild>ijklm</secondchild> </root> How would I add an element <thirdchild> after <secondchild> with the php xml dom?
Saturday, December 19, 2009
I’m looking into to starting Flex development. I’ve been developing in AS and XML for years now so I’m pretty comfortable with the two. Flex is free and open source. I looked at Flex Builder and it really just seems to add a WYSWYG element/automation to Flex and some more components. Am I missing something [...]