pimlinders

Valid xhtml w/ dataXML?

Recommended Posts

I'm using the renderChartHTML function found in ..CodePHPIncludesfusioncharts.php to produce my chart, i'm also using dataXML to set the xml data which I generate with php. Because i'm using dataXML the data gets printed in the source code and because of that I can't generate a valid xhtml http://validator.w3.org/check?uri=http%3A%2F%2Fwww.bestsellprice.com%2Fsearch.php%3Fitemnum%3D1%26keyword%3Dharry%2520potter%2520book%25206&charset=%28detect+automatically%29&doctype=Inline&group=0&user-agent=W3C_Validator%2F1.654 What can I do to make my page valid? Thanks ahead of time for the help.

Share this post


Link to post
Share on other sites

...

Greetings,

Even if data gets generated inside the source code, it is part of the <script> block. So, it should not matter. However, make sure that your script block is W3C standard by putting scripts in the form:


 

 

 

 

// --></script>

 
Edited by Guest

Share this post


Link to post
Share on other sites

The PHP function inserts the fusionchart object, it doesnt use javascript the render the page, placing this code block with javascript tags causing the chart not to display.

Edited by Guest

Share this post


Link to post
Share on other sites

...

Greetings,

You would require to make adjustments to our PHP codes to achieve what I had mentioned in previous post. Someone from our team will soon post the updated files here.

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

You are welcome.

We will definitely let you know as soon as we come up with the codes.

Thanks for your patience.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now