Convert HTML to Cisco XML

Hi all.
I've got a new challenge: display information of webpage on a Cisco IP Phone. So I need to convert plain HTML to a kind of plain (cisco xml) text and display it on the phones.
Does anyone knows how to do this?
Any help or sugestions are welcome!!
Thanks in advance

If the HTML is actually XHTML, then you can use an XSL stylesheet to convery XHTML (which is really XML) to XML (Cisco XML that phones understand).
If the web site provides an RSS feed, another option is to use a RSS reader to read RSS and convert it to Cisco XML.

Similar Messages

  • How can convert HTML file into xml file?

    Hi,
    I am receving one HTML file as an input and i want to convert that receiving(html file) into .xml file.Is there any converter (tools)to do this.Pls if any give me the details with regard.
    Regards,
    mahesh.

    Use the HTMLEditorKit to parse the html file.
    this kit is having the callback methods which
    are called wenever the tag appears in the HTML
    stream.

  • Help in creating a Java class to convert Html source to XML

    He Everyone!
    I am using selenium as my automation tool
    I got the htmlsource of the page using selenium.
    Now i have to write a Java class which will convert the data (html source)
    (and output a data structure in standard XML format
    Can anyone give me an example codejava class) in how to acheive this please?
    Please mail to
    [email protected]
    Many thanks

    getafix14 wrote:
    Can anyone give me an example codejava class) in how to acheive this please?
    Please mail to
    [email protected]
    Sorry Charlie, but this isn't a "mail me the codez" forum. Either use Google, or try to share your problem and their solutions in the forum. Besides, a little Googling will find you a solution.

  • Convert "html to xml"

    Does anyone know if HomeSite or Dreamweaver has the ability
    to convert HTML documents to XML documents? This would save alot
    instead of buying another program that does this.
    PG

    does htmltidy do the conversion you need?
    homesite integrates with it, though htmltidy itself is open
    source.

  • Converting HTML to XML

    Does any one know if there is a
    plug-in for HomeSite to convert HTML documents to XML
    documents? This would save alot instead of buying another program
    that does this. Because Adobe just finished a online tutorial on
    how to use AJAX which made it very easy. Now I need to switch my
    HTML docs to XML.
    PG

    In my previous post I have added a singleton tag img with the closing of it.
    Normally the tags which are singleton tags in HTML can beclosed by using /> at the ned of the tag
    Like following:
    <img src="abcd.gif" />
    <input type="button" />
    However, I agree with your point about Quotes. In HTML it is not mandatory to put quotes around a value.
    But if it is possible then you  can make it a habit to put quotes around all the HTML attribute values.
    [This is also a standard practice]

  • How to convert a Muse (HTML) Site in xml code

    Is there a way to export Muse into a xml site or take the HTML files and convert it to xml. Currently, we have a developer taking the hosted site and converting it into a Wordpress site, which we will then have an xml to send to clients (who will embed the site onto their current site). Is there a better way to do this?

    Hi,
    Currently Adobe Muse does not allow to save your site in xml format. I will leave this thread open for any suggestion for converting html into xml.

  • How to convert HTML into XML

    I know I can parse XML into some HTML, but is there any tools or methods existed to parse HTML into XML?
    I have a not well-formed HTML with a lot data fields, including a lot not closed tags. This HTML is generated by some XML(as I can see), but I can't find a way to reform it into a XML, and eventually stored the data into another database.
    Anyone can help me? I appreciate!
    KIB

    As SAm has told you, you can use jTidy, for the purpose, a sample code , which can convert an html file to xml file is given at following url:
    see the documentation as well.
    http://sourceforge.net/docman/display_doc.php?docid=1298&group_id=13153
    gaurav_k1

  • How to convert MS Word to XML or Html

    Now I have to do one job that convert MS Word to XML or Html. Does anyone have better ideas? Would you like share with me?
    Thanks in advance.
    Jackal

    Despite the opinions expressed by others, simply "renaming" the file will NOT "convert" it from a MS Word format into an XML format.
    As far as I am aware, the only way to do this is via the APIs that Microsoft provide. Any other mechanism you find will either be doing this, or they will be "guessing" about the construct of the file.
    Unfortunately, the APIs made available by Microsoft are primarily C++ (COM) components. So, you CAN achieve your desired result by creating a C++ "wrapper" around the MS Office COM components and exposing this wrapper to JNI. The exposure to JNI is actually quite simple, however the C++ wrapper itself (that calls the COMponents) will be a bit more challenging.
    I hope I am wrong, because I need to do the same thing and am dreading having to delve into C++ land!

  • PARSING HTML ELEMNETS IN XML FILE?,Help please very urgent

    I am getting the input in this form
    <ul>
    <li>Strategies</li>
    <li>Planning</li>
    <li>Value</li>
    <li>Total Investment</li>
    </ul>
    I want to convert it into below format so that ContentHandler parse the HTML tages.The HTML elements are dynamic,
    contentHandler.startElement("", "ul", "ul", attrs);
    contentHandler.startElement("", "li", "li", attrs);
    contentHandler.characters(value.toCharArray(), 0, value.length());
    contentHandler.startElement("", "li", "li", attrs);
    contentHandler.startElement("", "li", "li", attrs);
    contentHandler.characters(value.toCharArray(), 0, value.length());
    contentHandler.startElement("", "li", "li", attrs);
    contentHandler.startElement("", "li", "li", attrs);
    contentHandler.characters(value.toCharArray(), 0, value.length());
    contentHandler.startElement("", "li", "li", attrs);
    contentHandler.startElement("", "li", "li", attrs);
    contentHandler.characters(value.toCharArray(), 0, value.length());
    contentHandler.startElement("", "li", "li", attrs);
    contentHandler.endElement("", "ul", "ul");
    Is their any library through which we can convert HTML tags into ContentHandler elements.
    Thanks in Advance
    Thanks
    Lakhi

    Actually i am parsing XML file,but i have HTML elements inside XML elements:
    <section id='2'><header><line>Agenda( Slide2 )</line></header>
    <line>
    <h3>Agenda</h3>
    <ol>
    <li>Overview of ABC Company inc.</li>
    <li>Defining and Measuring Employee Engagement</li>
    <li>Foresight's Survey Methodology</li>
    <li>Online Tools</li>
    <li>Standard and Custom Reporting Capabilities</li>
    <li>Action Planning and Best Practices</li>
    </ol></line></section>
    And i am using Contenthandler interface to parse,
              attrs.addCDATAAttribute("id",""+i);
                   contentHandler.startElement("", "section", "section", attrs);
                   attrs.clear();
                   contentHandler.startElement("", "header", "header", attrs);
                   contentHandler.startElement("", "line", "line", attrs);
                   contentHandler.characters(key.toCharArray(), 0, key.length());
                   contentHandler.endElement("", "line", "line");
                   contentHandler.endElement("", "header", "header");
                   contentHandler.startElement("", "line", "line", attrs);
    /*HERE I need to Generate java instruction for HTML elements as i mailed before.for elements like <li>Overview of ABC Company inc.</li>
    <li>Defining and Measuring Employee Engagement</li>...................</ol>
                   contentHandler.characters(value.toCharArray(), 0, value.length());
                   contentHandler.endElement("", "line", "line");
                   contentHandler.endElement("", "section", "section");

  • How to convert database table into xml file

    Hi.
    How to convert database table into XML file in Oracle HTML DB.
    Please let me know.
    Thanks.

    This not really a specific APEX question... but I search the database forum and found this thread which I think will help
    Exporting Oracle table to XML
    If it does not I suggest looking at the database forum or have a look at this document on using the XML toolkit
    http://download-east.oracle.com/docs/html/B12146_01/c_xml.htm
    Hope this helps
    Chris

  • How to convert HTML files to PDF files.

    Hi,
    I have an urgent requirement explained below:
    I need to convert my HTML files to PDF file from JAVA program.
    Please help me with your suggestions.
    Your help is highly appreciated.
    Thanks &Regards
    Ramavardhan

    Try FOP and XSL style sheets. Although RPWithey is
    correct that there is nothing to magically change a
    viewable HTML file to PDF you can convert a single
    HTML file to XML and use FOP to create a PDF. You will
    need to manage the transition though.
    If you want to change a random HTML file into PDF
    dynamically this would take quite a bit more work. You
    might be able to use JTidy to convert the HTML to XML
    and then FOP to get to PDF but it will likely not be
    formatted the way you wish.That's true - FOP does do that, doesn't it. It must have to make certain assumptions about the appearance of the output. If the output from the stylesheet is an HTML file, you might be able to bypass that bit altogether. I haven't really looked at FOP, although I've read the overview. Check it out at http://xml.apache.org/fop/index.html.
    RObin

  • Convert HTML to PDF or AFP

    As part of the project we have to convert html documents to PDF or AFP. We tried with different tools like HTMLDOC and we are not able to get the perfect matching tool. Any help on finding the best tool for conversion of HTML to PDF or AFP will be appreciated.
    My basic requirement is
    1) The conversion process needs to be automated
    2) the tool has to run on Linux.
    3) Everything in the page (text, image etc) should be extracted in a single file
    Background
    A batch job which runs on Q&R cache servers to run every evening. The job has a list of 1500 symbols which iterates through and does an http get of the Stock Summary page for each ticker in the list. The next step is to launch HTMLDOC or another tool to convert to PDF, APF, or other format.
    Regards,
    Jags.

    I'm not sure it'll help you, but take a look at
    http://xml.apache.org/fop/index.html
    maybe you can go this way
    XHTML->XML->FOP->PDF
    ???

  • Help converting html/xhtml to pdf with bfo pdf lib or other tools?

    Hi,
    I need to convert from xhtml to pdf. I tried parsing it with xerces and crimson but wouldnt work. So the samples coming with big faceless pdf library dosent work. Is there any other method to convert html/xhtml to pdf - any libraries for direct conversion. BFO pdf report generator takes xml as i/p to convert to pdf.
    Thanks for any help

    Look here:
    http://www.adobe.com/sea/products/server/pdfgenerator/

  • Convert JSP to valid XML

    Does anyone know a good (preferrably free) tool to convert a JSP file to valid XML format?
    I've tried Tidy, but this tool can convert HTML to XML or XHTML but not JSP to XML. It will check first
    if my JSP file is valid HTML, which it is not (because there are a lot of JSP tags included, which will
    result in valid HTML, but which are not initially).

    I have not heard of a tool converting a JSP file to a valid XSL file. I remember ourselves manually converting a Cold Fusion site to an xsl format with reference to a xml files.. men, very tedious even with an XML Spy on the help and a tool that automatically creates a labels.xml to store all labels and images and access them via the <xsl:value-of> tag.
    if you can't find a tool that converts a jsp file to an xsl/xml file maybe you can remove all those scriplets and covert a pure html file out of it. or better yet, when a JSP file has been processed, it returns a pure HTML file, right? so you can get that pure HTML source code and convert that to xsl/xml using the tool you have then insert the scriplets and other Jsp tags after the convertion.
    I think that would be a lot easier in absence of a tool. rather than going through the saving of all your labels in an xml file and go through all that <xsl:value-of> tags to access your labels.
    by the way, can i know where i can find that tool that converts an HTML file to an xsl/xml file.
    Cris

  • How to convert html to pdf using acrobat sdk 8.0?

    hi
    I am a beginner of acrobat sdk .
    I want to know How to use acrobat sdk 8.0 to convert html to pdf?
    herere some questions :
    1:How to support navigation inside PDF file that generated using acrobat sdk 8.0? For example: theres catalog in the top of HTML file, customer hopes can navigate inside the PDF file just like navigating inside the HTML file.
    2:How to support operating some controls in the PDF file that generated using acrobat sdk 8.0? For example: therere some drop down list and text box in HTML file, customer hopes can input text in the text box, click the drop down list to see available options in it just like in HTML file.
    Thanks in advance for any help and suggestion.

    Hello,
    I want a system to re-brand my 37 pages PDF for affiliates.
    I want a php dynamic link in the PDF online in order to personalize automatically the PDF for each affiliate. I need to change 2 links each time. The affiliate ID and the Paypal email (payment button) in page 36.
    Can you help?
    Please let me know
    Thank you
    Alex
    PS My system is online and i can give you the url if it helps.

Maybe you are looking for

  • Hi i need help with getting my homework for school

    im in a nine week class that ends tommorw and need help go\etting my program working properly these are the requirements ofr the assignments: Modify the Inventory Program by adding a button to the GUI that allows the user to move to the first item, t

  • Port Forwarding and Static IP addresses

    Netcomm NB1300 router and Airport Express. I want to use and old G3 mac running 10.3.9 as a server for HTTP and FTP. The Mac is currently connected via Airport but I can connect it via Ethernet if necessary. I understand that I will have to activate

  • My messages sometimes take a number of minutes to ...

    Now before I say anything I want to clarify that prior to this I had not updated in over half a year. Infact I updated when I noticed the problem which fixed nothing. The group has six people in it including myself and for some reasojn sometimes when

  • Webcenter spaces ldap configuration

    I have created a group in the Directory Services Manager. How do I configure/add this group in Web Center Spaces environment? Thanks.

  • My baby saliva has reached the trackpad

    My baby decided on salivating just on top of the trackpad on my Macbook and now my right and left 'buttons' don't work (or they work every 8th time I try pressing them). Any ideas on how to fix it?