One pass or two?

Subject: One pass or two?
From: DPawson@xxxxxxxxxxx
Date: Wed, 25 Aug 1999 12:13:53 +0100
given a DTD with

<!ELEMENT X (...)>
<!ATTLIST a             id      ID      #IMPLIED

Being lazy I haven't added the id's <oops/>


I can use generate-id(.) to obtain an id in an
output element, but that appears on the output
tree, hence I can't reference it on the input tree!


How to make use of an id value in the output tree?

Do I need an identity transform to add the
ID's, then a transform to use the ID?

or can it be done in one pass?

TIA, DaveP



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread