Re: generating attributes and content for an element

Michael Kröll <[email protected]>
Newsgroups gmane.comp.lang.perl.xml
Message-ID <[email protected]>
Manuel Souto Pico wrote:
> I don't know a lot about XSL(T) but from the little I know it seems that
> it is used when you need to give a human-friendly shape to an XML
> document (e.g. roughly, show the XML contents as if it was a webpage in
> a navigator).
> 
> However, the conversion that I need to do is from XML to another
> XML-based format (that ISO standard I mentioned earlier, called
> Martif/TBX). The TBX file would then be importable for the tools I use.
> You can see what Martif/TBX looks like here (pages 7-12):
> http://www.tiu.ac.jp/org/openforum2006/slides/P5.pdf
> 
> So do you still think XSLT would be the right thing for me?

Quoting from the first sentence of the XSLT W3C Rec
(http://www.w3.org/TR/xslt):

"This specification defines the syntax and semantics of XSLT, which is a
language for transforming XML documents into other XML documents."

So yes, XSLT should be the right thing for you.

Btw, The Perl-XML FAQ describes how to easily set-up binary modules like
XML::LibXSLT for ActiveState Perl on Win32:
http://perl-xml.sourceforge.net/faq/#win32_ppm

Regards,
Michael

-- 
063A F25E B064 A98F A479  1690 78CD D023 5E2A 6688
http://zis.uibk.ac.at/.m/uibk.ac.at_pgp_pubkey.asc
_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.