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

Re: xml too big

Subject: Re: xml too big
From: cagle@xxxxxxxxx (Kurt Cagle)
Date: Wed, 18 Apr 2001 12:21:24 -0700
xml too big
I can think of two ways to give you an approximation of "too big".  At the
level of the content, use string-length(string(.)) to get the number of text
characters that will occur. If it exceeds a certain threshhold (which you'll
have to determine via trial and error), then you can use XSLT to only
retrieve a portion of the contents through the use of predicate tests. You
could also do a count of elements directly (count(.//*) to get an idea about
how many nodes are involved.

-- Kurt
----- Original Message -----
From: "CONTE Silvia (by way of Mulberry Technologies List Owner)"
<Silvia.CONTE@xxxxxxxxxx>
To: "xsl-list" <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, April 18, 2001 5:49 AM
Subject:  xml too big


> Hi!
> I've trasformed some files xml in wml using xsl and xalan.
> I'm working in a wap project so I have to check if the wml files that I
have
> generated are too big for the browser and if it is I have to divide the
file
> in 2 or more files.
> Is it possible do this with xsl?
> How I can do it?
>
> thank you in advance
> Silvia
>
> ________________________
>
> Entra in www.omnitel.it. Ti aspetta un mondo di servizi on line
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 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.