[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: automatically generate ID attribute for XML element
You can do this using XSLT with the generate-id() function. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: John Song [mailto:sq02@k...] > Sent: 14 September 2004 00:45 > To: Xml-dev > Subject: automatically generate ID attribute for XML element > > 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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|