[Laszlo-user] XML namespace support

Geoff Crawford geoff at innov8cs.com
Wed Apr 9 09:17:26 PDT 2008


At 11:52 AM 4/9/2008, Greg Denton wrote:
>Can anyone summarize how namespaces work in lz wrt dataset (using
>http) reading, updating (read/write), creating (write)? Is it best not
>to use them at all? I believe they are stripped when the dataset is
>parsed. If so, seems like even though an element can be added to it
>with a namespace in the tag it would result in mixed names in the set.
>Thanks.

The default may be to strip them, but it is under your control.
There is an attribute called nsprefix on a dataset.  If you want
to leave the name spaces intact, just set nsprefix="true" on
all your datasets.  (or better yet, make a custom class with
nsprefix set to true and use your custom class)


=====================================================================
Geoff Crawford                           Phone:      (973) 361 - 4224
Innov8 Computer Solutions, LLC           FAX:        (973) 537 - 6946
711 Route 10 East, Suite 204             Email:    geoff at innov8cs.com
Randolph NJ 07869                        Web: http://www.innov8cs.com

    Progress Blog: http://blogs.ittoolbox.com/database/progress/

              Take a Step Up to StepUp Accounting





More information about the Laszlo-user mailing list