As a newcomer to this field (literally just started two days ago), I have managed to generate tables from an XML file using my XSL file. However, aligning these tables properly has become a bit of a challenge. I initially used the align attribute of <table> which worked perfectly for me, but then I learned that this attribute was deprecated in HTML 4.01 and that CSS should be used instead when working with HTML.
I am currently under the impression that XSLT should be used instead of CSS when dealing with XML files. This leaves me wondering - if align attribute shouldn't be used due to CSS guidelines not applying to XML, what is the recommended approach?
Is it still acceptable to use the align attribute of <table> in XSLT?
In my attempt to write a Java program that serializes files using XML, I discovered Java's built-in Serializable interface, but I chose to pursue this method regardless. Initially, I tried creating my own syntax, only to realize later that I was reinventing the wheel by recreating XML. While this XSLT project may seem like a sidetrack, I believe it could prove useful in presenting XML files in a more user-friendly manner.
My knowledge of HTML is limited, and I lack experience with CSS. These concepts were never relevant to me until now, as I delve into this new territory. Furthermore, submitting a question on this platform is also a first for me.