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

Re: automatically generate ID attribute for XML element

  • To: John Song <sq02@k...>
  • Subject: Re: automatically generate ID attribute for XML element
  • From: "David RR Webber (XML eBusiness)" <w3c@d...>
  • Date: Tue, 14 Sep 2004 08:04:26 -0400
  • Cc: Xml-dev <xml-dev@l...>
  • User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803

xml element id
John,

You may want to look at the approach jCAM is taking to this using UID
values.

The advantage of doing this in the <ContentReference> section of your
CAM template is that instead of the on-the-wire XML instances all having
to carry this baggage - they are all neatly in the CAM template instead
- that can be referenced off-line as needed.

See http://www.oasis-open.org/committees/cam for more details, tutorial
and open source links.

DW
=================================

John Song wrote:

>hi all:
>     I want to automatically generate an unique ID attribute for each element when generating XML document, is there any tool to support such operation or i must generate them manually?
>	
>
>
>
> Best regards
> John Song
> Dept. of Computer Science, Tsinghua University
> sq02@m...
> sq02@k...
> bergkamp@g...
> 2004-09-13
>
>
>-----------------------------------------------------------------
>The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
>initiative of OASIS <http://www.oasis-open.org>
>
>The list archives are at http://lists.xml.org/archives/xml-dev/
>
>To subscribe or unsubscribe from this list use the subscription
>manager: <http://www.oasis-open.org/mlmanage/index.php>
>
>
>
>  
>



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.