[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: What's Good XML Document for XSLT or XQL applications

Subject: RE: What's Good XML Document for XSLT or XQL applications
From: Jarle Stabell <jarle@xxxxxxxxxxx>
Date: Wed, 1 Dec 1999 17:16:59 +0100
jarle stabell
Esfand Shayan  wrote:
> I understand that XSLT and XQL can be used against
> any XML documents.  But, naturally, certain XML document's
> structures lend themselves better than the others to XSLT/XQL
> queries and template processing.
>
> Do you have any guidelines/recommendations/tips/pitfalls
> for XML document design for more effective XSLT/XQL usage?

I'm searching for the same info.

More specifically, is it (much?) easier to handle content models like

<Section>
  <Title>...</Title>
  <Body>blablabla...</Body>
</Section>

than

<Section>
  <Title>...</Title>
  blablabla...
</Section>

(ie the first example disallows mixed content directly inside the Section)

In the first variant, one can select the Title, and process it. Then select 
the Body, and process it.

In the second variant, does one have to change the processing "mindset" a 
bit, by first selecting the Title, and then process the whole content of 
Section (and ignoring the Title during this processing)?
Is this so much more work (or the solution less extensible) that one should 
rather disallow mixed content directly inside <Section>, by forcing it into 
a special subelement?


Cheers,
Jarle Stabell


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.