[
Lists Home |
Date Index |
Thread Index
]
- To: John Song <sq02@keg.cs.tsinghua.edu.cn>
- Subject: Re: [xml-dev] automatically generate ID attribute for XML element
- From: "David RR Webber (XML eBusiness)" <w3c@drrw.info>
- Date: Tue, 14 Sep 2004 08:04:26 -0400
- Cc: Xml-dev <xml-dev@lists.xml.org>
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803
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@mails.tsinghua.edu.cn
> sq02@keg.cs.tsinghua.edu.cn
> bergkamp@gmail.com
> 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>
>
>
>
>
>
|