you may use another tag instead of "title". > <html> > <head> > <script src="jquery-1.2.js"></script> > <script> > $(document).ready ( > function () { > console.info($("title")); > console.info($("not_title")); > console.info($("div title")); > console.info($("div not_title")); > } > ); > </script> > </head> > <body> > <title>a single title tag, can be selected.</title> > <not_title>a single not_title tag, can be selected.</not_title> > <div> > <title>a title tag embeded in div tag, can not be > selected.</title> > </div> > <div> > <not_title>a not_title tag embeded in div tag, can be > selected.</not_title> > </div> > </body> > </html> >
2007/9/17, Guapo <[EMAIL PROTECTED]>: > > > > On Aug 30, 11:21 am, wrecks <[EMAIL PROTECTED]> wrote: > > Hi, > > xml: > > > > <category> > > <id>1</id> > > <title>New Journey</title> > > <sub_categories> > > <sub_category> > > <id>1001</id> > > <title>Transport Bus > Chatswood</title> > > </sub_category> > > <sub_category> > > <id>1002</id> > > <title>Transport Car > Parking</title> > > </sub_category> > > <sub_category> > > <id>1003</id> > > <title>Transport $1000 > subsidy</title> > > </sub_category> > > </sub_categories> > > </category> > > > > -- http://www.goumin.com/ QQ: 443089607 QQ mail: [EMAIL PROTECTED] Skype: huzhenghui Gtalk: huzhengh