[ale] OT: xml to html

Brian Pitts brian at polibyte.com
Thu Sep 9 10:42:05 EDT 2010


On 09/09/2010 10:26 AM, Asher Vilensky wrote:
> Is there an easy and FREE way to convert xml files to html, on either Mac
> OSX or Ubuntu?

What do you mean by xml?

If I have the xml document

<?xml version="1.0" ?>
<persons>
  <person username="JS1">
    <name>John</name>
    <family-name>Smith</family-name>
  </person>
  <person username="MI1">
    <name>Morka</name>
    <family-name>Ismincius</family-name>
  </person>
</persons>

How should that be converted to html? You have to specify how. This is
what XSLT is for.

http://en.wikipedia.org/wiki/XSL_Transformations

-- 
All the best,
Brian Pitts


More information about the Ale mailing list