Hi,I have a requirement that I have to generate n html corresponsing to n containers in dcr...That is there is one dcr.. and multiple htmls..I could do this using iw_ostream and iw_iterate But in this process..That is in the generation process itself I have to set the extended attributes to the generated n htmls...These extended attributes are the values that are captured into the textarea in dct...Can someone please how can do i this?Thanks in Advance
My question: is there any way to get those asian characters in html file with external attributes or can we set the charset value of generated html files?
Hers is my head part<iw_comment>Perl Initializations</iw_comment><iw_perl> use TeamSite::Config; my $currentDCRFullPath = iwpt_get_dcr_name(); my $fname = (split/\//, "$currentDCRFullPath")[-1]; my $dcrName = $fname;</iw_perl><iw_perl> #my $iwhome = TeamSite::Config::iwgethome(); open(DCR, "<$currentDCRFullPath") or task_failed("Could not read: '$file' ($!)"); my $xmlString = ''; { local $/; $xmlString = <DCR>; }and this is my code :my $airLine = $rootnode->get_node('Airline');my $airlineNameCN = $airLine->value('AirlineName_CN');my $airlineNameHK = $airLine->value('AirlineName_HK');iw_ostream buffer='airlineNameCN'iw_value name= "$airlineNameCN" iw_ostream buffer='airlineNameHK' file='htdocs/en/TestCMS/htmls/${airlineCode}_airlineName-CN.html'So after setting the file name for htmls file I set the external attributes through the piece of code(attached earlier).But the genereated htmls file are not contaning the unicode characters.Please suggest!Thanks.
Anyways answer to your question is : htmls code are just a content fragment without any html tags.