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

RE: XLink and XForms

  • To: "Jeni Tennison" <jeni@j...>,"J.Pietschmann" <j3322ptm@y...>
  • Subject: RE: XLink and XForms
  • From: "Mark Seaborne" <MSeaborne@o...>
  • Date: Mon, 2 Sep 2002 09:09:44 +0100
  • Cc: <xml-dev@l...>
  • Thread-index: AcJQzZBQ1RiQRic5SLGZzWnnnU5QqwBgv8WA
  • Thread-topic: XLink and XForms

giving xpath to xform


-----Original Message-----
From: Jeni Tennison [mailto:jeni@j...]
Sent: 31 August 2002 09:20
To: J.Pietschmann
Cc: xml-dev@l...
Subject: Re:  XLink and XForms


>But in some situations, I imagine that adding IDs to every element in
>the instance data is impossible. For example, if the instance data
>itself is extended due to repeated structures then those new elements
>would have to have their own identifiers, which won't be known at
>design time. Also, of course, you can't attach IDs to attributes;
>perhaps you had some formulaic way of naming them in mind? Or perhaps
>you were talking about IDs in a more generic way rather than
>specifically XML IDs?

>I feel like I must be missing something...

Thank you Jeni, that's just what I was wondering. 

I am currently using an inhouse XML syntax for building forms that does make use IDs instead of XPath, and it has just this problem of not being able to point to dynamically generated repeating structures. The problem is simply resolved: you cannot generate new elements. The forms I am building are rather complex, running over many screens, and with enough repeated structures for me to get really fed up with having to give every one an ID.

I am sure there must be a clever way of using IDs to get round the problem, but wouldn't you just be giving an XPath like expression a name?

All the best

Mark

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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.