newnick
September 18th, 2003, 11:06 PM
Hi ALL.,
How do I manupulate the value of an attribute in CDATA section at run time.?
Thanks .!
How do I manupulate the value of an attribute in CDATA section at run time.?
Thanks .!
|
Click to See Complete Forum and Search --> : Manupulate Values in CDATA section..! newnick September 18th, 2003, 11:06 PM Hi ALL., How do I manupulate the value of an attribute in CDATA section at run time.? Thanks .! erwin_78 September 25th, 2003, 06:43 AM What is the process? Are you already working with xsl(t) or using XMLDOM or SAX maybe? Why are you using CDATA if you want to modify it's value? Try to get the CDATA value, modify the value, put it back in a CDATA section. That's the only answer i can give you to your generic question, so if you want a real answer give more info so we can help. newnick October 20th, 2003, 08:42 PM Thanks for your reply..and I apologise for this late reply due to some unavoidable reasons.. Here is my sample codes for CDATA section.. <![CDATA[ <profile version="589824" storageformat="1" name="Screen Video/Audio High (CBR)" description=""> <streamconfig majortype="{73647561-0000-0010-8000-00AA00389B71}" streamnumber="1" streamname="Audio Stream" inputname="Audio409" bitrate="32048" bufferwindow="-1" reliabletransport="0" decodercomplexity="" rfc1766langid="en-us" > <wmmediatype subtype="{00000161-0000-0010-8000-00AA00389B71}" bfixedsizesamples="1" btemporalcompression="0" lsamplesize="744"> <waveformatex wFormatTag="353" nChannels="1" nSamplesPerSec="44100" nAvgBytesPerSec="4006" nBlockAlign="744" wBitsPerSample="16" codecdata="008800000F0041170000"/> </wmmediatype> </streamconfig> <streamconfig majortype="{73646976-0000-0010-8000-00AA00389B71}" streamnumber="2" streamname="Video Stream" inputname="Video409" bitrate="250000" bufferwindow="-1" reliabletransport="0" decodercomplexity="" rfc1766langid="en-us" > <videomediaprops maxkeyframespacing="30000000" quality="100"/> <wmmediatype subtype="{3253534D-0000-0010-8000-00AA00389B71}" bfixedsizesamples="0" btemporalcompression="1" lsamplesize="0"> <videoinfoheader dwbitrate="250000" dwbiterrorrate="0" avgtimeperframe="1000000"> <rcsource left="0" top="0" right="0" bottom="0"/> <rctarget left="0" top="0" right="0" bottom="0"/> <bitmapinfoheader biwidth="0" biheight="0" biplanes="1" bibitcount="24" bicompression="MSS2" bisizeimage="0" bixpelspermeter="0" biypelspermeter="0" biclrused="0" biclrimportant="0"/> </videoinfoheader> </wmmediatype> </streamconfig> </profile> ]]> Here I would like to change the value of attribure "bitrate" . As you wrote ,Would you please tell me , how could I change this value in CDATA secion.? Because, I can't parse it.. Thanks again.. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |