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

Call for feedback : Update extensions

Subject: Call for feedback : Update extensions
From: Eric van der Vlist <vdv@xxxxxxxxxxxx>
Date: Wed, 17 Nov 1999 21:53:51 +0100
update extensions
Hi,

We would like to get your thoughts about the update extensions we are
considering for prototyping our XML Server project
(http://www.egroups.com/group/xml-server/info.html) ...

The basic update statement I suggest (to update the source DOM) is :

  <xslql:update
    match = pattern 
    select = expression>
  <!-- Content: template -->
  </xslql:template> 

where pattern and expression are regular XPath patterns and expressions.

This statement would update all the nodes matching the match pattern
with either the expression of the select statement or the Content
(unlike the xsl:variable statement, the content would be considered as a
node set, not as a result tree fragment).

An example of use could be :

  <xsl:template match="place[normalize-space(text())='russia']">
    <xslql:update match="name[text()='Pete1']">
      <name>Eric</name>
    </xslql:update>
  </xsl:template>

Does it make sense ?

Would you rather suggest an alternative syntax ?

Do you have any comments of advises to give us for its implementation on
top of a XSLT processor ?

Thanks for sharing your thoughts.

Eric

-- 
------------------------------------------------------------------------
Eric van der Vlist                                              Dyomedea

http://www.dyomedea.com                          http://www.ducotede.com
------------------------------------------------------------------------


 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.