Altova Mailing List Archives


Re: Newbie: Only select certain nodes in an xsl:template match

From: Pavel Lepin <p.lepin@-------.--->
To: NULL
Date: 5/31/2007 9:05:00 AM


Joe Kesselman <keshlam-nospam@c...> wrote in
<36-dnfjjsuc3sMPbnZ2dnUVZ_qbinZ2d@c...>:
> Peter Flynn wrote:
>> Having loose, unmarked text floating around inside a
>> rigid structure is A Bad Idea.
> 
>> Mixed Content (intermingled text and elements) is
>> standard in the textual element types of normal text
>> documents (eg within <P> in HTML) but almost always wrong
>> anywhere else. 
>
> Depends on your application. Mixed content is standard
> within document-oriented uses of XML (which includes
> XHTML, Docbook, and many others that model annotated
> text). It is usually -- but not always! -- suboptimal for
> data-oriented uses of XML.

Well, that's precisely what Peter said (using the language
that's probably a bit more understandable for a person new
to XML, such as the OP).

-- 
Pavel Lepin

Disclaimer

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.