|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Selecting and "id"
Jeffrey Langdon wrote: > <AAA> > <BBB id = "11" >B1 </BBB> > <BBB id = "22" >B2 </BBB> > <BBB id = "33" >B3 </BBB> > </AAA> > > > "This name may not begin with the '3' character:" > > I want to talk to/read all elements that have an id of 33. In this case, of > course there is only one. IDs in XML must start with letter or underscore (and several other characters, see XML spec.). In order to use id() function, you must attach DTD to your XML file and define attribute id as attribute of type ID. If you do not want use DTD, you can use key() function instead of id(). ----------------------------------------------------------------- Jirka Kosek e-mail: jirka@xxxxxxxx http://www.kosek.cz XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








