This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Javascript looping expression in stylesheet
- From: "Zoe Peng" <zoe at allfools dot net>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 8 May 2002 19:06:00 -0400
- Subject: RE: [xsl] Javascript looping expression in stylesheet
- Reply-to: xsl-list at lists dot mulberrytech dot com
Stuart,
Thanks. I'll dig into the beautiful XML.
--Zoe
> Zoe, this is not "very strange". You should understand that this is
> required by XML. That's why I referred you to the XML 1.0
specification.
>
> It might help to see that XML does two main things: it defines a data
> model and a serialization specification. The data model that XML
defines
> is a hierarchical tree of data. XML serialization specifies how data
in
> that data model can be written out to a file or byte stream. Using
the <
> symbol to start XML markup tags and the & symbol to escape special
> characters are artifacts of XML serialization. When we write "& lt ;"
or
> "& amp ;" (without the spaces) we are telling the XML parser that
these
> characters are not part of the XML markup, but literal characters.
> Similarly, when we use a CDATA section it tells the XML parser to not
> try to interpret anything between <![CDATA[ and ]]> as XML. And XSLT
> deals in the world of XML: XSLT is expressed in terms of XML, XSLT
> transforms XML source data, and often XSLT produces XML results (or
HTML
> or text). Hope that makes it seem less strange.
>
> The book "Essential XML" by Don Box, Aaron Skonnard and John Lam,
> Addison-Wesley, 2001, is a good place to become acquainted with the
> wonderful (and sometimes quirky) world of XML.
>
> Cheers,
> Stuart
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list