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

RE: triggers in XML

Subject: RE: triggers in XML
From: "KIENLE, STEVEN C [IT/0200]" <steven.c.kienle@xxxxxxxxxxxxx>
Date: Mon, 21 Oct 2002 08:37:37 -0500
xml triggers
Jaskaran,

Could you be confusing triggers with referential integrity?

XSLT does look a lot like triggers, as the templates are "triggered" when
the element is encountered in the input stream.  But it is not like a
database trigger.  By the time XSLT is processing the XML, the input stream
has already created and the XSLT code is really transforming it.  The
difference is one of timing.

XSLT can be used to check referential integrity.  For example, if you have
an element with an attribute which should exist as an attribute in another
location of the XML stream, XSLT can help you confirm that existence of that
referenced attribute value.  However, this again is a post XML file creation
check.

The point here is: XSLT processing is performed on an already created XML
file.  It can help you transform that file or check that file's format, but
only after the file has been created.

For a more creation time referential integrity support, I would suggest you
look at XML Schemas.  Schemas include the ability to define referential
integrity style information in the data definition language, rather than as
a post processing language.

	Steve

-----Original Message-----
From: karan bhasin [mailto:jusky@xxxxxxxxxxxxx]
Sent: Sunday, October 20, 2002 3:20 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  triggers in XML


 I am working on a project to ensure the database integrity constraints on
XML files. I would like to know the answer to following questions
1) why triggers are an issue in the traditional database systems and
considered to circumvent the database integrity.
2) is there a poosible way to implement triggers for XML files
If anyone has any answers or suggestions for this, please do reply back.
Thanks
Jaskaran



____________________________________________________________
Get 25MB of email storage with Lycos Mail Plus!
Sign up today -- http://www.mail.lycos.com/brandPage.shtml?pageId=plus 

 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.