Alan Feuerbacher wrote:
On 10/25/2014 9:16 PM, Bruce Dubbs wrote:
Simon Geard wrote:
On Sat, 2014-10-25 at 17:58 -0400, Alan Feuerbacher wrote:
I'm wondering if using this tool is the right way to test XML code. Do
you LFS guys have any suggestions?
What do you mean "test" XML code?
About the only thing I know is xmllint.
Ok, I see I have quite a bit more reading to do. :-)
Actually XML is fairly easy. It's just tags and attributes. The
problem is that it's meaningless without a DTD (for example DocBook) and
creating that is definitely non-trivial.
If you have a published DTD, then you can use xml tools like xmllint and
xsltproc to actually do something. There are other ways to parse xml
too. In Qt, they have a class that will parse xml and you can do
something with that.
html is a subset of xml.
xsl on the other hand is just weird.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page