Categories | Question details Back To List | ||
Link error in DHTML I have problem when using this sample of xml data to load to dhtml tab <?xml version="1.0"?> <tabbar hrefmode="iframe"> <row> <tab id="b1" width='130px' selected="1" href="channel.php?id_chan=230&key=100">All Employee List</tab> <tab id="b2" width='100px'>Entry Form</tab> <tab id="b3" width='110px'>Waiting Approval</tab> <tab id="b4" width='110px'>List by Contract</tab> <tab id="b5" width='110px'>List by Segment</tab> <tab id="b6" width='120px'>List by Job Function</tab> <tab id="b7" width='170px'>Expired Employee History</tab> </row> </tabbar> the error said, error in loading xml.... when i change the link for url to channel.php?id_chan=230, it works, but the new link cannot delivery the post method. This case also happen when i use the xlm data with the similar link in the tree menu and the toolbar. how can i fix this? Please help me. thx. Answer posted by Stanislav on Jan 04, 2008 14:54 Problem not in component, but in XML rules. XML deny unescaped & char, the correct text will look as <?xml version="1.0"?> <tabbar hrefmode="iframe"> <row> <tab id="b1" width='130px' selected="1" href="channel.php?id_chan=230&key=100">All Employee List</tab> & will be automatically converted back to & in XML parsing process, so valid link will be used ( same rules need to be used with < and > chars ) |