Saturday, February 24, 2007
XML to SVG through XSLT
I struggled with Assignment 4 getting the xmlns="" to disappear when I used xslt (xsl:attribute) to transform my xml document to SVG. Even though there was a default namespace for the svg element, I needed to add the default namespace to my xslt document. Once I added the default namespace to my xslt document, the xmlns="" disappeared and the svg displayed properly.
Wednesday, February 21, 2007
XSLT
XSLT is a powerful tool to transform XML to another type of document such as html or svg. For Assignment 3, I am using apply-templates and for-each to loop through all elements in a node. I also used XPath to indicate where in the tree I'd like to apply the template. The most important things to remember about XSLT is that apply-templates only applies to the children of that node, not it's grand children and attributes are not the same as children (they're in their own dimension).
Friday, February 9, 2007
Ideas for Final Project
For the final project I'm leaning towards doing a presentation on XML and mobile devices and AJAX. Opera is a web browser for desktops and smart phones. They also have a development kit for mobile devices. Just downloaded the development kit and will start playing with it over the weekend.
Saturday, February 3, 2007
Assignment 1 Complete
I used XMLSpy as my editor for this first assignment. It was very intuitive and easy to use...too bad they don't offer a free student version.
I had to make adjustments in my DTDs in a few places because I did not follow the order of the subelements correctly. DTDs are very particular.
Now, I'm starting the next assignment...stay tuned.
I had to make adjustments in my DTDs in a few places because I did not follow the order of the subelements correctly. DTDs are very particular.
Now, I'm starting the next assignment...stay tuned.
Subscribe to:
Comments (Atom)
